Repository navigation
fix(uzf1): argument names - #2901
Merged
emorway-usgs merged 1 commit intoNov 25, 2026
Merged
Conversation
emorway-usgs
self-requested a review
November 25, 2026 16:07
emorway-usgs
approved these changes
Nov 25, 2026
emorway-usgs
left a comment
Contributor
There was a problem hiding this comment.
thanks for the cleanup
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2901 +/- ##
===========================================
+ Coverage 55.5% 73.8% +18.3%
===========================================
Files 644 659 +15
Lines 124135 132487 +8352
===========================================
+ Hits 68947 97874 +28927
+ Misses 55188 34613 -20575
🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
emorway-usgs
force-pushed
the
docs/uzf-and-netcdf-param-names
branch
from
November 25, 2026 18:20
f923888 to
7f03096
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two docstrings name arguments their functions do not take:
ModflowUzf1documentsuzgage; the argument isuzgag. Its other 35 entries all match the signature exactly, so this looks like a straye.NetCdf.initialize_group(self, group, dimensions, attributes, dimension_data)documentsname, which describes thegroupargument ("name of the netcdf group"), anddimension_shape, which has no counterpart at all —dimension_datais documented separately on its own line.groupwas the only real argument left undocumented, so I renamednameto it and removeddimension_shape.Neither takes
**kwargs, so these raiseTypeErrorrather than being ignored.Three things I deliberately left alone, since the right repair is yours to choose rather than mine to guess:
ModflowUzf1also documentsrow_col_iftunit_iuzoptanduzfbud_ext, neither of which is an argument. The second one's own text says it "appears to be used for" naming budget files, so I did not want to delete it on a hunch.MFSimulationdocumentstdis6,models,exchanges,mxiterandsolutiongroup— those read like simulation name-file keywords rather than constructor arguments.MfUsgDpfdocuments six names (iuzontabim,alphaim,betaim,srim,brookim,bpim) whose constructor arguments, attribute assignments and loader lines are all commented out just below. Removing the docs there might be the opposite of what you want.ruff checkandruff format --checkon both files report the same single pre-existing finding before and after.