This function returns a volume structure containing data for the requested field. if field ID is omitted, the first volume in the radar structure is returned. If no volume can be found for a given field ID, the function returns -1.
radarstruct | a radar structure. |
fieldID | can be either a string containing the radar field type, for example, 'DZ' (reflectivity), or a subscript of the volume array (0 to nvols-1). If omitted, the first volume in the radar structure is returned. |
v = rsl_get_volume(radar)This is equivalent to
v = rsl_get_volume(radar, 0)
v = rsl_get_volume(radar, 'cz') ; Make sure v is valid structure. if n_tags(v) gt 0 then . . .
v = rsl_get_volume(radar, 1)