-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Description
This is possibly related to #1115.
I understand that external files within packages are expected (by modflow6) to be pathed relative to the simulation directory. I think flopy is trying to handle this where models are in subdirectories (or potentially just different directories to the simulation directory). The strategy seems to be that flopy prepends the model relaitve path to the file entry within the package.
For the most part this seems to work . However, there are a couple of places where things seem to get confused:
- Observation Files are not prepended with the relative path -- this isn't to much of a biggy as if using the obs.initialize() method one can pass the full rel path explicitly to the
filenamearg. - External files are (re)prepended with the model relative path when loading the simulation back into flopy -- for e.g. the path to delc which in the model file is
model_d/delc.txtbecomesmodel_d/model_d/delc.txtin the m.dis.delc file entry after loading the sim and model back into flopy. Not sure if there is a work around that doesn't require package by package file by file stripping of the additional rel path.
urgh paths!
Metadata
Metadata
Assignees
Labels
No labels