Skip to content

Commit 7cb7958

Browse files
authored
Merge pull request #2320 from MODFLOW-ORG/v6.6.2
Release 6.6.2
2 parents 056cf5c + 69f9e65 commit 7cb7958

File tree

164 files changed

+11353
-10719
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+11353
-10719
lines changed

.build_rtd_docs/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ PROJECT_NAME = "MODFLOW 6"
3737
# could be handy for archiving the generated documentation or if some version
3838
# control system is used.
3939

40-
PROJECT_NUMBER = "version 6.6.1"
40+
PROJECT_NUMBER = "version 6.6.2"
4141

4242
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4343
# for a project that appears at the top of each page and should give viewer a

.build_rtd_docs/MAINPAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
The documentation here is extracted from the source code by [doxygen](https://www.doxygen.nl/index.html).
44

5-
The source code repository is hosted [on GitHub](https://github.com/MODFLOW-USGS/modflow6).
5+
The source code repository is hosted [on GitHub](https://github.com/MODFLOW-ORG/modflow6).
66

77
This documentation is intended for MODFLOW 6 contributors and users of the MODFLOW 6 library/API. MODFLOW 6 usage documentation can be found [on ReadTheDocs](https://modflow6.readthedocs.io/en/latest/).

.build_rtd_docs/conf.py

Lines changed: 36 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -44,51 +44,64 @@
4444
# -- import version from doc/version.py -------------------------------------
4545
from version import __version__
4646

47-
# -- copy run-time comparison markdown --------------------------------------
48-
print("Copy the run-time comparison table")
4947
dstdir = "_mf6run"
50-
fpth = "run-time-comparison.md"
51-
src = os.path.join("..", "distribution", fpth)
52-
dst = os.path.join(dstdir, fpth)
53-
# clean up an existing _mf6run directory
5448
if os.path.isdir(dstdir):
5549
shutil.rmtree(dstdir)
56-
# make the _mf6run directory
5750
os.makedirs(dstdir)
58-
# copy the file
51+
52+
print(f"Copy run-time comparison table to {dstdir}")
53+
fpth = "run-time-comparison.md"
54+
src = os.path.join("..", "distribution", fpth)
55+
dst = os.path.join(dstdir, fpth)
5956
shutil.copy(src, dst)
6057

61-
# -- copy developer docs
6258
dstdir = "_dev"
63-
fpth = "DEVELOPER.md"
64-
src = os.path.join("..", fpth)
65-
dst = os.path.join(dstdir, fpth.lower())
66-
# clean up an existing _mf6run directory
6759
if os.path.isdir(dstdir):
6860
shutil.rmtree(dstdir)
69-
# make the directory
7061
os.makedirs(dstdir)
71-
# copy the file
62+
63+
print(f"Copy developer docs to {dstdir}")
64+
fpth = "DEVELOPER.md"
65+
src = os.path.join("..", fpth)
66+
dst = os.path.join(dstdir, fpth)
7267
shutil.copy(src, dst)
7368

74-
# -- copy contributor docs
7569
fpth = "CONTRIBUTING.md"
7670
src = os.path.join("..", fpth)
77-
dst = os.path.join(dstdir, fpth.lower())
71+
dst = os.path.join(dstdir, fpth)
7872
shutil.copy(src, dst)
7973

80-
# -- copy style guide
8174
fpth = "styleguide.md"
8275
src = os.path.join(fpth)
8376
dst = os.path.join(dstdir, fpth)
8477
shutil.copy(src, dst)
8578

86-
# -- copy DFN spec
8779
fpth = "readme.md"
8880
src = os.path.join("..", "doc", "mf6io", "mf6ivar", fpth)
8981
dst = os.path.join(dstdir, "dfn.md")
9082
shutil.copy(src, dst)
9183

84+
fpth = "EXTENDED.md"
85+
src = os.path.join("..", fpth)
86+
dst = os.path.join(dstdir, fpth)
87+
shutil.copy(src, dst)
88+
89+
fpth = "CODE_OF_CONDUCT.md"
90+
src = os.path.join("..", fpth)
91+
dst = os.path.join(dstdir, fpth)
92+
shutil.copy(src, dst)
93+
94+
dstdir = "_migration"
95+
if os.path.isdir(dstdir):
96+
shutil.rmtree(dstdir)
97+
os.makedirs(dstdir)
98+
99+
print(f"Copy migration guides to {dstdir}")
100+
fpth = "mf6_6_0_prt_migration_guide.md"
101+
src = os.path.join(fpth)
102+
dst = os.path.join(dstdir, fpth)
103+
shutil.move(src, dst)
104+
92105
# -- build the deprecations table --------------------------------------------
93106
print("Build the deprecations markdown table")
94107
pth = os.path.join("..", "doc", "mf6io", "mf6ivar")
@@ -168,11 +181,13 @@
168181
"nbsphinx_link",
169182
"myst_parser",
170183
"sphinx_markdown_tables",
184+
"sphinxcontrib.mermaid",
171185
]
172186

187+
myst_fence_as_directive = ["mermaid"]
188+
173189
# # Tell sphinx what the pygments highlight language should be.
174190
# highlight_language = 'fortran'
175-
176191
source_suffix = {".rst": "restructuredtext", ".md": "markdown"}
177192

178193
# Add any paths that contain templates here, relative to this directory.
@@ -203,7 +218,7 @@
203218
]
204219

205220
# html_theme_options = {
206-
# "github_url": "https://github.com/MODFLOW-USGS/modflow6",
221+
# "github_url": "https://github.com/MODFLOW-ORG/modflow6",
207222
# "use_edit_page_button": False
208223
# }
209224

.build_rtd_docs/dev.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
Developer Guide
22
---------------
33

4-
This section includes developer instructions and conventions.
4+
This section contains developer documentation, including contributor conventions, instructions for common tasks, internal specifications, and more.
55

66
.. toctree::
77
:maxdepth: 1
88
:glob:
99

10-
_dev/contributing.md
11-
_dev/developer.md
10+
_dev/CODE_OF_CONDUCT.md
11+
_dev/CONTRIBUTING.md
12+
_dev/DEVELOPER.md
13+
_dev/EXTENDED.md
1214
_dev/styleguide.md
1315
_dev/dfn.md

.build_rtd_docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Contents:
1111
.. toctree::
1212
:maxdepth: 2
1313

14-
API Reference <https://modflow-usgs.github.io/modflow6/>
14+
API Reference <https://MODFLOW-ORG.github.io/modflow6/>
1515
_mf6run/run-time-comparison.md
1616
_mf6run/deprecations.md
1717
mf6io
1818
dev
19-
19+
migration

.build_rtd_docs/mf6io.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Input Guide
22
-----------
33

44
The latest version of the complete MODFLOW 6 input/output guide can be found
5-
`here <https://github.com/MODFLOW-USGS/modflow6-nightly-build/releases/>`_.
5+
`here <https://github.com/MODFLOW-ORG/modflow6-nightly-build/releases/>`_.
66
This section enumerates and describes MODFLOW 6 input files.
77

88
Simulation

.build_rtd_docs/migration.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Migration Guides
2+
----------------
3+
4+
This section includes version-specific migration guides for particular models and/or capabilities.
5+
6+
.. toctree::
7+
:maxdepth: 1
8+
:glob:
9+
10+
_migration/mf6_6_0_prt_migration_guide

.build_rtd_docs/requirements.rtd.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ numpy
22
bmipy
33
sphinx>=4
44
sphinx_markdown_tables
5+
sphinxcontrib-mermaid
56
nbsphinx
67
nbsphinx_link
78
ipython

.build_rtd_docs/styleguide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Fortran Style Guide
1+
# MODFLOW 6 Fortran style guide
22

33
The goal of this guide is to provide a standard for MODFLOW 6 contributors to follow, in pursuit of consistent, readable, well-organized, and unsurprising source code.
44

.doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
# Settings for GitHub actions integration
8383
if on_rtd:
8484
extensions.append("rtds_action")
85-
rtds_action_github_repo = "MODFLOW-USGS/modflow6"
85+
rtds_action_github_repo = "MODFLOW-ORG/modflow6"
8686
rtds_action_path = "."
8787
rtds_action_artifact_prefix = "rtd-files-for-"
8888
rtds_action_github_token = os.environ.get("GITHUB_TOKEN", None)

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Checklist of items for pull request
1010
- [ ] Formatted new and modified Fortran source files with `fprettify`
1111
- [ ] Added doxygen comments to new and modified procedures
1212
- [ ] Updated meson files, makefiles, and Visual Studio project files for new source files
13-
- [ ] Updated [definition files](/MODFLOW-USGS/modflow6/tree/develop/doc/mf6io/mf6ivar)
14-
- [ ] Updated [develop.tex](/MODFLOW-USGS/modflow6/doc/ReleaseNotes/develop.tex) with a plain-language description of the bug fix, change, feature; required for changes that may affect users
15-
- [ ] Updated [input and output guide](/MODFLOW-USGS/modflow6/doc/mf6io)
13+
- [ ] Updated [definition files](/MODFLOW-ORG/modflow6/tree/develop/doc/mf6io/mf6ivar)
14+
- [ ] Updated [develop.toml](/MODFLOW-ORG/modflow6/doc/ReleaseNotes/develop.toml) with a plain-language description of the bug fix, change, feature; required for changes that may affect users
15+
- [ ] Updated [input and output guide](/MODFLOW-ORG/modflow6/doc/mf6io)
1616
- [ ] Removed checklist items not relevant to this pull request
1717

18-
For additional information see [instructions for contributing](/MODFLOW-USGS/modflow6/.github/CONTRIBUTING.md) and [instructions for developing](/MODFLOW-USGS/modflow6/.github/DEVELOPER.md).
18+
For additional information see [instructions for contributing](/MODFLOW-ORG/modflow6/.github/CONTRIBUTING.md) and [instructions for developing](/MODFLOW-ORG/modflow6/.github/DEVELOPER.md).

.github/actions/build-netcdf-win/action.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ runs:
1414
cmakeVersion: latest
1515
ninjaVersion: latest
1616

17-
- name: Setup 7-zip
18-
uses: milliewalky/setup-7-zip@v1
19-
2017
- name: Download NetCDF-C
2118
shell: bash
2219
run: |
@@ -40,3 +37,10 @@ runs:
4037
shell: cmd
4138
run: |
4239
"%ONEAPI_ROOT%\setvars.bat" intel64 vs2022 && "%TEMP%\compile_netcdf.bat"
40+
41+
- name: Update path for NetCDF libs
42+
shell: bash
43+
run: |
44+
echo "$GITHUB_WORKSPACE/netcdf/netCDF4.9.2-NC4-64/bin" >> $GITHUB_PATH
45+
echo "$GITHUB_WORKSPACE/netcdf/netCDF4.9.2-NC4-64/lib" >> $GITHUB_PATH
46+
echo "$GITHUB_WORKSPACE/netcdf/netcdf-fortran-4.6.1/build/fortran" >> $GITHUB_PATH

.github/actions/test-extended/action.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,11 @@ runs:
1010
version: 13
1111

1212
- name: Checkout PETSc
13-
if: runner.os == 'Linux'
1413
uses: actions/checkout@v4
1514
with:
1615
repository: petsc/petsc
1716
path: petsc
18-
ref: release
19-
20-
- name: Checkout PETSc
21-
if: runner.os == 'macOS'
22-
uses: actions/checkout@v4
23-
with:
24-
repository: petsc/petsc
25-
path: petsc
26-
ref: v3.22.1
17+
ref: v3.22.5
2718

2819
- name: Configure environment
2920
shell: bash
@@ -57,7 +48,7 @@ runs:
5748
run: |
5849
brew install netcdf-fortran
5950
nc-config --all
60-
nf-config
51+
nf-config --all
6152
6253
- name: Build modflow6
6354
shell: bash
@@ -73,6 +64,13 @@ runs:
7364
working-directory: modflow6
7465
run: cat builddir/meson-logs/meson-log.txt
7566

67+
- name: Build mf5to6
68+
shell: bash
69+
working-directory: modflow6
70+
run: |
71+
pixi run setup-mf5to6 builddir
72+
pixi run build-mf5to6 builddir
73+
7674
- name: Update flopy
7775
shell: bash
7876
working-directory: modflow6

.github/common/compile_modflow6_extended.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ cd "%GITHUB_WORKSPACE%\modflow6"
33
pixi run setup -Dextended=true builddir
44
pixi run build builddir
55
pixi run test builddir
6+
pixi run setup-mf5to6 builddir
7+
pixi run build-mf5to6 builddir

0 commit comments

Comments
 (0)