Skip to content

Commit

Permalink
FIX: Fix small bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrover1 committed Sep 29, 2023
1 parent f2f0629 commit e250e6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/xradar/plot_xradar.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plot a PPI Using Xradar and Py-ART
==================================
An example which uses xradar andd Py-ART to create a PPI plot of a Cfradial file.
An example which uses xradar and Py-ART to create a PPI plot of a Cfradial file.
"""

Expand Down
8 changes: 4 additions & 4 deletions tests/xradar/test_accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def test_get_field(filename=filename):
)
radar = pyart.xradar.Xradar(dtree)
reflectivity = radar.get_field(0, "DBZ")
assert reflectivity.shape == (483, 996)
assert reflectivity.shape == (480, 996)


def test_get_gate_x_y_z(filename=filename):
Expand All @@ -23,9 +23,9 @@ def test_get_gate_x_y_z(filename=filename):
)
radar = pyart.xradar.Xradar(dtree)
x, y, z = radar.get_gate_x_y_z(0)
assert x.shape == (483, 996)
assert y.shape == (483, 996)
assert z.shape == (483, 996)
assert x.shape == (480, 996)
assert y.shape == (480, 996)
assert z.shape == (480, 996)


def test_add_field(filename=filename):
Expand Down

0 comments on commit e250e6a

Please sign in to comment.