On this output have a previous version of Radx2Grid that converts this to float:
float REF(time, z0, y0, x0) ;
REF:valid_min = -23.71136f ;
REF:valid_max = 18.70769f ;
REF:_FillValue = -9999.f ;
REF:standard_name = "REF" ;
REF:long_name = "reflectivity" ;
REF:units = "dBZ" ;
But the latest version of Radx2Grid, with the exact same call and same parameter file converts this to a scaled short:
short REF(time, z0, y0, x0) ;
REF:scale_factor = 0.0006512001f ;
REF:add_offset = -2.300217f ;
REF:valid_min = -32767s ;
REF:valid_max = 32767s ;
REF:_FillValue = -32768s ;
REF:min_value = -23.62507f ;
REF:max_value = 19.02854f ;
REF:standard_name = "REF" ;
REF:long_name = "reflectivity" ;
REF:units = "dBZ" ;
Is there an option in the latest version of Radx2Grid to produce the unscaled output?
Hello. My sincere apologies if I missed this in the parameter documentation. I run RadxConvert on Nexrad data and end up with a field like so:
byte REF(n_points) ; REF:long_name = "reflectivity" ; REF:standard_name = "equivalent_reflectivity_factor" ; REF:units = "dBZ" ; REF:sampling_ratio = 1.f ; REF:_FillValue = -128b ; REF:scale_factor = 0.5f ; REF:add_offset = 31.f ; REF:grid_mapping = "grid_mapping" ; REF:coordinates = "time range" ;
On this output have a previous version of Radx2Grid that converts this to float: float REF(time, z0, y0, x0) ; REF:valid_min = -23.71136f ; REF:valid_max = 18.70769f ; REF:_FillValue = -9999.f ; REF:standard_name = "REF" ; REF:long_name = "reflectivity" ; REF:units = "dBZ" ;
But the latest version of Radx2Grid, with the exact same call and same parameter file converts this to a scaled short: short REF(time, z0, y0, x0) ; REF:scale_factor = 0.0006512001f ; REF:add_offset = -2.300217f ; REF:valid_min = -32767s ; REF:valid_max = 32767s ; REF:_FillValue = -32768s ; REF:min_value = -23.62507f ; REF:max_value = 19.02854f ; REF:standard_name = "REF" ; REF:long_name = "reflectivity" ; REF:units = "dBZ" ;
Is there an option in the latest version of Radx2Grid to produce the unscaled output?
Thanks very much in advance.