RHI shift

114 views
Skip to first unread message

Yogesh Kolte

unread,
Jun 27, 2016, 6:18:17 AM6/27/16
to Py-ART Users
Hello everyone,
                      I am using Py-ART to read .Nc data file. I am able to read .Nc file and plot it.
My radar altitude is 1297m from sea level.Making  RHI plot using  py-Art,As per my understanding  py-Art program consider radar altitude is at 0m and generating plot therefore Bright Band appears at lower height.so how can i add altitude in RHI plot and shift image by 1297m up.

please go through attached image.







Thank you,
yogesh kolte
MDV-20130912-163516-RHIVol.png

Jonathan Helmus

unread,
Jun 28, 2016, 4:58:23 PM6/28/16
to pyart...@googlegroups.com
Yogesh,

    Offsetting a RHI plot is not directly supported in Py-ART but you can add a second axis to the plot which has the next scale.  For example:

import matplotlib.pyplot as plt
import pyart
import netCDF4

filename = 'XSW110520113537.RAW7HHL'

# create the plot using RadarDisplay
radar = pyart.io.read(filename)
display = pyart.graph.RadarDisplay(radar)

min_height_above_radar = 0   # in km
max_height_above_radar = 17  # in km
fig = plt.figure(figsize=[10, 4])
ax = fig.add_subplot(111)
display.plot('reflectivity', 0, vmin=-32, vmax=64,
             title='Offset', colorbar_flag=False, ax=ax)
display.set_limits(ylim=[min_height_above_radar, max_height_above_radar])

ax2 = ax.twinx()
radar_height = 11.12  # height of radar in kilometers
ax2.set_ylim(radar_height + min_height_above_radar, radar_height + max_height_above_radar)
ax2.set_ylabel('Distance Above Ground (km)')

plt.show()

This produces the attached figure which has a second scale on the right side which measures the height above the ground.

Cheers,

    - Jonathan Helmus
--
You received this message because you are subscribed to the Google Groups "Py-ART Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyart-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Offset_RHI.png

Joe Zagrodnik

unread,
Mar 24, 2017, 6:38:07 PM3/24/17
to Py-ART Users
Hi,

Just chiming in that I would like to see this feature added in a future version. I am trying to make a plot with two different radars making RHI scans but one radar is at 150 km higher elevation than the other. 

-Joe Z. 

 
 
Reply all
Reply to author
Forward
0 new messages