Skip to content

Commit 1938dec

Browse files
ci(release): set version to 3.9.2, update components from DFN files, update changelog
1 parent b0eee66 commit 1938dec

Some content is hidden

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

125 files changed

+25130
-9003
lines changed

.docs/md/version_changes.md

+27
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,31 @@
11
# Changelog
2+
### Version 3.9.2
3+
4+
#### New features
5+
6+
* [feat(mf2005,mf2k)](https://github.com/modflowpy/flopy/commit/f058122a51404aadb5d28d23548ec96eff82ec8a): Allow loading custom flopy packages (#2404). Committed by Davíd Brakenhoff on 2025-01-10.
7+
* [feat(generate_classes.py)](https://github.com/modflowpy/flopy/commit/48ec3b2f2cfa0287c94fb6d62a596196294cfc2d): Allow excluding components (#2447). Committed by wpbonelli on 2025-02-11.
8+
9+
#### Bug fixes
10+
11+
* [fix(mp7particledata)](https://github.com/modflowpy/flopy/commit/942a4cd0eadec1201b430867f84412a03751747e): Add global_xy option for to_coords/to_prp (#2405). Committed by Davíd Brakenhoff on 2024-12-23.
12+
* [fix(resolve_exe)](https://github.com/modflowpy/flopy/commit/4deabe1d34b3476d9134bf0b64614ef0779634bb): Allow shutil.which() to find exe without suffix in Windows (#2408). Committed by martclanor on 2025-01-10.
13+
* [fix(cvfdutil)](https://github.com/modflowpy/flopy/commit/f9da244347f6e076e8e5d65562efc06640b07677): Fix skip_hanging_node_check (#2423). Committed by Oscar Sanchez on 2025-01-21.
14+
* [fix(Mf6Splitter)](https://github.com/modflowpy/flopy/commit/25ec5cd4ce32e8862760ef672ef709fbb870d19f): Multiple bug fixes and added support (#2418). Committed by Joshua Larsen on 2025-01-30.
15+
* [fix(mp7particledata.py)](https://github.com/modflowpy/flopy/commit/9385daac51d064b34ca72117a27d5ec741a640c7): Avoid attribute error (#2441). Committed by wpbonelli on 2025-02-08.
16+
17+
#### Perf
18+
19+
* [perf(tutorials)](https://github.com/modflowpy/flopy/commit/8fd63758606091b323b01b1b77d39be964650cdd): Skip some writes in export_vtk_tutorial.py (#2432). Committed by wpbonelli on 2025-02-03.
20+
21+
#### Refactoring
22+
23+
* [refactor(model_splitter)](https://github.com/modflowpy/flopy/commit/bb587c3e46d934799e1e1060681dd10073ad935e): Add timeseries support (#2403). Committed by Joshua Larsen on 2025-01-03.
24+
* [refactor(FlopyBinaryData)](https://github.com/modflowpy/flopy/commit/ef5ca6a6361bab020f9e198563c18d7242f12e28): Make properties readonly, deprecate set_float() (#2421). Committed by wpbonelli on 2025-01-20.
25+
* [refactor(get-modflow)](https://github.com/modflowpy/flopy/commit/6a8f313df441c73673f8780a203a7233ae4f3ecc): Don't hard-code available os tags (#2426). Committed by wpbonelli on 2025-01-26.
26+
* [refactor(mf6)](https://github.com/modflowpy/flopy/commit/816ff8108f6985e0b2ead549a13f6446639d8f61): Allow using existing dfn files in generate_classes.py (#2431). Committed by wpbonelli on 2025-02-03.
27+
* [refactor(ModelTime)](https://github.com/modflowpy/flopy/commit/069d5430760fd0a9eb5eff6e8f36ce39974e25d3): Refactor ModelTime and add new features (#2367). Committed by Joshua Larsen on 2025-02-05.
28+
229
### Version 3.9.1
330

431
#### Mf6

CITATION.cff

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ message: If you use this software, please cite both the article from preferred-c
33
references, and the software itself.
44
type: software
55
title: FloPy
6-
version: 3.10.0.dev1
7-
date-released: '2024-12-20'
6+
version: 3.9.2
7+
date-released: '2025-02-11'
88
doi: 10.5066/F7BK19FH
99
abstract: A Python package to create, run, and post-process MODFLOW-based models.
1010
repository-artifact: https://pypi.org/project/flopy

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
<img src="https://raw.githubusercontent.com/modflowpy/flopy/master/examples/images/flopy3.png" alt="flopy3" style="width:50;height:20">
33

4-
### Version 3.10.0.dev1
4+
### Version 3.9.2
55
[![flopy continuous integration](https://github.com/modflowpy/flopy/actions/workflows/commit.yml/badge.svg?branch=develop)](https://github.com/modflowpy/flopy/actions/workflows/commit.yml)
66
[![Read the Docs](https://github.com/modflowpy/flopy/actions/workflows/rtd.yml/badge.svg?branch=develop)](https://github.com/modflowpy/flopy/actions/workflows/rtd.yml)
77

@@ -150,7 +150,7 @@ How to Cite
150150

151151
##### ***Software/Code citation for FloPy:***
152152

153-
[Bakker, Mark, Post, Vincent, Hughes, J. D., Langevin, C. D., White, J. T., Leaf, A. T., Paulinski, S. R., Bellino, J. C., Morway, E. D., Toews, M. W., Larsen, J. D., Fienen, M. N., Starn, J. J., Brakenhoff, D. A., and Bonelli, W. P., 2024, FloPy v3.10.0.dev1: U.S. Geological Survey Software Release, 20 December 2024, https://doi.org/10.5066/F7BK19FH](https://doi.org/10.5066/F7BK19FH)
153+
[Bakker, Mark, Post, Vincent, Hughes, J. D., Langevin, C. D., White, J. T., Leaf, A. T., Paulinski, S. R., Bellino, J. C., Morway, E. D., Toews, M. W., Larsen, J. D., Fienen, M. N., Starn, J. J., Brakenhoff, D. A., and Bonelli, W. P., 2025, FloPy v3.9.2: U.S. Geological Survey Software Release, 11 February 2025, https://doi.org/10.5066/F7BK19FH](https://doi.org/10.5066/F7BK19FH)
154154

155155

156156
Additional FloPy Related Publications

docs/PyPI_release.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ How to Cite
3030

3131
*Software/Code citation for FloPy:*
3232

33-
[Bakker, Mark, Post, Vincent, Hughes, J. D., Langevin, C. D., White, J. T., Leaf, A. T., Paulinski, S. R., Bellino, J. C., Morway, E. D., Toews, M. W., Larsen, J. D., Fienen, M. N., Starn, J. J., Brakenhoff, D. A., and Bonelli, W. P., 2024, FloPy v3.10.0.dev1: U.S. Geological Survey Software Release, 20 December 2024, https://doi.org/10.5066/F7BK19FH](https://doi.org/10.5066/F7BK19FH)
33+
[Bakker, Mark, Post, Vincent, Hughes, J. D., Langevin, C. D., White, J. T., Leaf, A. T., Paulinski, S. R., Bellino, J. C., Morway, E. D., Toews, M. W., Larsen, J. D., Fienen, M. N., Starn, J. J., Brakenhoff, D. A., and Bonelli, W. P., 2025, FloPy v3.9.2: U.S. Geological Survey Software Release, 11 February 2025, https://doi.org/10.5066/F7BK19FH](https://doi.org/10.5066/F7BK19FH)

flopy/mf6/data/dfn/gwe-adv.dfn

+8
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,11 @@ optional true
99
longname advective scheme
1010
description scheme used to solve the advection term. Can be upstream, central, or TVD. If not specified, upstream weighting is the default weighting scheme.
1111

12+
13+
block options
14+
name ats_percel
15+
type double precision
16+
reader urword
17+
optional true
18+
longname fractional cell distance used for time step calculation
19+
description fractional cell distance submitted by the ADV Package to the adaptive time stepping (ATS) package. If ATS\_PERCEL is specified and the ATS Package is active, a time step calculation will be made for each cell based on flow through the cell and cell properties. The largest time step will be calculated such that the advective fractional cell distance (ATS\_PERCEL) is not exceeded for any active cell in the grid. This time-step constraint will be submitted to the ATS Package, perhaps with constraints submitted by other packages, in the calculation of the time step. ATS\_PERCEL must be greater than zero. If a value of zero is specified for ATS\_PERCEL the program will automatically reset it to an internal no data value to indicate that time steps should not be subject to this constraint.

flopy/mf6/data/dfn/gwe-est.dfn

+23-5
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,20 @@ longname save calculated flows to budget file
99
description REPLACE save_flows {'{#1}': 'EST'}
1010

1111
block options
12-
name zero_order_decay
12+
name zero_order_decay_water
1313
type keyword
1414
reader urword
1515
optional true
16-
longname activate zero-order decay
17-
description is a text keyword to indicate that zero-order decay will occur. Use of this keyword requires that DECAY is specified in the GRIDDATA block.
16+
longname activate zero-order decay in aqueous phase
17+
description is a text keyword to indicate that zero-order decay will occur in the aqueous phase. That is, decay occurs in the water and is a rate per volume of water only, not per volume of aquifer (i.e., grid cell). Use of this keyword requires that DECAY\_WATER is specified in the GRIDDATA block.
18+
19+
block options
20+
name zero_order_decay_solid
21+
type keyword
22+
reader urword
23+
optional true
24+
longname activate zero-order decay in solid phase
25+
description is a text keyword to indicate that zero-order decay will occur in the solid phase. That is, decay occurs in the solid and is a rate per mass (not volume) of solid only. Use of this keyword requires that DECAY\_SOLID is specified in the GRIDDATA block.
1826

1927
block options
2028
name density_water
@@ -58,14 +66,24 @@ longname porosity
5866
description is the mobile domain porosity, defined as the mobile domain pore volume per mobile domain volume. The GWE model does not support the concept of an immobile domain in the context of heat transport.
5967

6068
block griddata
61-
name decay
69+
name decay_water
6270
type double precision
6371
shape (nodes)
6472
reader readarray
6573
layered true
6674
optional true
6775
longname aqueous phase decay rate coefficient
68-
description is the rate coefficient for zero-order decay for the aqueous phase of the mobile domain. A negative value indicates heat (energy) production. The dimensions of decay for zero-order decay is energy per length cubed per time. Zero-order decay will have no effect on simulation results unless zero-order decay is specified in the options block.
76+
description is the rate coefficient for zero-order decay for the aqueous phase of the mobile domain. A negative value indicates heat (energy) production. The dimensions of zero-order decay in the aqueous phase are energy per length cubed (volume of water) per time. Zero-order decay in the aqueous phase will have no effect on simulation results unless ZERO\_ORDER\_DECAY\_WATER is specified in the options block.
77+
78+
block griddata
79+
name decay_solid
80+
type double precision
81+
shape (nodes)
82+
reader readarray
83+
layered true
84+
optional true
85+
longname solid phase decay rate coefficient
86+
description is the rate coefficient for zero-order decay for the solid phase. A negative value indicates heat (energy) production. The dimensions of zero-order decay in the solid phase are energy per mass of solid per time. Zero-order decay in the solid phase will have no effect on simulation results unless ZERO\_ORDER\_DECAY\_SOLID is specified in the options block.
6987

7088
block griddata
7189
name heat_capacity_solid

flopy/mf6/data/dfn/gwe-fmi.dfn

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type string
3333
tagged false
3434
reader urword
3535
longname flow type
36-
description is the word GWFBUDGET, GWFHEAD, GWFMOVER or the name of an advanced GWF stress package. If GWFBUDGET is specified, then the corresponding file must be a budget file from a previous GWF Model run. If an advanced GWF stress package name appears then the corresponding file must be the budget file saved by a LAK, SFR, MAW or UZF Package.
36+
description is the word GWFBUDGET, GWFHEAD, GWFGRID, GWFMOVER or the name of an advanced GWF stress package from a previous model run. If GWFBUDGET is specified, then the corresponding file must be a budget file. If GWFHEAD is specified, the file must be a head file. If GWFGRID is specified, the file must be a binary grid file. If GWFMOVER is specified, the file must be a mover file. If an advanced GWF stress package name appears then the corresponding file must be the budget file saved by a LAK, SFR, MAW or UZF Package.
3737

3838
block packagedata
3939
name filein

flopy/mf6/data/dfn/gwe-lke.dfn

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ tagged false
294294
in_record true
295295
reader urword
296296
longname boundary thermal conductivity
297-
description is the thermal conductivity of the of the interface between the aquifer cell and the lake.
297+
description is the thermal conductivity of the material between the aquifer cell and the lake. The thickness of the material is defined by the variable RBTHCND.
298298

299299
block packagedata
300300
name rbthcnd

flopy/mf6/data/dfn/gwe-mwe.dfn

+2-2
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ tagged false
294294
in_record true
295295
reader urword
296296
longname thermal conductivity of the feature
297-
description is the thermal conductivity of the interface between the aquifer cell and the feature.
297+
description is the thermal conductivity of the material between the aquifer cell and the feature. The thickness of the material is defined by the variable FTHK.
298298

299299
block packagedata
300300
name fthk
@@ -404,7 +404,7 @@ in_record true
404404
reader urword
405405
time_series true
406406
longname well injection temperature
407-
description real or character value that defines the injection temperature $(e.g., ^{\circ}C or ^{\circ}F)$ for the well. If the Options block includes a TIMESERIESFILE entry (see the ``Time-Variable Input'' section), values can be obtained from a time series by entering the time-series name in place of a numeric value.
407+
description real or character value that defines the injection temperature $(e.g.,\:^{\circ}C\:or\:^{\circ}F)$ for the well. If the Options block includes a TIMESERIESFILE entry (see the ``Time-Variable Input'' section), values can be obtained from a time series by entering the time-series name in place of a numeric value.
408408

409409
block period
410410
name auxiliaryrecord

flopy/mf6/data/dfn/gwe-sfe.dfn

+4-4
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ tagged false
294294
in_record true
295295
reader urword
296296
longname boundary thermal conductivity
297-
description is the thermal conductivity of the of the interface between the aquifer cell and the stream reach.
297+
description is the thermal conductivity of the material between the aquifer cell and the stream reach. The thickness of the material is defined by the variable RBTHCND.
298298

299299
block packagedata
300300
name rbthcnd
@@ -404,7 +404,7 @@ in_record true
404404
reader urword
405405
time_series true
406406
longname rainfall temperature
407-
description real or character value that defines the rainfall temperature $(e.g., ^{\circ}C or ^{\circ}F)$ for the reach. If the Options block includes a TIMESERIESFILE entry (see the ``Time-Variable Input'' section), values can be obtained from a time series by entering the time-series name in place of a numeric value.
407+
description real or character value that defines the rainfall temperature $(e.g.,\:^{\circ}C\:or\:^{\circ}F)$ for the reach. If the Options block includes a TIMESERIESFILE entry (see the ``Time-Variable Input'' section), values can be obtained from a time series by entering the time-series name in place of a numeric value.
408408

409409
block period
410410
name evaporation
@@ -426,7 +426,7 @@ in_record true
426426
reader urword
427427
time_series true
428428
longname runoff temperature
429-
description real or character value that defines the temperature of runoff $(e.g., ^{\circ}C or ^{\circ}F)$ for the reach. Users are free to use whatever temperature scale they want, which might include negative temperatures. If the Options block includes a TIMESERIESFILE entry (see the ``Time-Variable Input'' section), values can be obtained from a time series by entering the time-series name in place of a numeric value.
429+
description real or character value that defines the temperature of runoff $(e.g.,\:^{\circ}C\:or\:^{\circ}F)$ for the reach. Users are free to use whatever temperature scale they want, which might include negative temperatures. If the Options block includes a TIMESERIESFILE entry (see the ``Time-Variable Input'' section), values can be obtained from a time series by entering the time-series name in place of a numeric value.
430430

431431
block period
432432
name inflow
@@ -437,7 +437,7 @@ in_record true
437437
reader urword
438438
time_series true
439439
longname inflow temperature
440-
description real or character value that defines the temperature of inflow $(e.g., ^{\circ}C or ^{\circ}F)$ for the reach. Users are free to use whatever temperature scale they want, which might include negative temperatures. If the Options block includes a TIMESERIESFILE entry (see the ``Time-Variable Input'' section), values can be obtained from a time series by entering the time-series name in place of a numeric value.
440+
description real or character value that defines the temperature of inflow $(e.g.,\:^{\circ}C\:or\:^{\circ}F)$ for the reach. Users are free to use whatever temperature scale they want, which might include negative temperatures. If the Options block includes a TIMESERIESFILE entry (see the ``Time-Variable Input'' section), values can be obtained from a time series by entering the time-series name in place of a numeric value.
441441

442442
block period
443443
name auxiliaryrecord

flopy/mf6/data/dfn/gwe-uze.dfn

+1-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ in_record true
384384
reader urword
385385
time_series true
386386
longname infiltration temperature
387-
description real or character value that defines the temperature of the infiltration $(e.g., ^{\circ}C or ^{\circ}F)$ for the UZF cell. If the Options block includes a TIMESERIESFILE entry (see the ``Time-Variable Input'' section), values can be obtained from a time series by entering the time-series name in place of a numeric value.
387+
description real or character value that defines the temperature of the infiltration $(e.g.,\:^{\circ}C\:or\:^{\circ}F)$ for the UZF cell. If the Options block includes a TIMESERIESFILE entry (see the ``Time-Variable Input'' section), values can be obtained from a time series by entering the time-series name in place of a numeric value.
388388

389389
block period
390390
name uzet

flopy/mf6/data/dfn/gwt-fmi.dfn

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type string
3333
tagged false
3434
reader urword
3535
longname flow type
36-
description is the word GWFBUDGET, GWFHEAD, GWFMOVER or the name of an advanced GWF stress package. If GWFBUDGET is specified, then the corresponding file must be a budget file from a previous GWF Model run. If an advanced GWF stress package name appears then the corresponding file must be the budget file saved by a LAK, SFR, MAW or UZF Package.
36+
description is the word GWFBUDGET, GWFHEAD, GWFMOVER or the name of an advanced GWF stress package. If GWFBUDGET is specified, then the corresponding file must be a budget file. If GWFHEAD is specified, the file must be a head file. If GWFGRID is specified, the file must be a binary grid file. If an advanced GWF stress package name appears then the corresponding file must be the budget file saved by a LAK, SFR, MAW or UZF Package.
3737

3838
block packagedata
3939
name filein

flopy/mf6/data/dfn/gwt-ist.dfn

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ valid linear freundlich langmuir
9292
reader urword
9393
optional true
9494
longname activate sorption
95-
description is a text keyword to indicate that sorption will be activated. Valid sorption options include LINEAR, FREUNDLICH, and LANGMUIR. Use of this keyword requires that BULK\_DENSITY and DISTCOEF are specified in the GRIDDATA block. If sorption is specified as FREUNDLICH or LANGMUIR then SP2 is also required in the GRIDDATA block.
95+
description is a text keyword to indicate that sorption will be activated. Valid sorption options include LINEAR, FREUNDLICH, and LANGMUIR. Use of this keyword requires that BULK\_DENSITY and DISTCOEF are specified in the GRIDDATA block. If sorption is specified as FREUNDLICH or LANGMUIR then SP2 is also required in the GRIDDATA block. The sorption option must be consistent with the sorption option specified in the MST Package or the program will terminate with an error.
9696

9797
block options
9898
name first_order_decay

flopy/mf6/data/dfn/prt-fmi.dfn

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type string
2525
tagged false
2626
reader urword
2727
longname flow type
28-
description is the word GWFBUDGET or GWFHEAD. If GWFBUDGET is specified, then the corresponding file must be a budget file from a previous GWF Model run.
28+
description is the word GWFBUDGET, GWFHEAD, or GWFGRID. If GWFBUDGET is specified, then the corresponding file must be a budget file. If GWFHEAD is specified, the file must be a head file. If GWFGRID is specified, the file must be a binary grid file.
2929

3030
block packagedata
3131
name filein

0 commit comments

Comments
 (0)