Skip to content

Commit

Permalink
Merge branch 'openradar:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
syedhamidali authored Sep 26, 2023
2 parents 14cf664 + e10a697 commit ee158f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xradar/io/backends/odim.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ def _get_dset_what(self):
if not (gain == 1.0 and offset == 0.0):
attrs["scale_factor"] = gain
attrs["add_offset"] = offset
attrs["_FillValue"] = what.get("nodata", None)
attrs["_Undetect"] = what.get("undetect", 0.0)
attrs["_FillValue"] = what.get("nodata", None)
attrs["_Undetect"] = what.get("undetect", 0.0)
# if no quantity is given, use the group-name
attrs["quantity"] = _maybe_decode(
what.get("quantity", self._group.split("/")[-1])
Expand Down

0 comments on commit ee158f3

Please sign in to comment.