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 a259e5a commit b8cd60fCopy full SHA for b8cd60f
src/utils/utils.py
@@ -222,9 +222,11 @@ def write_mrc(ds, exp_folder=None):
222
if dt.hour == 0:
223
hour = 24
224
day = (dt - datetime.timedelta(hours=1)).day
225
+ month = (dt - datetime.timedelta(hours=1)).month
226
else:
227
hour = dt.hour
228
day = dt.day
229
+ month = dt.month
230
# writing the current files
231
with open(
232
f"{exp_folder}/oce_files/merc{dt.year-2000:02d}{dt.month:02d}{day:02d}{hour:02d}.mrc",
0 commit comments