Skip to content

Commit

Permalink
Minor metadata correction to core.radar.get_elevation (#1489)
Browse files Browse the repository at this point in the history
* FIX: change deprecated np.str in arm_vpt to str

* Update default wind_size in calculate_velocity_texture from 4 to 3
Using an odd number prevents single index offsets in placement in
case of an even size

* ADD: optional rectangular window dims for velocity texture analysis.
Also, modify the default window size to 3 instead of the previous
value of 4 (even number resulting in a potential offset).

* FIX: nyquist velocity dtype in radar obj loaded with read_kazr

* pep8

* line reformatting per black

* TST: unit tests for rectangular texture window

* STY: linting (black)

* FIX: Add in linting fixes

* FIX: metadata in core.radar.get_elevation

---------

Co-authored-by: mgrover1 <[email protected]>
  • Loading branch information
isilber and mgrover1 authored Dec 1, 2023
1 parent 35aaff2 commit f0df097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyart/core/radar.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ def get_elevation(self, sweep, copy=False):
Returns
-------
azimuths : array
elevation : array
Array containing the elevation angles for a given sweep.
"""
Expand Down

0 comments on commit f0df097

Please sign in to comment.