openradar / xradar

A tool to work in weather radar data in xarray
https://docs.openradarscience.org/projects/xradar
MIT License
88 stars 17 forks source link

DB_VELC data from IRIS/Sigmet files is read as int16 instead uint8 #78

Closed kmuehlbauer closed 1 year ago

kmuehlbauer commented 1 year ago

Description

DB_VELC moment data (1-byte unfolded velocity) from IRIS/Sigmet raw data files is read as int16 instead uint8. Currently, no decode function is used at all for DB_VELC, see https://github.com/openradar/xradar/blob/23ff1126dcb361f26fe2fc84ef13fdd5aecfb576/xradar/io/backends/iris.py#L1883-L1884).

Reported over at wradlib: https://github.com/wradlib/wradlib/issues/615 by @pygmypirate.