Extract water budget using binaryfile #2047
-
Beta Was this translation helpful? Give feedback.
Answered by
langevin-usgs
Dec 19, 2023
Replies: 1 comment 1 reply
-
It's true that the multi-package support from CellBudgetFile can be tricky. But the get_data() method with text should give you back all the records for a specific package type. This example is adapted from the front page of the flopy site to use two constant head packages.
The get_data(text="chd") method returns returns the following, which you can see is the constant head flows for package chd1 and package chd2 provided as two separate entries in the list.
I verified that this also works for multiple ghb packages. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hjia1005
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's true that the multi-package support from CellBudgetFile can be tricky. But the get_data() method with text should give you back all the records for a specific package type.
This example is adapted from the front page of the flopy site to use two constant head packages.