convert polar to cartesian at sweep 1.5

162 views
Skip to first unread message

mr.nguye...@gmail.com

unread,
May 6, 2021, 10:26:18 PM5/6/21
to Py-ART Users
I have a file RAW (sigmet) that has 5 sweeps (0.5, 1.5, 2.5, 4, 6,) when i extract sweep 0.5 and convert to grid it's ok, but when i choose to extract sweep 1.5  it's seem to be fail, someone can help me ???
this is my code:
import pyart
RADAR_NAME = 'PHA210207124005.RAWSB71'
# read in the data
radar = pyart.io.read_sigmet(RADAR_NAME)  
radar=radar.extract_sweeps([1]) #extract sweep 1.5
lat_0 = radar.latitude['data'][0]
lon_0 = radar.longitude['data'][0]
shape = (1, 601, 601)
grid = pyart.map.grid_from_radars(
            radar,
            grid_shape=shape, #Number of points in the grid (z, y, x)
            grid_limits=((30, 22000), (-300000, 300000), (-300000, 300000)), 
            grid_origin = (lat_0,lon_0),
            fields=['reflectivity'])

*this is with sweep 1.5
Capture.PNG

this is with sweep 0.5

Capture1.PNG

sherma...@gmail.com

unread,
May 6, 2021, 10:45:24 PM5/6/21
to Py-ART Users
Hello,

What does a ppi plot with radarmapdisplay look like for that sweep?

mr.nguye...@gmail.com

unread,
May 7, 2021, 3:59:17 AM5/7/21
to Py-ART Users
Capture2.PNG
this is a PPI for sweep 1.5
Vào lúc 09:45:24 UTC+7 ngày Thứ Sáu, 7 tháng 5, 2021, sherma...@gmail.com đã viết:

sherma...@gmail.com

unread,
May 7, 2021, 12:22:14 PM5/7/21
to Py-ART Users
I would check with your extracted sweep radar the height of your gates. Do radar.gate_z['data'].max(). I'm wondering if your grid limits for z are too low. Try setting higher height to maybe 50000 with 10 points in between and see what the new grid produces.

leo lee

unread,
Oct 20, 2021, 7:15:03 AM10/20/21
to Py-ART Users

I have the same issue, have you solve this issue yet?I tried to set higher height but it does not work for me, I tried other sweeps, neither of them works.

sherma...@gmail.com

unread,
Oct 20, 2021, 12:36:52 PM10/20/21
to Py-ART Users
Do you have an example file I can do some testing on? I'm not sure what is causing this, but if its both the PHA radar, wondering if an attribute is not being set correctly somewhere.
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages