HELP HELP reading mf6 budget file for a transient simulation returning error of the invalid imeth code 1085209134 #2105
-
Recently I'm encountering a really weird situation. The model runs fine in steady state and the .cbb file can be read and analyzed without any problem. HOWEVER, when I try to use the flopy.util.binaryfile to read my .cbb file, It returns me the following error. I have no clue why the cbb file I have is with such a weird long number of imeth code. Especially all the rest of the model results just looks perfectly fine and it only happens in this specific case. Since I also used this same set of script for other case studies and it never returns me this weird error. gonna be really appreciate if anyone could give some thoughts on how can I fix it. `--------------------------------------------------------------------------- File ~/miniconda3/envs/py39/lib/python3.9/site-packages/flopy/utils/binaryfile.py:1037, in CellBudgetFile.init(self, filename, precision, verbose, **kwargs) File ~/miniconda3/envs/py39/lib/python3.9/site-packages/flopy/utils/binaryfile.py:1133, in CellBudgetFile._set_precision(self, precision) File ~/miniconda3/envs/py39/lib/python3.9/site-packages/flopy/utils/binaryfile.py:1274, in CellBudgetFile._build_index(self) File ~/miniconda3/envs/py39/lib/python3.9/site-packages/flopy/utils/binaryfile.py:1338, in CellBudgetFile._skip_record(self, header) Exception: invalid method code 1085209134` |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Maybe try this:
|
Beta Was this translation helpful? Give feedback.
Similar to the previous suggestion, maybe try this: