Skip to content

Commit

Permalink
FIX: Fix type of time for odim reader (#1425)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrover1 committed May 3, 2023
1 parent 52f1e1b commit 3fffcd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyart/aux_io/odim_h5.py
Expand Up @@ -324,7 +324,7 @@ def read_odim_h5(
_time = filemetadata("time")
if ("startazT" in ds1_how) and ("stopazT" in ds1_how):
# average between startazT and stopazT
t_data = np.empty((total_rays,), dtype="float32")
t_data = np.empty((total_rays,), dtype="float64")
for dset, start, stop in zip(datasets, ssri, seri):
t_start = hfile[dset]["how"].attrs["startazT"]
t_stop = hfile[dset]["how"].attrs["stopazT"]
Expand Down

0 comments on commit 3fffcd3

Please sign in to comment.