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 3.7.0 #2196

Merged
merged 62 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
1429985
ci(release): update version to 3.7.0.dev0
wpbonelli Feb 8, 2024
6c5ec50
fix changelog (reorganize some commits consistent with release notes)
wpbonelli Feb 8, 2024
626563a
Merge pull request #2100 from modflowpy/post-release-3.6.0-reset
wpbonelli Feb 8, 2024
b58a703
refactor(datautil): in is_int/float use .item() for np arrays (#2068)
wpbonelli Feb 19, 2024
dda482b
fix(PRT): allow empty recarray or dataframe for output conversion fns…
wpbonelli Feb 19, 2024
4c5e2ee
feat(get-modflow): support ARM mac distributions (#2110)
wpbonelli Feb 19, 2024
3122080
chore(deps): bump orhun/git-cliff-action from 2 to 3 (#2112)
dependabot[bot] Feb 20, 2024
40c0391
fix(gridintersect): gridintersect does not work for rotated vertex gr…
dbrakenhoff Feb 20, 2024
63c2af0
chore(get-modflow): revert 4c5e2ee for now (#2113)
wpbonelli Feb 20, 2024
4e6f4c1
update(plotting): check for user set axes limits (#2108)
jlarsen-usgs Feb 21, 2024
53a94a9
feat(get-modflow): support ARM mac nightly build (#2115)
wpbonelli Feb 23, 2024
f2f2d9d
chore(dependencies): restrict yanked pytest version 8.1.0 (#2120)
wpbonelli Mar 5, 2024
1fe5157
fix(str and repr): better repr and str output for transient data with…
scottrp Mar 13, 2024
5ec612a
feat(binaryfile): get budget by second package name `paknam2` (#2050)
ougx Mar 14, 2024
b142b08
chore: switch to ruff, ignore known test warnings, numpy compat fixes…
wpbonelli Mar 14, 2024
00b3d1c
refactor(get_cell_vertices): raise helpful messages, improve docs, ad…
mwtoews Mar 18, 2024
11f573b
fix(get_package and model_time): #2117, #2118 (#2123)
spaulins-usgs Mar 20, 2024
43e5178
feat(get-modflow): support windows parallel nightly build (#2128)
wpbonelli Mar 22, 2024
f75853f
feat: add optional custom print callable (#2121)
pya Mar 25, 2024
77e5e1d
refactor(modpathfile): toward unified particle tracking api (#2127)
wpbonelli Mar 28, 2024
e84f430
test(regression): fix syntax causing regression test failures (#2129)
wpbonelli Mar 28, 2024
ed262db
test(plotutil): fix syntax causing test failures (#2130)
wpbonelli Mar 28, 2024
18014af
feat(dis2d): introduce limited support for a 2D structured grid (for …
langevin-usgs Apr 1, 2024
3028863
feat(vtk): improve vtk particle track export (#2132)
wpbonelli Apr 2, 2024
4c44cb0
feat(disv1d): rename DISL to DISV1D (#2133)
langevin-usgs Apr 2, 2024
aa9f410
fix(modflow): dataframe support was patchy in a few packages (#2136)
wpbonelli Apr 4, 2024
4c717cb
chore(format): add isort rule, update default rules (#2137)
wpbonelli Apr 4, 2024
0fe4150
fix(dependencies): pin pyzmq >= 25.1.2 for arm macs (#2138)
wpbonelli Apr 5, 2024
0f14f1f
fix(empty transient data): Empty first stress period block (#1091) (#…
spaulins-usgs Apr 5, 2024
9e87acd
update(MFSimulationBase): allow simulations to have no attached model…
jlarsen-usgs Apr 6, 2024
5aaa5ff
fix(comma delimited, scientific notation): #2053 (#2144)
spaulins-usgs Apr 11, 2024
99b8884
chore(pandas): use sep instead of deprecated delim_whitespace (#2148)
wpbonelli Apr 12, 2024
f4a4274
fix(empty transient arrays): #2145 (#2146)
spaulins-usgs Apr 12, 2024
e023235
feat(disv2d): introduce support for a 2D vertex grid (for overland fl…
langevin-usgs Apr 15, 2024
57cf82e
fix(#2152): improve gridintersect geometry creation for vertex grids …
dbrakenhoff Apr 15, 2024
30e0349
fix(grb): update binary grid file reader for new grid types (#2157)
langevin-usgs Apr 17, 2024
187885b
fix(OptionBlock): deprecate attribute typo 'auxillary' -> 'auxiliary'…
mwtoews Apr 19, 2024
029a4e1
refactor(lgrutil): convert numpy types to builtins for np2 compat (#2…
wpbonelli Apr 19, 2024
ff82488
fix(typos): fixed a variety of typos throughout project (#2160)
mwtoews Apr 19, 2024
43cbe47
feat(vtk): include all arrays on pathline input (#2161)
wpbonelli Apr 19, 2024
bb5461b
fix(cvfdutil): polygon area and centroid calculations now use shapely…
langevin-usgs Apr 23, 2024
e50ab9a
feat(mp7particledata): add localz option for PRT PRP conversions (#2166)
wpbonelli Apr 24, 2024
50666a5
test: mark tests requiring shapely (#2171)
wpbonelli Apr 30, 2024
c7af787
refactor(mp7particledata): match mp7 order in to_coords()/to_prp() (#…
wpbonelli May 1, 2024
4e1d53a
feat(sim options block packages): Support for packages declared in s…
spaulins-usgs May 1, 2024
50bbd01
fix(gridgen): remove duplicate disv grid vertices #1492 (#2119)
wpbonelli May 2, 2024
6237cec
feat(sim options block packages): Support for packages declared in si…
spaulins-usgs May 2, 2024
864732d
fix(discretization/UnstructuredGrid) (#2177)
cnicol-gwlogic May 3, 2024
8e16aab
fix(mfmodel): fix budgetkey for transport models (#2176)
wpbonelli May 3, 2024
7122219
feat(MfList): support kper field in stress period data (#2179)
wpbonelli May 4, 2024
dc35b09
test: show test package extras in pytest report header (#2181)
mwtoews May 6, 2024
15d1d7f
fix(gridintersect): relax cell boundary checks with np.isclose (#2173)
wpbonelli May 6, 2024
4968753
test(gridgen): mark test requiring shapely and pyshp (#2184)
wpbonelli May 6, 2024
344579b
fix(MFFileAccessArray): read_text_data_from_file modified for non-lay…
langevin-usgs May 6, 2024
12f80dc
docs(developer): document ruff, mention modflow-devtools, cleanup (#2…
wpbonelli May 6, 2024
acfd0d3
fix(styles): remove need for platform evaluation (#2188)
jdhughes-usgs May 9, 2024
a7ee6b2
test(snapshots): use devtools snapshot fixtures (#2189)
wpbonelli May 15, 2024
29e247d
fix(get_structured_faceflows): fix lower face flows when idomain is -…
vincentpost May 17, 2024
7879c2f
fix(tutorial, verbosity setter): fixed tutorial model name and verbos…
scottrp May 21, 2024
71350bc
ci(release): remove unneeded run_notebooks.py script (#2194)
wpbonelli May 23, 2024
a49b613
chore(dfns): update dfns and mf6 components (#2195)
wpbonelli May 23, 2024
0764153
ci(release): set version to 3.7.0, update plugins from DFN files, upd…
github-actions[bot] May 23, 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
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .docs/Notebooks/mf6_data_tutorial01.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

temp_dir = TemporaryDirectory()
workspace = temp_dir.name
name = "tutorial01_mf6_data"
name = "tutorial01"

# set up simulation and basic packages
sim = flopy.mf6.MFSimulation(sim_name=name, sim_ws=workspace)
Expand All @@ -56,7 +56,8 @@
)
flopy.mf6.ModflowIms(sim)
gwf = flopy.mf6.ModflowGwf(sim, modelname=name, save_flows=True)
flopy.mf6.ModflowGwfdis(gwf, nlay=3, nrow=4, ncol=5)
botm = [30.0, 20.0, 10.0]
flopy.mf6.ModflowGwfdis(gwf, nlay=3, nrow=4, ncol=5, top=50.0, botm=botm)
flopy.mf6.ModflowGwfic(gwf)
flopy.mf6.ModflowGwfnpf(gwf, save_specific_discharge=True)
flopy.mf6.ModflowGwfchd(
Expand Down
7 changes: 1 addition & 6 deletions .docs/Notebooks/mf6_mnw2_tutorial01.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@
)
node_data

# #### convert the DataFrame to a recarray for compatibility with flopy

node_data = node_data.to_records()
node_data

# ### Stress period information
# (could also be developed externally)

Expand All @@ -97,7 +92,7 @@
stress_period_data

pers = stress_period_data.groupby("per")
stress_period_data = {i: pers.get_group(i).to_records() for i in [0, 1]}
stress_period_data = {i: pers.get_group(i) for i in [0, 1]}
stress_period_data

# ### Make ``ModflowMnw2`` package object
Expand Down
2 changes: 1 addition & 1 deletion .docs/Notebooks/modflow_postprocessing_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
grid, os.path.join(workspace, "heads5_rot.tif"), hdslayer, nodata=nodata
)

results = np.loadtxt(os.path.join(workspace, f"heads5_rot.asc"), skiprows=6)
results = np.loadtxt(os.path.join(workspace, "heads5_rot.asc"), skiprows=6)
results[results == nodata] = np.nan
plt.imshow(results)
plt.colorbar()
Expand Down
2 changes: 1 addition & 1 deletion .docs/Notebooks/modpath7_unstructured_lateral_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@
sim.set_sim_path(workspace)
sim.write_simulation()
success, buff = sim.run_simulation(silent=True, report=True)
assert success, f"Failed to run MF6 simulation."
assert success, "Failed to run MF6 simulation."
for line in buff:
print(line)

Expand Down
4 changes: 2 additions & 2 deletions .docs/Notebooks/nwt_option_blocks_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@

options.noprint = True

# and the user can also add auxillary variables by using `options.auxillary`
# and the user can also add auxiliary variables by using `options.auxiliary`

options.auxillary = ["aux", "iface"]
options.auxiliary = ["aux", "iface"]

# ### Now we can create a new wel file using this `OptionBlock`
#
Expand Down
5 changes: 4 additions & 1 deletion .docs/Notebooks/plot_cross_section_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,10 @@
# Plot a shapefile of
shp = os.path.join(loadpth, "gis", "bedrock_outcrop_hole_rotate14")
patch_collection = mapview.plot_shapefile(
shp, edgecolor="green", linewidths=2, alpha=0.5 # facecolor='none',
shp,
edgecolor="green",
linewidths=2,
alpha=0.5, # facecolor='none',
)
# Plot a shapefile of a cross-section line
shp = os.path.join(loadpth, "gis", "cross_section_rotate14")
Expand Down
12 changes: 9 additions & 3 deletions .docs/Notebooks/plot_map_view_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,10 @@
# Plot a shapefile of
shp = os.path.join(loadpth, "gis", "bedrock_outcrop_hole")
patch_collection = mapview.plot_shapefile(
shp, edgecolor="green", linewidths=2, alpha=0.5 # facecolor='none',
shp,
edgecolor="green",
linewidths=2,
alpha=0.5, # facecolor='none',
)
# Plot a shapefile of a cross-section line
shp = os.path.join(loadpth, "gis", "cross_section")
Expand Down Expand Up @@ -488,7 +491,10 @@
# Plot a shapefile of
shp = os.path.join(loadpth, "gis", "bedrock_outcrop_hole_rotate14")
patch_collection = mapview.plot_shapefile(
shp, edgecolor="green", linewidths=2, alpha=0.5 # facecolor='none',
shp,
edgecolor="green",
linewidths=2,
alpha=0.5, # facecolor='none',
)
# Plot a shapefile of a cross-section line
shp = os.path.join(loadpth, "gis", "cross_section_rotate14")
Expand Down Expand Up @@ -1024,7 +1030,7 @@ def load_iverts(fname):
plt.colorbar(quadmesh, shrink=0.75)

# change the font type to comic sans
styles.set_font_type(family="fantasy", fontname="Comic Sans MS"),
(styles.set_font_type(family="fantasy", fontname="Comic Sans MS"),)

# use styles to add a heading, xlabel, ylabel, and remove tick marks
styles.heading(
Expand Down
2 changes: 1 addition & 1 deletion .docs/Notebooks/swi2package_example3.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def MergeData(ndim, zdata, tb):
found.fill(False)
for idx, layer in enumerate(zdata):
for jdx, z in enumerate(layer):
if found[jdx] == True:
if found[jdx] is True:
continue
t0 = tb[idx][0] - sv
t1 = tb[idx][1] + sv
Expand Down
60 changes: 57 additions & 3 deletions .docs/md/version_changes.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,92 @@
# Changelog
### Version 3.7.0

#### New features

* [feat(get-modflow)](https://github.com/modflowpy/flopy/commit/4c5e2ee3ec6699f61acb04a5e7bd35407b16f9ff): Support ARM mac distributions (#2110). Committed by wpbonelli on 2024-02-19.
* [feat(get-modflow)](https://github.com/modflowpy/flopy/commit/53a94a9c6d57f8311318836b4291ac73b4b7f728): Support ARM mac nightly build (#2115). Committed by wpbonelli on 2024-02-23.
* [feat(binaryfile)](https://github.com/modflowpy/flopy/commit/5ec612a1a5b21c094bd910c9ed39f3ea5fef5084): Get budget by second package name `paknam2` (#2050). Committed by Michael Ou@SSPA on 2024-03-14.
* [feat(get-modflow)](https://github.com/modflowpy/flopy/commit/43e5178db2b52f136cab3d53cb290c2576af21ee): Support windows parallel nightly build (#2128). Committed by wpbonelli on 2024-03-22.
* [feat](https://github.com/modflowpy/flopy/commit/f75853f9fe9921c5ed1aa4e6ab4cec594338905f): Add optional custom print callable (#2121). Committed by Mike Müller on 2024-03-25.
* [feat(dis2d)](https://github.com/modflowpy/flopy/commit/18014af25dff00d659ebe30f9b5dc82da0143be3): Introduce limited support for a 2D structured grid (for overland flow) (#2131). Committed by langevin-usgs on 2024-04-01.
* [feat(vtk)](https://github.com/modflowpy/flopy/commit/3028863dc48b6eb8622b0dcd1a4918cd31547429): Improve vtk particle track export (#2132). Committed by wpbonelli on 2024-04-02.
* [feat(disv1d)](https://github.com/modflowpy/flopy/commit/4c44cb0d9d6ef02c092938dad943cdb8285f82a7): Rename DISL to DISV1D (#2133). Committed by langevin-usgs on 2024-04-02.
* [feat(disv2d)](https://github.com/modflowpy/flopy/commit/e023235ad40cd373d428ce5c1533bd0047109a96): Introduce support for a 2D vertex grid (for overland flow) (#2151). Committed by langevin-usgs on 2024-04-15.
* [feat(vtk)](https://github.com/modflowpy/flopy/commit/43cbe4762f6f339a554052a1d0d5836d863da13f): Include all arrays on pathline input (#2161). Committed by wpbonelli on 2024-04-19.
* [feat(mp7particledata)](https://github.com/modflowpy/flopy/commit/e50ab9ae4fce67db947a022da994b26150df13aa): Add localz option for PRT PRP conversions (#2166). Committed by wpbonelli on 2024-04-24.
* [feat(sim options block packages)](https://github.com/modflowpy/flopy/commit/4e1d53ac3685d9027b1ced45749c9e20d8b701d5): Support for packages declared in simulation name file's options block (#2164). Committed by spaulins-usgs on 2024-05-01.
* [feat(sim options block packages)](https://github.com/modflowpy/flopy/commit/6237cecd5f393a15857b653e030130ab4861e3a5): Support for packages declared in simulation name file's options block (#2174). Committed by spaulins-usgs on 2024-05-02.
* [feat(MfList)](https://github.com/modflowpy/flopy/commit/712221918b1f32b881244a19781d01f92d150196): Support kper field in stress period data (#2179). Committed by wpbonelli on 2024-05-04.

#### Bug fixes

* [fix(PRT)](https://github.com/modflowpy/flopy/commit/dda482b18a6e857ca66a44bbbd69bc3145a68060): Allow empty recarray or dataframe for output conversion fns (#2103). Committed by wpbonelli on 2024-02-19.
* [fix(gridintersect)](https://github.com/modflowpy/flopy/commit/40c03913bdf4329e8540d365ccfffe1c2bf4fccf): Gridintersect does not work for rotated vertex grids (#2107). Committed by Davíd Brakenhoff on 2024-02-20.
* [fix(str and repr)](https://github.com/modflowpy/flopy/commit/1fe51578309a693fae45d843e50aa6f9c86ad70c): Better repr and str output for transient data with multiple blocks (#2058) (#2102). Committed by scottrp on 2024-03-13.
* [fix(get_package and model_time)](https://github.com/modflowpy/flopy/commit/11f573b0341b461a584faae4fd82ea4b2bbffc69): #2117, #2118 (#2123). Committed by spaulins-usgs on 2024-03-20.
* [fix(modflow)](https://github.com/modflowpy/flopy/commit/aa9f410a4cfd2eecb9f5fa824fbf20103bf45bc0): Dataframe support was patchy in a few packages (#2136). Committed by wpbonelli on 2024-04-04.
* [fix(dependencies)](https://github.com/modflowpy/flopy/commit/0fe415058118ca67a1e02cd5e583ce589a65c9f1): Pin pyzmq >= 25.1.2 for arm macs (#2138). Committed by wpbonelli on 2024-04-05.
* [fix(empty transient data)](https://github.com/modflowpy/flopy/commit/0f14f1fdc02a34338795396549f15758e3ab2ba0): Empty first stress period block (#1091) (#2139). Committed by spaulins-usgs on 2024-04-05.
* [fix(comma delimited, scientific notation)](https://github.com/modflowpy/flopy/commit/5aaa5fff0fd9004d16f1699261ed8ef72577a67c): #2053 (#2144). Committed by spaulins-usgs on 2024-04-11.
* [fix(empty transient arrays)](https://github.com/modflowpy/flopy/commit/f4a4274ce676713614f47fc4968315ed30297b35): #2145 (#2146). Committed by spaulins-usgs on 2024-04-12.
* [fix(#2152)](https://github.com/modflowpy/flopy/commit/57cf82ebfcfabfaaf65bde88619070a20a7744ac): Improve gridintersect geometry creation for vertex grids (#2154). Committed by Davíd Brakenhoff on 2024-04-15.
* [fix(grb)](https://github.com/modflowpy/flopy/commit/30e03490e4afadda6ed155cff1c319ebd3c6d5b0): Update binary grid file reader for new grid types (#2157). Committed by langevin-usgs on 2024-04-17.
* [fix(OptionBlock)](https://github.com/modflowpy/flopy/commit/187885b4a3b9f54dbe27d568639931b8094b488e): Deprecate attribute typo 'auxillary' -> 'auxiliary' (#2159). Committed by Mike Taves on 2024-04-19.
* [fix(typos)](https://github.com/modflowpy/flopy/commit/ff82488c0105db52931730fac801fa49a504d1cf): Fixed a variety of typos throughout project (#2160). Committed by Mike Taves on 2024-04-19.
* [fix(cvfdutil)](https://github.com/modflowpy/flopy/commit/bb5461ba32a2047d7451ca53d96ab1643f47309b): Polygon area and centroid calculations now use shapely (#2165). Committed by langevin-usgs on 2024-04-23.
* [fix(gridgen)](https://github.com/modflowpy/flopy/commit/50bbd01a5bae8e80d8345c3f314cabd03df5bb22): Remove duplicate disv grid vertices #1492 (#2119). Committed by wpbonelli on 2024-05-02.
* [fix(mfmodel)](https://github.com/modflowpy/flopy/commit/8e16aab76b6e4f892fcf7031488324c3d490b75b): Fix budgetkey for transport models (#2176). Committed by wpbonelli on 2024-05-03.
* [fix(gridintersect)](https://github.com/modflowpy/flopy/commit/15d1d7f5eaf5f50455ff99a876e05c93a947aa5b): Relax cell boundary checks with np.isclose (#2173). Committed by wpbonelli on 2024-05-06.
* [fix(MFFileAccessArray)](https://github.com/modflowpy/flopy/commit/344579b9e23484cd7947948a9ca24a01e161b20e): Read_text_data_from_file modified for non-layered (#2183). Committed by langevin-usgs on 2024-05-06.
* [fix(styles)](https://github.com/modflowpy/flopy/commit/acfd0d37ec0dcb186635af8e70f8a5afbd1eadb6): Remove need for platform evaluation (#2188). Committed by jdhughes-usgs on 2024-05-09.
* [fix(get_structured_faceflows)](https://github.com/modflowpy/flopy/commit/29e247dbe464a861be8ccb4a7ad84f3c4020dd59): Fix lower face flows when idomain is -1 (#2192). Committed by vincentpost on 2024-05-17.
* [fix(tutorial, verbosity setter)](https://github.com/modflowpy/flopy/commit/7879c2f0e41299f70ec0b3b03d756feaf4f20f37): Fixed tutorial model name and verbosity setter (#2182) (#2193). Committed by scottrp on 2024-05-21.

#### Refactoring

* [refactor(datautil)](https://github.com/modflowpy/flopy/commit/b58a70379030d55735858201b16b2599b266ec50): In is_int/float use .item() for np arrays (#2068). Committed by wpbonelli on 2024-02-19.
* [refactor(plotting)](https://github.com/modflowpy/flopy/commit/4e6f4c1b788ec5e64559975afffbcea539def8ac): Check for user set axes limits (#2108). Committed by Joshua Larsen on 2024-02-21.
* [refactor(get_cell_vertices)](https://github.com/modflowpy/flopy/commit/00b3d1c75bcb98bd0ab99c4a9fb45cd8f829e8d3): Raise helpful messages, improve docs, add tests (#2125). Committed by Mike Taves on 2024-03-18.
* [refactor(modpathfile)](https://github.com/modflowpy/flopy/commit/77e5e1dfbadad3fac3be9bf9cf6f0de64f826f66): Toward unified particle tracking api (#2127). Committed by wpbonelli on 2024-03-28.
* [refactor(MFSimulationBase)](https://github.com/modflowpy/flopy/commit/9e87acddcf0740aac491826ef86fd45ae2304dac): Allow simulations to have no attached models (#2140). Committed by Joshua Larsen on 2024-04-06.
* [refactor(lgrutil)](https://github.com/modflowpy/flopy/commit/029a4e165caed6af760517ed7bc1f2e62e218858): Convert numpy types to builtins for np2 compat (#2158). Committed by wpbonelli on 2024-04-19.
* [refactor(mp7particledata)](https://github.com/modflowpy/flopy/commit/c7af787110eb1d984fa660c49014c999d87b0774): Match mp7 order in to_coords()/to_prp() (#2172). Committed by wpbonelli on 2024-05-01.

### Version 3.6.0

#### New features

* [feat(Mf6Splitter)](https://github.com/modflowpy/flopy/commit/44abb51b4fb2034d94d82cf686f44c3ddf238a1f): Preserve MFSimulation version & exe_name (#2033). Committed by wpbonelli on 2023-12-07.
* [feat(set all data external options)](https://github.com/modflowpy/flopy/commit/02a2f91e802185fd6b31929f99e31fecbb41c499): Additional parameters added (#2041). Committed by scottrp on 2023-12-18.
* [feat(PRT)](https://github.com/modflowpy/flopy/commit/a53cda7ff8f724dfc362b432ac9be8c98cc04165): Add conversion/plotting utils for MF6 particle tracking models (#1753). Committed by wpbonelli on 2023-12-22.
* [feat](https://github.com/modflowpy/flopy/commit/6899553828725a302e23b5ec787cea481ce85d59): Add static methods to read gridgen quadtreegrid files (#2061). Committed by Martin Vonk on 2024-01-17.
* [feat(GeoSpatialCollection)](https://github.com/modflowpy/flopy/commit/f8eac0feafd981d84367128a0fdf8e7e1789fa9b): Add support for GeoDataFrame objects (#2063). Committed by Joshua Larsen on 2024-01-26.
* [feat(GeoSpatialCollection)](https://github.com/modflowpy/flopy/commit/86eb092bf5f4d44cc449a458b77114dcefcbdda7): Add support for geopandas GeoSeries and GeoArray (#2085). Committed by Joshua Larsen on 2024-02-02.

#### Bug fixes

* [fix(gridgen)](https://github.com/modflowpy/flopy/commit/b3510e99b062ba9e950c68db4df95e87375a1ab8): Fix add_refinement_feature() shapefile support (#2022). Committed by wpbonelli on 2023-11-30.
* [fix(gridgen)](https://github.com/modflowpy/flopy/commit/51109751cf0f6c4ebfbc70ccf0ba0ced7fabd4b8): Support arbitrary path-like for shapefiles (#2026). Committed by wpbonelli on 2023-12-04.
* [fix(subpackages)](https://github.com/modflowpy/flopy/commit/788a8df62b1519a621c2721bec12f75cfb11a8d7): Fixed detection issue of subpackages in some filein records (#2025). Committed by scottrp on 2023-12-04.
* [fix(recarrays with cellid)](https://github.com/modflowpy/flopy/commit/a8800396b987e676bf0710a9d52a8cdce7b4d13f): Fixes bug when setting data as recarrays with cellids (#2029). Committed by scottrp on 2023-12-05.
* [fix(Mf6Splitter)](https://github.com/modflowpy/flopy/commit/44abb51b4fb2034d94d82cf686f44c3ddf238a1f): Preserve MFSimulation version & exe_name (#2033). Committed by wpbonelli on 2023-12-07.
* [fix(data storage)](https://github.com/modflowpy/flopy/commit/97da3961f531b26001e8cf55db0de45fc41befad): Added numpy type check for consistent integer and float sizes (32-bit vs 64-bit) (#2062). Committed by scottrp on 2024-01-17.
* [fix(obs package loading)](https://github.com/modflowpy/flopy/commit/a017b77493482124c2f9a635bad19a0c0dfed8c9): Fixed problem with loading multiple continuous blocks (#2058) (#2064). Committed by scottrp on 2024-01-22.
* [fix(particledata)](https://github.com/modflowpy/flopy/commit/ea73e0d2f52cf22511c211ea4f5dd5b0a96be69b): Support 1D numpy array for partlocs (#2074). Committed by wpbonelli on 2024-01-25.
* [fix(tri2vor)](https://github.com/modflowpy/flopy/commit/1ab25fe1cd9b55a5128eaade60bd09122f82d096): Remove invalid geometries from voronoi nodes (#2076). Committed by Joshua Larsen on 2024-01-26.
* [fix(MFSimulationList)](https://github.com/modflowpy/flopy/commit/f37610d1f775dbfcc935b129d76c13c407b30e3b): Fix comma spacing in error message (#2090). Committed by wpbonelli on 2024-02-04.
* [fix(numpy 2.0 deprecation)](https://github.com/modflowpy/flopy/commit/ad35b8dda86959f8cdf4560934ab5f309dc28d56): Replace np.alltrue with np.all (#2088). Committed by mnfienen on 2024-02-04.
* [fix(usgcln)](https://github.com/modflowpy/flopy/commit/4ffa04e0757aabf000e6d87a33901c7265b1fa9d): add explicit second dimension to util2d.load calls (#2097). Committed by cnicol-gwlogic on 2024-02-07.

#### Refactoring

* [refactor(.gitattributes)](https://github.com/modflowpy/flopy/commit/0f33a22f1a01a46949cbb56b61bf41a0c73d78f2): Configure github-linguist exclusions (#2023). Committed by Mike Taves on 2023-12-01.
* [refactor(remap_array)](https://github.com/modflowpy/flopy/commit/5a4533bf115dc4876a811b11d87d353ae01da8ea): Trap for None type idomain (#2034). Committed by Joshua Larsen on 2023-12-07.
* [refactor(mbase)](https://github.com/modflowpy/flopy/commit/66b18624f78f36acd587c5a5bdcd90503397c3d1): Append not prepend flopy bindir to PATH (#2037). Committed by wpbonelli on 2023-12-08.
* [refactor(pyproject.toml)](https://github.com/modflowpy/flopy/commit/b94745dc4f72a4568ab084a762f4d6a1502afbfd): Add dev dependency group (#2075). Committed by wpbonelli on 2024-01-25.
* [refactor(GeoSpatialCollection)](https://github.com/modflowpy/flopy/commit/f8eac0feafd981d84367128a0fdf8e7e1789fa9b): Add support for GeoDataFrame objects (#2063). Committed by Joshua Larsen on 2024-01-26.
* [refactor(contour_array)](https://github.com/modflowpy/flopy/commit/92853a95f6d38b73e561e3e155d92b75b93afb5d): Add tri_mask kwarg to parameters (#2078). Committed by Joshua Larsen on 2024-02-01.
* [refactor(dependencies)](https://github.com/modflowpy/flopy/commit/da8a3bdd6ecdbced4a22054b57c45dca470ec709): Remove python-dateutil (#2080). Committed by wpbonelli on 2024-02-01.
* [refactor(_plot_package_helper)](https://github.com/modflowpy/flopy/commit/cff4f2351d92ef8f894633481248b645c07f5c83): Pass kwargs to datatype helpers (#2081). Committed by Joshua Larsen on 2024-02-02.
* [refactor(convert_grid)](https://github.com/modflowpy/flopy/commit/b9ca77160cab2bf0e1af1d1d17ac82f3fa6e9d84): Added offset and angrot info to conversion (#2083). Committed by Joshua Larsen on 2024-02-02.
* [refactor(GeoSpatialCollection)](https://github.com/modflowpy/flopy/commit/86eb092bf5f4d44cc449a458b77114dcefcbdda7): Add support for geopandas GeoSeries and GeoArray (#2085). Committed by Joshua Larsen on 2024-02-02.
* [refactor(dependencies)](https://github.com/modflowpy/flopy/commit/391a3690c57ccf2951f7d618c1afd4168dfa0f9b): Pin numpy<2 until other reqs support it (#2092). Committed by wpbonelli on 2024-02-07.
* [refactor(mf6)](https://github.com/modflowpy/flopy/commit/d3e8a2a4342766288166e2251e96721007f5217f): Update DFNS for mf6.4.3, regen/reformat .py files (#2095). Committed by wpbonelli on 2024-02-07.

Expand Down
28 changes: 4 additions & 24 deletions .github/workflows/commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,31 +61,11 @@ jobs:
pip install .
pip install ".[lint]"

- name: Run isort
run: |
echo "if isort check fails update isort using"
echo " pip install isort --upgrade"
echo "and run"
echo " isort ./flopy"
echo "and then commit the changes."
isort --check --diff ./flopy

- name: Run black
run: |
echo "if black check fails update black using"
echo " pip install black --upgrade"
echo "and run"
echo " black ./flopy"
echo "and then commit the changes."
black --check --diff ./flopy

- name: Run flake8
run: |
flake8 --count --show-source --exit-zero ./flopy
- name: Lint
run: ruff check .

- name: Run pylint
run: |
pylint --jobs=2 --errors-only --exit-zero ./flopy
- name: Check format
run: ruff format . --check

- name: Check CITATION.cff
run: |
Expand Down
Loading
Loading