-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: ModflowUtlobs only loads last "continuous" block #2058
Comments
@dannbuckley, I have merged a fix for this problem into the develop branch. |
Hey @spaulins-usgs, I can confirm that the data is there: >>> model.get_package("obs_1").continuous.get_data()
The class summary still looks like it does in the original comment: >>> model.get_package("obs_1")
|
@dannbuckley, yes the class summary is being abbreviated when there are multiple blocks of the same type. It also gets abbreviated for stress period data. I will discuss with the rest of the flopy team the best way to display the class summary in these cases. Note that it is probably best to abbreviate the class summary in at least some cases since there can be 100s or even 1000s of stress periods in some models. |
@spaulins-usgs That makes sense. In that case, then, it might be easier to print the number of instances of the block within the package instead of printing all the data (e.g., "continuous: 100 blocks" or similar). Also, printing something like "only last block shown" or similar might help. |
Describe the bug
The
flopy.mf6.modflow.mfutlobs.ModflowUtlobs
class does not load both of thecontinuous
blocks from theex-gwf-advtidal.obs
file within theex-gwf-advtidal
MODFLOW 6 example. This is what the loaded class currently looks like:Expected behavior
The class should have both
continuous
blocks from the observation file:Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: