Skip to content

fix(usgsprograms): update SEAWAT url, misc fixes - #377

Merged
wpbonelli merged 4 commits into
modflowpy:developfrom
wpbonelli:fix-seawat-url
Nov 25, 2026
Merged

wpbonelli merged 4 commits into
modflowpy:developfrom
wpbonelli:fix-seawat-url

Conversation

@wpbonelli

@wpbonelli wpbonelli commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

The SEAWAT source zip moved.. The zip is now under /water-resources/legacy-software/SEAWAT/. The other water.usgs.gov URLs in the catalog still seem OK but they're dropping like flies

The new zip wraps the distribution zip in an outer one with the docs, so extract a nested zip named for the program's directory when the directory is missing after download.

Also fix the mp7 tests. The MODFLOW 6 examples use OUTER_HCLOSE and INNER_HCLOSE, which mf6 6.8.0 removed, so rewrite them to OUTER_DVCLOSE and INNER_DVCLOSE before running. This can go once a fixed mp7 release is out.

water.usgs.gov/water-resources/software/SEAWAT now redirects to an HTML
page, so the download is not a zip file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.75000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 81.054%. Comparing base (1366197) to head (942deed).
⚠️ Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
pymake/pymake.py 93.750% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##           develop      #377       +/-   ##
=============================================
+ Coverage   80.393%   81.054%   +0.660%     
=============================================
  Files           20        20               
  Lines         3305      3320       +15     
=============================================
+ Hits          2657      2691       +34     
+ Misses         648       629       -19     
Files with missing lines Coverage Δ
pymake/pymake.py 76.294% <93.750%> (+1.862%) ⬆️

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The SEAWAT download at the legacy-software location wraps
swt_v4_00_05.zip, with documentation, in an outer zip. If the target's
directory is missing after download, extract a nested zip with its name
and remove the rest of the outer archive.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wpbonelli wpbonelli changed the title fix(usgsprograms): update SEAWAT url to the legacy-software location fix(usgsprograms): update SEAWAT url Nov 25, 2026
wpbonelli and others added 2 commits November 25, 2026 04:19
The MODPATH 7 examples use OUTER_HCLOSE and INNER_HCLOSE, which
MODFLOW 6.8.0 removed in favor of OUTER_DVCLOSE and INNER_DVCLOSE, so
mf6 fails to read their .ims files. Rewrite the keywords before running
the examples.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wpbonelli wpbonelli changed the title fix(usgsprograms): update SEAWAT url fix(usgsprograms): update SEAWAT url, misc fixes Nov 25, 2026
wpbonelli added a commit to MODFLOW-ORG/modpath-v7 that referenced this pull request Nov 25, 2026
The ex01 and ex02 MODFLOW 6 examples use OUTER_HCLOSE and INNER_HCLOSE, which mf6.8.0 removed. Replace them with OUTER_DVCLOSE and INNER_DVCLOSE, as ex04 already does

Related: modflowpy/pymake#377. That workaround will be unnecessary after the next mp7 release.
@wpbonelli
wpbonelli merged commit bb8e5e5 into modflowpy:develop Nov 25, 2026
16 checks passed
@wpbonelli
wpbonelli deleted the fix-seawat-url branch November 25, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant