Skip to content

Commit

Permalink
Set gridgen files in a separate directory. Solves issue #158
Browse files Browse the repository at this point in the history
  • Loading branch information
rubencalje committed May 8, 2023
1 parent c09949e commit 0f34283
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nlmod/dims/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"""
import logging
import warnings

import os
import flopy
import geopandas as gpd
import numpy as np
Expand Down Expand Up @@ -267,7 +267,7 @@ def refine(
exe_name = util.get_exe_path("gridgen")

if model_ws is None:
model_ws = ds.model_ws
model_ws = os.path.join(ds.model_ws, "gridgen")

if version.parse(flopy.__version__) < version.parse("3.3.6"):
sim = flopy.mf6.MFSimulation()
Expand Down

0 comments on commit 0f34283

Please sign in to comment.