flopy icon indicating copy to clipboard operation
flopy copied to clipboard

MFSFR2 assign_layers hardcoded output path

Open wpbonelli opened this issue 3 years ago • 0 comments

Currently ModflowSfr2.assign_layers() writes to sfr_botm_conflicts.chk in the current working directory rather than in the model workspace:

https://github.com/modflowpy/flopy/blob/1757470fe0dd28ed6c68c95950de877bd0b4a94b/flopy/modflow/mfsfr2.py#L1133

The check() method on the same class writes to the model workspace by comparison:

https://github.com/modflowpy/flopy/blob/1757470fe0dd28ed6c68c95950de877bd0b4a94b/flopy/modflow/mfsfr2.py#L1096

Should assign_layers do so as well?

wpbonelli avatar Jul 27 '22 14:07 wpbonelli