Skip to content

Commit

Permalink
Update xradar/io/backends/nexrad_level2.py
Browse files Browse the repository at this point in the history
Co-authored-by: Kai Mühlbauer <[email protected]>
  • Loading branch information
aladinor and kmuehlbauer authored Nov 25, 2024
1 parent 3934831 commit f5f2af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xradar/io/backends/nexrad_level2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1637,7 +1637,7 @@ def open_nexradlevel2_datatree(
)
ls_ds: list[xr.Dataset] = [sweep_dict[sweep] for sweep in sweep_dict.keys()]
ls_ds.insert(0, xr.Dataset())
if title:
if title is not None:
ls_ds[1].attrs["title"] = title
dtree: dict = {
"/": _assign_root(ls_ds),
Expand Down

0 comments on commit f5f2af3

Please sign in to comment.