-
Notifications
You must be signed in to change notification settings - Fork 320
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
Discrepancy in treatment of observation variable irefsp
#586
Comments
I think we want zero-based for |
That sounds good Joe, I'll probably make a submission to address the zero-based index thing and then think about the Head observation object idea when I get some time. Also, is there any appetite for a |
I think we would also want a load method. |
The idea of a |
As a matter of fact, here's a link to the main commit in my repo that implements the changes. Note that these changes were made prior to the commits we merged today that finalized the load functionality so the actual code will have to be updated to reflect those changes. |
Hey guys, sorry to have missed the deadline for the recent release of flopy, but I wanted to point out that the variable
irefsp
is treated as a zero-indexed variable when writing to file in theModflowHob
package (though not explicitly so-stated in the docstrings) and as a one-indexed variable in theModflowFlwob
package. I'd be more than happy to submit a pull request, but wanted to verify that this was not intended behavior. I'd also clarify this in the docstring to explicitly state whether to the user should supply a zero-indexed value or one-indexed value, depending on which is preferred.flopy/flopy/modflow/mfhob.py
Line 271 in e4d9397
flopy/flopy/modflow/mfflwob.py
Lines 277 to 280 in e4d9397
The text was updated successfully, but these errors were encountered: