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 a6e1d2b commit 05679a6Copy full SHA for 05679a6
pyart/io/grid_io.py
@@ -317,7 +317,7 @@ def write_grid(
317
if arm_time_variables:
318
time = grid.time
319
dt = netCDF4.num2date(time["data"][0], time["units"])
320
- td = dt - datetime.fromtimestamp(0, tz=datetime.timezone.utc).replace(
+ td = dt - datetime.datetime.fromtimestamp(0, tz=datetime.timezone.utc).replace(
321
tzinfo=None
322
)
323
td = td.seconds + td.days * 24 * 3600
0 commit comments