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 44d0aa5 commit b14b862Copy full SHA for b14b862
mikeio/dfsu/_layered.py
@@ -128,7 +128,7 @@ def time(self) -> pd.DatetimeIndex:
128
return pd.date_range(
129
start=self.start_time,
130
periods=self.n_timesteps,
131
- freq=f"{self.timestep}s",
+ freq=f"{int(self.timestep)}s",
132
)
133
else:
134
raise NotImplementedError(
mikeio/dfsu/_spectral.py
@@ -120,7 +120,7 @@ def time(self) -> pd.DatetimeIndex:
120
121
122
123
- freq=f"{self.timestep}S",
124
125
126
0 commit comments