Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .docs/Notebooks/feat_working_stack_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
df_flux

# +
groups = df_flux.groupby(lambda x: x.split("_")[-1], axis=1).groups
groups = df_flux.T.groupby(lambda x: x.split("_")[-1]).groups
df_flux_in = df_flux.loc[:, groups["IN"]]
df_flux_in.columns = df_flux_in.columns.map(lambda x: x.split("_")[0])

Expand Down
1 change: 0 additions & 1 deletion .docs/Notebooks/grid_intersection_example.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# %%
# ---
# jupyter:
# jupytext:
Expand Down
2 changes: 0 additions & 2 deletions .docs/Notebooks/plot_cross_section_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
# ### Load and Run an Existing MODFLOW-2005 Model
# A model called the "Freyberg Model" is located in the loadpth folder. In the following code block, we load that model, then change into a new workspace (modelpth) where we recreate and run the model. For this to work properly, the MODFLOW-2005 executable (mf2005) must be in the path. We verify that it worked correctly by checking for the presence of freyberg.hds and freyberg.cbc.

# +
ml = flopy.modflow.Modflow.load(
"freyberg.nam", model_ws=data_path / sim_name, exe_name=exe_name_2005, version=v2005
)
Expand Down Expand Up @@ -495,7 +494,6 @@
known_hash=fhash,
)

# +
# load the Freyberg model into mf6-flopy and run the simulation
sim = flopy.mf6.MFSimulation.load(
sim_name="mfsim.nam",
Expand Down
3 changes: 0 additions & 3 deletions .docs/Notebooks/plot_map_view_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#


# +
import os
import sys
from pathlib import Path
Expand Down Expand Up @@ -92,7 +91,6 @@
known_hash=fhash,
)

# +
ml = flopy.modflow.Modflow.load(
"freyberg.nam", model_ws=data_path / sim_name, exe_name=exe_name_2005, version=v2005
)
Expand All @@ -114,7 +112,6 @@
#
# The MODFLOW-2005 model created in the previous code block will be used to create a endpoint capture zone and pathline analysis for the pumping wells in the model.

# +
mp = flopy.modpath.Modpath6(
"freybergmp", exe_name=exe_mp, modflowmodel=ml, model_ws=modelpth
)
Expand Down