From 728368fa479c275cd7809b3673ee393161870cdf Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Wed, 30 Jul 2025 23:38:28 -0400 Subject: [PATCH] what is an xarray index but a dim group --- flopy4/mf6/gwf/dis.py | 3 --- flopy4/mf6/spec.py | 2 -- flopy4/mf6/tdis.py | 2 +- flopy4/spec.py | 2 -- 4 files changed, 1 insertion(+), 8 deletions(-) diff --git a/flopy4/mf6/gwf/dis.py b/flopy4/mf6/gwf/dis.py index 261560ad..d39b8f4d 100644 --- a/flopy4/mf6/gwf/dis.py +++ b/flopy4/mf6/gwf/dis.py @@ -27,21 +27,18 @@ class Dis(Package): coord="lay", scope="gwf", default=1, - group="grid", ) ncol: int = dim( block="dimensions", coord="col", scope="gwf", default=2, - group="grid", ) nrow: int = dim( block="dimensions", coord="row", scope="gwf", default=2, - group="grid", ) delr: NDArray[np.float64] = array( block="griddata", diff --git a/flopy4/mf6/spec.py b/flopy4/mf6/spec.py index 8f0d566a..965a89e4 100644 --- a/flopy4/mf6/spec.py +++ b/flopy4/mf6/spec.py @@ -56,7 +56,6 @@ def dim( eq=True, init=True, metadata=None, - group=None, block: str | None = None, ): """Define a dimension field.""" @@ -72,7 +71,6 @@ def dim( eq=eq, init=init, metadata=metadata, - group=group, ) diff --git a/flopy4/mf6/tdis.py b/flopy4/mf6/tdis.py index 33fc7af2..ee54337f 100644 --- a/flopy4/mf6/tdis.py +++ b/flopy4/mf6/tdis.py @@ -20,7 +20,7 @@ class PeriodData: nstp: int tsmult: float - nper: int = dim(block="dimensions", coord="per", default=1, scope=ROOT, group="time") + nper: int = dim(block="dimensions", coord="per", default=1, scope=ROOT) time_units: Optional[str] = field(block="options", default=None) start_date_time: Optional[datetime] = field(block="options", default=None) perlen: NDArray[np.float64] = array( diff --git a/flopy4/spec.py b/flopy4/spec.py index e719706e..3d9b5ddb 100644 --- a/flopy4/spec.py +++ b/flopy4/spec.py @@ -42,7 +42,6 @@ def dim( eq=True, init=True, metadata=None, - group=None, ): """Define a dimension field.""" return xattree_dim( @@ -53,7 +52,6 @@ def dim( eq=eq, init=init, metadata=metadata, - group=group, )