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
this is with sweep 0.5