Skip to content

Commit

Permalink
FIX: Fix the io portion of the cfradial2 examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrover1 committed Dec 3, 2024
1 parent 22b0805 commit f7b6199
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/io/plot_read_cfradial2.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
# License: BSD 3 clause


import xradar as xd
import xarray as xr

import pyart
from pyart.testing import get_test_data

# Locate the test data and read in using xradar
filename = get_test_data("cfrad2.20080604_002217_000_SPOL_v36_SUR.nc")
tree = xd.io.open_cfradial1_datatree(filename)
tree = xr.open_datatree(filename)

# Give the tree Py-ART radar methods
radar = tree.pyart.to_radar()
Expand Down

0 comments on commit f7b6199

Please sign in to comment.