Skip to content

Commit

Permalink
Update NRadar.py
Browse files Browse the repository at this point in the history
fix height calculation issue.
  • Loading branch information
YvZheng committed Jan 13, 2023
1 parent ecebacb commit 2988100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycwr/core/NRadar.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def __init__(self, fields, scan_type, time, range, azimuth, elevation,latitude,
'elevation': (['time',], elevation[istart:iend+1]),
'x':(['time','range'], x),
'y':(['time', 'range'], y),
'z':(['time', 'range'], z+altitude),
'z':(['time', 'range'], z),
'lat':(['time','range'], lat),
'lon':(['time','range'], lon),
'range': range[:bins_per_sweep[idx]], 'time': time[istart:iend+1]})
Expand Down

0 comments on commit 2988100

Please sign in to comment.