MODFLOW-USGS / modelviewer-mf6

Model Viewer for MODFLOW 6
https://modelviewer-mf6.readthedocs.io/
Other
7 stars 2 forks source link

.mvmf6 file fails to load when not in the same directory as .nam file #53

Closed scharlton2 closed 2 years ago

scharlton2 commented 2 years ago

See issue-51:

When loading issue-51.mvmf6 with the following layout and contents:

D:.
│   issue-51.mvmf6
└───r1
        ...
        greenport1.bhd
        greenport1.cbc
        ...
        greenport1.dis.grb
        ...
        greenport1.oc
        ...

issue-51.mvmf6:

Application name = Model Viewer
Version = MF6
Title = 
Model name = Modflow 6
File code count = 1
File code 1 = .\r1\greenport1.nam
Data type count = 1
...

Yields the following message:

"Error: Unable to open the oc file."