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

Release 6.6.0 #2116

Merged
merged 196 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
196 commits
Select commit Hold shift + click to select a range
a7838e7
ci(release): update version to 6.6.0.dev0, reset IDEVELOPMODE to 1
wpbonelli May 23, 2024
9ae3dee
Merge pull request #1848 from MODFLOW-USGS/post-release-6.5.0-reset
wpbonelli May 23, 2024
4aa1c09
chore(deps): bump prefix-dev/setup-pixi from 0.7.0 to 0.8.0 (#1849)
dependabot[bot] May 23, 2024
aa6ef28
docs(release): initialize release notes for next version (#1850)
langevin-usgs May 24, 2024
852e91d
fix: build windows parallel with ifort 2021.12 (#1853)
wpbonelli Jun 2, 2024
3a002ee
chore(deps): bump prefix-dev/setup-pixi from 0.8.0 to 0.8.1 (#1855)
dependabot[bot] Jun 4, 2024
bb3c886
chore(deps): bump dawidd6/action-download-artifact from 3 to 5 (#1856)
dependabot[bot] Jun 5, 2024
21338a7
chore(dependencies): update `pixi.lock` (#1854)
github-actions[bot] Jun 5, 2024
b48ea7e
chore(codespell): update .codespell.ignore, fix spelling in sfr.tex (…
wpbonelli Jun 7, 2024
68d0560
ci(macos-14): use gcc12 on macos-14, workaround is_recursive symbol m…
wpbonelli Jun 7, 2024
98c6407
feat(idm): update STO packages for IDM (#1823)
mjreno Jun 7, 2024
688c5c6
ci: add concurrency group to docs.yml (#1861)
wpbonelli Jun 10, 2024
b8bd666
test(prt): add test case for release by time step frequency (#1862)
wpbonelli Jun 11, 2024
f0a13d2
test(prt): add test for quad-refined grids without smoothing (#1860)
wpbonelli Jun 11, 2024
1e294fb
fix(prt): calculate global from local z before checking release point…
wpbonelli Jun 11, 2024
bce795d
this vfproj was never really used... (#1867)
mjr-deltares Jun 12, 2024
607f59f
feat (memorymananger) Create iterators for the ListType and MemoryLis…
Manangka Jun 12, 2024
f9ea212
chore(deps): bump dawidd6/action-download-artifact from 5 to 6 (#1872)
dependabot[bot] Jun 12, 2024
16aa860
add model columns to convergence csv for completeness in parallel cas…
mjr-deltares Jun 13, 2024
ebe5569
fix(prt): fix multiple bugs (#1874)
wpbonelli Jun 13, 2024
df1f389
feat(memorymanager) Replace the Memorylist used in the MemoryManager …
Manangka Jun 14, 2024
151df87
fix(inputoutput): handle line ending skipped by getline for cr or lf …
vivekbedekar Jun 14, 2024
643dcfa
ci(pr-template): modify pr template and move location (#1877)
langevin-usgs Jun 14, 2024
2e5a457
refactor(bcs): remove invalid parser references (#1878)
mjreno Jun 15, 2024
624d2d9
docs(release): mention #1865 in release notes (#1871)
wpbonelli Jun 15, 2024
7c1d4f6
docs(release): fix release notes (escape underscore) (#1879)
wpbonelli Jun 16, 2024
79d5d7d
update binary exchange input tests so flopy writes binary files (#1863)
mjreno Jun 17, 2024
593ff6a
docs(release): fix release notes (use scientific notation) (#1881)
wpbonelli Jun 18, 2024
ce9707d
ci: add pixi task to fix the format and spelling (fix-style) (#1880)
jdhughes-usgs Jun 18, 2024
f971e98
docs(prt): several fixes/clarifications (#1885)
wpbonelli Jun 19, 2024
9157bde
ci(pr-template): modify pr template (#1883)
emorway-usgs Jun 19, 2024
19a60d1
test(test_gwf_maw04.py): switch deprecated np.unicode_ -> np.str_ (#1…
wpbonelli Jun 19, 2024
22c0fd1
test(prt): omit name field (object dtype) from snapshots (#1887)
wpbonelli Jun 19, 2024
d9f4c25
refactor(memorystore) Rename all references to the memorylist to memo…
Manangka Jun 19, 2024
a25df37
refactor: add pixi support to vscode tasks (#1884)
jdhughes-usgs Jun 19, 2024
e8d2c60
docs: add style guide, tidy dev/contrib docs, update docs sites (#1870)
wpbonelli Jun 20, 2024
89e6d96
docs(rtd): include developer guide section, troubleshoot rendering (#…
wpbonelli Jun 21, 2024
34ef2f7
docs(rtd): upload accidentally omitted dirs (#1890)
wpbonelli Jun 21, 2024
ba29c04
fix(prt): make extended tracking opt-in (#1888)
wpbonelli Jun 21, 2024
02b605f
docs: build the sphinx documentation on windows (#1891)
Manangka Jun 21, 2024
37a3805
refactor(gwe-est): remove packagedata block and put values in options…
emorway-usgs Jun 21, 2024
d7d60c6
test(test_prt_voronoi1.py): intersect cells, skip snapshot in macos-1…
wpbonelli Jun 21, 2024
d0a9772
fix(idm): set correct file and exit with timeseries read error (#1894)
mjreno Jun 22, 2024
17e200e
docs(styleguide): add examples and explanations to the style guide (…
Manangka Jun 25, 2024
64e025c
docs(rtd): restore requirements file (#1897)
Manangka Jun 25, 2024
4a8f502
refactor(sfr): implement submodules for SFR flow methods (#1896)
jdhughes-usgs Jun 25, 2024
f598f4c
fix(prt): sum boundary and face flows when loading cell (#1900)
wpbonelli Jun 26, 2024
0761ec2
docs(prt): fix typos in mf6io document (#1902)
wpbonelli Jun 26, 2024
63e79f6
feat(netcdf): support model ugrid layered mesh exports (#1868)
mjreno Jun 26, 2024
c9a0807
ci(release): omit backwards particle tracking examples (#1903)
wpbonelli Jun 27, 2024
2a59410
fix(msvs): preprocess SourceLoad.F90 (#1909)
langevin-usgs Jun 27, 2024
12dea73
refactor(prp): factor out routine for particle release (#1907)
wpbonelli Jun 27, 2024
fef2c67
feat(swf-gwf): generalize and improve SWF-GWF Exchange (#1910)
langevin-usgs Jun 27, 2024
edbb60a
refactor(autotest): restructure netcdf tests to remove duplicate code…
mjreno Jun 28, 2024
59773f2
fix(prt): fix pass-to-bottom tracking method (#1918)
wpbonelli Jun 28, 2024
667230b
docs(prt-oc): add subsection describing tracking events (#1919)
wpbonelli Jul 2, 2024
d466c5c
chore(dependencies): update `pixi.lock` (#1922)
github-actions[bot] Jul 3, 2024
b76c676
fix(prp): fix incorrectly raised error introduced in 12dea73 (#1921)
wpbonelli Jul 3, 2024
f589edf
chore(scripts): update mf6 examples zipfile name in build_dist.py (#1…
wpbonelli Jul 3, 2024
67d6a1e
doc(mf6io): fix issues in IO guide (#1924)
wpbonelli Jul 4, 2024
8203968
refactor(oc): introduce module/type for time step selection (#1923)
wpbonelli Jul 4, 2024
decc705
fix(meson.build): separate parallel/extended dependencies (#1926)
wpbonelli Jul 5, 2024
ce29db2
doc(namefile.tex): mention of mve package was missing in gwe namefile…
emorway-usgs Jul 5, 2024
61f1e31
doc(mf6io): fix PRT MIP section in IO guide (#1931)
wpbonelli Jul 8, 2024
f3f6938
fix(gwf-uzf.f90): auxmultname option not working as expected (#1930)
emorway-usgs Jul 8, 2024
300b21f
refactor(swf-zdg): clean up flow calculation (#1932)
langevin-usgs Jul 8, 2024
cea7af2
fix(oc): fix TimeStepSelect logging (#1933)
wpbonelli Jul 8, 2024
baf4300
fix(csub): fix a few memory issues in csub package (#1935)
jdhughes-usgs Jul 10, 2024
9d55d58
style: run ruff lint and format on python files in repo (#1936)
jdhughes-usgs Jul 12, 2024
47762d4
fix(csub): fix minor memory leak in csub (#1942)
jdhughes-usgs Jul 12, 2024
7278b67
docs: don't version files generated from DFNs (#1946)
wpbonelli Jul 15, 2024
01fbaa7
fix(mem): address memory leaks (#1949)
mjr-deltares Jul 15, 2024
3598862
doc: add IMS complexity options table to readthedocs (#1941)
jdhughes-usgs Jul 15, 2024
c0f0b8e
fix(gwf-sfr): reset GWF budget term to the number of GWF connections …
emorway-usgs Jul 17, 2024
1fd801d
feat(netcdf): support for a structured export and gridded input array…
mjreno Jul 18, 2024
c5da9b3
refactor(debug): fix source to allow debug executable to run tests (…
langevin-usgs Jul 19, 2024
0b493e0
fix(mem): address memory leak related to the MemoryStore (#1953)
Manangka Jul 23, 2024
1749ba2
fix(tsp-obs): the OBS utility in GWE not supporting TEMPERATURE keywo…
emorway-usgs Jul 23, 2024
4a14870
ci(parallel): skip test_par_gwf02 cases d-f, no xdist on windows (#1960)
wpbonelli Jul 24, 2024
1fcccb7
ci(parallel): run parallel build against serial tests (#1963)
wpbonelli Jul 26, 2024
ae6cc66
(fix) Fix compilation on the HPC (#1956)
Manangka Jul 26, 2024
c178700
fix(bmi-ems): ExplicitModelSolution for PRT fixed for XMI/API calls (…
langevin-usgs Jul 26, 2024
a09f291
ci(release): fix nightly build (#1965)
wpbonelli Jul 29, 2024
a1af64c
ci: add jobs to build/test with gfortran in debug mode (#1966)
wpbonelli Jul 30, 2024
5ba7681
feat(par): add convergence check based on petsc L2 norm (#1970)
mjr-deltares Jul 30, 2024
06715f3
fix(par): header receive counter was allocated to the wrong size (#1971)
mjr-deltares Jul 31, 2024
52c5bbd
fix(gwf-uzf): write msg to listing file when UZF finishes processing …
emorway-usgs Jul 31, 2024
a63499e
fix(gwf-uzf): variable name NTRAIL should be NTRAIL_PVAR (#1973)
emorway-usgs Aug 1, 2024
b0ae441
chore(dependencies): update `pixi.lock` (#1974)
github-actions[bot] Aug 5, 2024
97ed740
feat(petsc): enabled petsc solver and pc configuration through .petsc…
mjr-deltares Aug 6, 2024
8124ad4
Fixes a compilation error occurring when using the intel 19.* compile…
Manangka Aug 6, 2024
6e3b3fd
feat(ats-adv): courant time-step constraint (#1969)
langevin-usgs Aug 7, 2024
86638db
style(source): remove older MODFLOW formatting (#1983)
langevin-usgs Aug 7, 2024
b4deb96
ci(pixi): detailed PR description when updating pixi lockfile (#1981)
wpbonelli Aug 8, 2024
97757fa
fix(gwe-est): add error checks for user-specified values of 0.0 (#1982)
emorway-usgs Aug 8, 2024
27b8b1d
ci: update pixi_auto_update.yml (#1985)
Hofer-Julian Aug 9, 2024
0cbc854
fix extended hpc build
Aug 9, 2024
c8e1b9e
Merge pull request #1986 from mjreno/hpc_compile
mjreno Aug 9, 2024
54ff2c6
docs(prt): indicate that multiple PRPs are allowed (#1990)
wpbonelli Aug 13, 2024
f18f238
ci(ubuntu/ifort): reclaim disk, copy libmf6.so, skip ex-gwe-radial (#…
wpbonelli Aug 14, 2024
a93cb27
refactor(gwf-uzf): add unit testing for UZF LINEAR_GWET functionality…
emorway-usgs Aug 14, 2024
1bebb6b
ci(ubuntu): reinstate ex-gwe-radial, copy libmf6.so (#1992)
wpbonelli Aug 15, 2024
106965f
fix(mf6bmiutil): workaround ARM mac char array assignment issue (#1993)
wpbonelli Aug 15, 2024
0ca082d
fix(netcdf): refactor reshape from model exports (#1991)
mjreno Aug 16, 2024
80b29e6
fix(mf6bmiutil): remove subroutine workaround, make args inout (#1996)
wpbonelli Aug 19, 2024
bf47ec6
refactor(prt): refactor track- and release-time input (#1989)
wpbonelli Aug 19, 2024
644cf96
feat(swf): separate swf model into channel model and overland flow mo…
langevin-usgs Aug 19, 2024
a832fdf
refactor(modflowapi): move ModflowApi import into api_func (#1997)
langevin-usgs Aug 20, 2024
626c236
fix(prt): fix duplicate particles, tidier release mechanism (#1928)
wpbonelli Aug 21, 2024
6f22a9c
refactor(xmipy): skip test_gwf_tdis if xmipy not installed (#1998)
langevin-usgs Aug 21, 2024
af26abf
fix(swf-dis): fixes for swf dis functionality (#2000)
langevin-usgs Aug 23, 2024
d9d6092
refactor(gwe-est): rename variables rhos and cps to density_solid and…
emorway-usgs Aug 28, 2024
4ea1801
fix(netcdf): address gcc hdf5 build issue on linux (#2009)
mjreno Aug 29, 2024
9c38363
fix(GweInputData): large GWE models throwing stackoverflow error (#1999)
emorway-usgs Aug 30, 2024
7370981
docs(prt): update structure of blocks section for prp/oc (#2005)
wpbonelli Aug 31, 2024
99ec499
chore(deps): bump peter-evans/create-pull-request from 6 to 7 (#2011)
dependabot[bot] Sep 3, 2024
7b8e4e9
feat(mst): add capability to save sorbate concentrations to binary fi…
langevin-usgs Sep 5, 2024
a752a89
docs(prt): fix PRP package parameter descriptions (#2016)
wpbonelli Sep 5, 2024
256f78a
fix(prp): fix release time selection logic (#2017)
wpbonelli Sep 6, 2024
de9b543
feat(sfr): kinematic wave approximation option (#1899)
jdhughes-usgs Sep 26, 2024
0c46781
refactor(dfns): add in_record attr to utl-ts and utl-tas vars (#2031)
wpbonelli Oct 8, 2024
e2d9eaa
fix(par): PETSc Fortran API has changed in v3.22.0 (#2030)
mjr-deltares Oct 9, 2024
933eba4
fix(par): exchange mover budgets should be written only once in paral…
mjr-deltares Oct 9, 2024
1da1394
fix(gwf-lak.dfn; gwf-sfr.dfn): minor typos (#2033)
emorway-usgs Oct 10, 2024
f7e8c71
refactor(sfr): convert storage_weight to dev variable (#2032)
jdhughes-usgs Oct 10, 2024
dc0895a
feat(gwt-ist): add nonlinear sorption isotherms to immobile domain (#…
langevin-usgs Oct 10, 2024
b5a9ca2
fix(xt3d): iallpc getting adding twice to memory manager (#2035)
langevin-usgs Oct 11, 2024
592e4b4
refactor(TspSpc.f90): extend spc utility usage to gwe (#2036)
emorway-usgs Oct 17, 2024
6a32f14
chore(*.f90): reduce code bloat (#2039)
emorway-usgs Oct 18, 2024
2bb0c95
tolerate dimension 0 static list input (#2038)
mjreno Oct 21, 2024
626a145
feat(netcdf): export and input stress period array support (#1967)
mjreno Oct 21, 2024
3be3c39
fix(exg): GWF-GWF exchange can be configured with a mover and no actu…
mjr-deltares Nov 2, 2024
c88c436
fix(PrtFmiType): accommodate 0s in nodelist (#2043)
wpbonelli Nov 3, 2024
d12df58
ci(netcdf): windows extended build and tests (#2037)
mjreno Nov 5, 2024
9b01fe9
doc: standardize previous version changes (#2045)
jdhughes-usgs Nov 6, 2024
4e30455
- change file creation mode to logical AND of flags (#2051)
mjr-deltares Nov 8, 2024
ca387f4
refactor(prt): split TrackData into separate file and control modules…
wpbonelli Nov 11, 2024
67e8128
docs: touch up dfn spec, include in rtd dev docs (#1948)
wpbonelli Nov 12, 2024
f6c3a55
chore: reformat Python code with line length = 88 (#2056)
mwtoews Nov 13, 2024
8efe361
chore: add .git-blame-ignore-revs (#2057)
mwtoews Nov 15, 2024
9ed20ff
ci(netcdf): update curl command in windows build action (#2052)
mjreno Nov 18, 2024
a559974
refactor: fix long lines to resolve check E501 (#2061)
mwtoews Nov 18, 2024
ef3a194
chore: add codespell configuration, check python source files (#2060)
mwtoews Nov 18, 2024
ad27bd1
chore(scripts): remove check_spelling.py (#2063)
wpbonelli Nov 18, 2024
8d839c8
ci(macos): switch macos-12 -> 13, trim compiler compat test matrix (#…
wpbonelli Nov 19, 2024
68f7f87
fix(UzfCellGroup): SQUARE_GWET option records ET as inflow instead of…
emorway-usgs Nov 19, 2024
c29763a
refactor: remove "include" option for global ruff format/check (#2065)
mwtoews Nov 19, 2024
f828bc6
fix(array reader): store error for unexpected binary input file size …
mjreno Nov 21, 2024
1ab8050
style(idm): align with style guide (#2053)
mjreno Nov 21, 2024
c8f846c
refactor: resolve ruff check F821 for undefined name (#2062)
mwtoews Nov 21, 2024
387cd5d
doc(binaryoutput): documentation for MAW binary output was incomplete…
emorway-usgs Nov 25, 2024
cc7f930
chore: reformat multi-line statements (#2070)
mwtoews Nov 25, 2024
e2eec29
refactor (python): apply ruff check rules UP and RUF (#2076)
mwtoews Nov 27, 2024
d22b6ee
feat(io): add wrapper routine with check around getunit (#2068)
mjreno Nov 27, 2024
f744064
fix(urword): increase number of characters for integers and floats (#…
langevin-usgs Nov 27, 2024
4c14af9
refactor(gwf-maw): show warning with CONDEQN='THEIM'; fix other typos…
mwtoews Nov 29, 2024
4131584
fix(utils): address memory leaks in CharacterStringType, Idm (#1947)
mjreno Nov 29, 2024
ae44089
chore(deps): bump dawidd6/action-download-artifact from 6 to 7 (#2080)
dependabot[bot] Nov 29, 2024
5d5d17c
chore(meson): consistent build log format (#2081)
wpbonelli Nov 30, 2024
154499e
- test curl on different runs (#2079)
mjr-deltares Dec 2, 2024
cc7f259
fix(ci): switching steps in netcdf action (#2083)
mjr-deltares Dec 2, 2024
adcb9e7
fix(ci): change curl syntax (#2085)
mjr-deltares Dec 3, 2024
ec5b7bf
refactor(swf): minor swf cleanup (#2084)
langevin-usgs Dec 3, 2024
099d735
fix(ci): try cmd, curl is apparently not guaranteed in bash shell (#2…
mjr-deltares Dec 3, 2024
7f1180f
ci(plot): add plot option to conftest (#2087)
langevin-usgs Dec 3, 2024
f590f42
ci(api): add autotest to test API routines (e.g. get_version) (#2082)
mjr-deltares Dec 4, 2024
fe1ff54
refactor(ci): restructured ci to no longer test parallel and netcdf i…
mjr-deltares Dec 5, 2024
9f49296
ci(plotting): update autotests with plots to use new pytest --plot ho…
langevin-usgs Dec 5, 2024
27b7820
docs(releasenotes): mention arm mac string -> char array conversion i…
wpbonelli Dec 6, 2024
f515ca1
ci(plotting): use plot hook in prt tests (#2092)
wpbonelli Dec 6, 2024
bb23f08
fix(gwe-esl): src/esl typo in mf6io guide (#2093)
emorway-usgs Dec 6, 2024
9ba714e
- small change to build extended instead of parallel by default with …
mjr-deltares Dec 9, 2024
8173b2e
fix(gwe-uze): stop simulation when area of uze object not equal to ce…
emorway-usgs Dec 9, 2024
69dc7ad
docs(io): add modflow extended description to IO guide (#2097)
mjr-deltares Dec 9, 2024
2d8c5b6
docs(swf): refactoring swf into chf and olf chapters (#2095)
langevin-usgs Dec 9, 2024
4acac0d
feat(hpc): add option to print partition table to file (#2098)
mjr-deltares Dec 10, 2024
a0a812a
docs(netcdf): update mf6io extended (#2094)
mjreno Dec 11, 2024
db33dd0
add "in" suffix to netcdf export name when in validate mode (#2090)
mjreno Dec 11, 2024
ab62755
docs(release): updates for 6.6.0 release (#2099)
langevin-usgs Dec 12, 2024
4161555
fix(mf6io): cleanup typos in the gwe section of mf6io (#2100)
emorway-usgs Dec 13, 2024
bf78420
ci(ubuntu): update to 22.04 in build binaries for release (#2102)
langevin-usgs Dec 13, 2024
5dd58cf
refactor(netcdf): replace export_netcdf input tag with type specific …
mjreno Dec 13, 2024
109cf00
fix(mf6io): cleanup description of EVAPORATION keyword in SFE and LKE…
emorway-usgs Dec 14, 2024
3045d44
fix(prt): rework vertical tracking approach (#2066)
wpbonelli Dec 14, 2024
b0c7f31
ci: test example models on all platforms (#2105)
wpbonelli Dec 15, 2024
92df2c4
docs(release): revise prt/gwe in mf6io and supp tech info (#2104)
wpbonelli Dec 15, 2024
8d5b621
fix(mf5to6): fix SimModule name clash (#2047)
jdhughes-usgs Dec 17, 2024
5a0f854
refactor(netcdf): utility package input adjustments (#2106)
mjreno Dec 17, 2024
11b98f2
refactor(prt): make exit_solve_tolerance optional, update release not…
wpbonelli Dec 17, 2024
cd9161b
docs(prt): update migration guide and release notes (#2109)
wpbonelli Dec 18, 2024
49fca8f
chore: mark developmode tests (#2110)
wpbonelli Dec 19, 2024
a23357b
docs(release): minor edits (#2112)
langevin-usgs Dec 19, 2024
3d35f18
fix(prt): fix output record duplication (#2113)
wpbonelli Dec 19, 2024
9a123d3
docs(releasenotes): update release date (#2115)
wpbonelli Dec 19, 2024
61db0a5
ci(release): update version to 6.6.0
github-actions[bot] Dec 20, 2024
51f0009
chore(release): touch up dates
wpbonelli Dec 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .build_rtd_docs/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ PROJECT_NAME = "MODFLOW 6"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = "version 6.5.0"
PROJECT_NUMBER = "version 6.6.0"

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
# quick idea about the purpose of the project. Keep the description short.

PROJECT_BRIEF = "MODFLOW 6 Code Documentation"
PROJECT_BRIEF = "USGS Modular Hydrologic Model"

# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
# in the documentation. The maximum height of the logo should not exceed 55
Expand Down
6 changes: 3 additions & 3 deletions .build_rtd_docs/MAINPAGE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# MODFLOW 6 Source Code Documentation
# Overview

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

The source code repository is hosted at https://github.com/MODFLOW-USGS/modflow6 where full details can be found.
The source code repository is hosted [on GitHub](https://github.com/MODFLOW-USGS/modflow6).

MODFLOW 6 usage documentation can be found at https://modflow6.readthedocs.io/en/latest/
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/).
63 changes: 56 additions & 7 deletions .build_rtd_docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ruff: noqa: E402
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
Expand All @@ -14,7 +15,7 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import sys
from subprocess import Popen, PIPE
from subprocess import PIPE, Popen

sys.path.insert(0, os.path.abspath(os.path.join("..", "doc")))
sys.path.insert(0, os.path.abspath(os.path.join("..", "distribution")))
Expand All @@ -23,12 +24,12 @@
on_rtd = os.environ.get("READTHEDOCS") == "True"

# -- print current directory
print("Current Directory...'{}'".format(os.path.abspath(os.getcwd())))
print(f"Current Directory...'{os.path.abspath(os.getcwd())}'")

# -- clean up doxygen files -------------------------------------------------
dox_pths = ("_mf6io",)
for dox_pth in dox_pths:
print("cleaning....{}".format(dox_pth))
print(f"cleaning....{dox_pth}")
for root, dirs, files in os.walk(dox_pth):
for name in files:
fpth = os.path.join(root, name)
Expand All @@ -37,6 +38,7 @@
# -- Update the modflow 6 version -------------------------------------------
print("Update the modflow6 version")
from update_version import update_version

update_version()

# -- import version from doc/version.py -------------------------------------
Expand All @@ -56,6 +58,50 @@
# copy the file
shutil.copy(src, dst)

# -- copy developer docs
dstdir = "_dev"
fpth = "DEVELOPER.md"
src = os.path.join("..", fpth)
dst = os.path.join(dstdir, fpth.lower())
# clean up an existing _mf6run directory
if os.path.isdir(dstdir):
shutil.rmtree(dstdir)
# make the directory
os.makedirs(dstdir)
# copy the file
shutil.copy(src, dst)

# -- copy contributor docs
fpth = "CONTRIBUTING.md"
src = os.path.join("..", fpth)
dst = os.path.join(dstdir, fpth.lower())
shutil.copy(src, dst)

# -- copy style guide
fpth = "styleguide.md"
src = os.path.join(fpth)
dst = os.path.join(dstdir, fpth)
shutil.copy(src, dst)

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

# -- build the deprecations table --------------------------------------------
print("Build the deprecations markdown table")
pth = os.path.join("..", "doc", "mf6io", "mf6ivar")
args = (sys.executable, "deprecations.py")
# run the command
proc = Popen(args, stdout=PIPE, stderr=PIPE, cwd=pth)
stdout, stderr = proc.communicate()
if stdout:
print(stdout.decode("utf-8"))
if stderr:
print("Errors:")
print(stderr.decode("utf-8"))

# -- copy deprecations markdown ---------------------------------------------
print("Copy the deprecations table")
dstdir = "_mf6run"
Expand All @@ -75,7 +121,8 @@
if stdout:
print(stdout.decode("utf-8"))
if stderr:
print("Errors:\n{}".format(stderr.decode("utf-8")))
print("Errors:")
print(stderr.decode("utf-8"))

# -- update the doxygen version number ---------------------------------------
print("Update the Doxyfile with the latest version number")
Expand All @@ -86,13 +133,13 @@
with open("Doxyfile", "w") as fp:
for line in lines:
if tag in line:
line = '{} = "version {}"\n'.format(tag, __version__)
line = f'{tag} = "version {__version__}"\n'
fp.write(line)

# -- Project information -----------------------------------------------------

project = "MODFLOW 6 Program Documentation"
copyright = "2023, MODFLOW Development Team"
project = "MODFLOW 6"
copyright = "2024, MODFLOW Development Team"
author = "MODFLOW Development Team"

# -- Project version ---------------------------------------------------------
Expand Down Expand Up @@ -126,6 +173,8 @@
# # Tell sphinx what the pygments highlight language should be.
# highlight_language = 'fortran'

source_suffix = {".rst": "restructuredtext", ".md": "markdown"}

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]

Expand Down
13 changes: 13 additions & 0 deletions .build_rtd_docs/dev.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Developer Guide
---------------

This section includes developer instructions and conventions.

.. toctree::
:maxdepth: 1
:glob:

_dev/contributing.md
_dev/developer.md
_dev/styleguide.md
_dev/dfn.md
5 changes: 3 additions & 2 deletions .build_rtd_docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ Contents:
.. toctree::
:maxdepth: 2

MODFLOW 6 Source Code Documentation <https://modflow-usgs.github.io/modflow6/>
mf6io
API Reference <https://modflow-usgs.github.io/modflow6/>
_mf6run/run-time-comparison.md
_mf6run/deprecations.md
mf6io
dev

35 changes: 35 additions & 0 deletions .build_rtd_docs/make.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
@ECHO OFF

pushd %~dp0

REM Command file for Sphinx documentation

if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set BUILDDIR=_build

if "%1" == "" goto help

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
exit /b 1
)

%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
goto end

:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%

:end
popd
27 changes: 24 additions & 3 deletions .build_rtd_docs/mf6io.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
MODFLOW 6 Input Guide
---------------------
Input Guide
-----------

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

Simulation
^^^^^^^^^^
Expand Down Expand Up @@ -44,6 +45,26 @@ Groundwater Transport
_mf6io/gwt-*


Groundwater Energy Transport
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. toctree::
:maxdepth: 1
:glob:

_mf6io/gwe-*


Particle Tracking
^^^^^^^^^^^^^^^^^

.. toctree::
:maxdepth: 1
:glob:

_mf6io/prt-*


Model Exchanges
^^^^^^^^^^^^^^^

Expand Down
Loading
Loading