We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72b4842 commit fe172a5Copy full SHA for fe172a5
imod/mf6/sto.py
@@ -65,9 +65,10 @@ def open(
65
for field, data in griddata.items():
66
content[field] = xr.DataArray(data, coords, dims)
67
periods = content.pop("periods")
68
+ time_index = np.fromiter(periods.keys(), dtype=int) - 1
69
content["transient"] = xr.DataArray(
70
list(periods.values()),
- coords={"time": globaltimes[list(periods.keys())]},
71
+ coords={"time": globaltimes[time_index]},
72
dims=("time",),
73
)
74
0 commit comments