Skip to content

Commit e2359da

Browse files
authored
what is an xarray index but a dim group (#182)
1 parent e33f35f commit e2359da

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

flopy4/mf6/gwf/dis.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,18 @@ class Dis(Package):
2727
coord="lay",
2828
scope="gwf",
2929
default=1,
30-
group="grid",
3130
)
3231
ncol: int = dim(
3332
block="dimensions",
3433
coord="col",
3534
scope="gwf",
3635
default=2,
37-
group="grid",
3836
)
3937
nrow: int = dim(
4038
block="dimensions",
4139
coord="row",
4240
scope="gwf",
4341
default=2,
44-
group="grid",
4542
)
4643
delr: NDArray[np.float64] = array(
4744
block="griddata",

flopy4/mf6/spec.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ def dim(
5656
eq=True,
5757
init=True,
5858
metadata=None,
59-
group=None,
6059
block: str | None = None,
6160
):
6261
"""Define a dimension field."""
@@ -72,7 +71,6 @@ def dim(
7271
eq=eq,
7372
init=init,
7473
metadata=metadata,
75-
group=group,
7674
)
7775

7876

flopy4/mf6/tdis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class PeriodData:
2020
nstp: int
2121
tsmult: float
2222

23-
nper: int = dim(block="dimensions", coord="per", default=1, scope=ROOT, group="time")
23+
nper: int = dim(block="dimensions", coord="per", default=1, scope=ROOT)
2424
time_units: Optional[str] = field(block="options", default=None)
2525
start_date_time: Optional[datetime] = field(block="options", default=None)
2626
perlen: NDArray[np.float64] = array(

flopy4/spec.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ def dim(
4242
eq=True,
4343
init=True,
4444
metadata=None,
45-
group=None,
4645
):
4746
"""Define a dimension field."""
4847
return xattree_dim(
@@ -53,7 +52,6 @@ def dim(
5352
eq=eq,
5453
init=init,
5554
metadata=metadata,
56-
group=group,
5755
)
5856

5957

0 commit comments

Comments
 (0)