Skip to content
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: irch for rch and evt packages #2145

Closed
jdhughes-usgs opened this issue Apr 10, 2024 · 1 comment
Closed

bug: irch for rch and evt packages #2145

jdhughes-usgs opened this issue Apr 10, 2024 · 1 comment
Assignees
Labels
Milestone

Comments

@jdhughes-usgs
Copy link
Contributor

Describe the bug
flopy cannot load existing models https://github.com/MODFLOW-USGS/modflow6-testmodels/tree/master/mf6/test001h_evt_array4 and
https://github.com/MODFLOW-USGS/modflow6-testmodels/tree/master/mf6/test001h_rch_array4. This is a recent issue that crept in sometime recently.

To Reproduce
Steps to reproduce the behavior:

  1. Download the two models
  2. Load with sim = flopy.mf6.MFSimulation.load(sim_ws=".")
  3. Results in error MFDataException: An error occurred in data element "irch" model "gwf6" package "rcha". The error occurred while setting data in the "_set_data" method.

Expected behavior
Load the models without an error.

Screenshots
None.

Desktop (please complete the following information):

  • OS: MacOS, Linux, Windows
jdhughes-usgs pushed a commit that referenced this issue Apr 12, 2024
Empty transient array block were not being read or written correctly.

Co-authored-by: scottrp <45947939+scottrp@users.noreply.github.com>
@wpbonelli wpbonelli added this to the 3.6.1 milestone Apr 24, 2024
@wpbonelli
Copy link
Member

confirmed models now load without error after #2146

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants