openradar / xradar

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

ODIM sweep_number is off by one #80

Closed kmuehlbauer closed 1 year ago

kmuehlbauer commented 1 year ago

Description

xradar tries to align to standard, so sweep_number starts from 0 (sweep_0). As ODIM_H5 is 1-based (starting with /dataset1), sweep_number is currently wrongly decoded. The odim-backend based data starts therefore with sweep_1 instead of sweep_0.

This does not give problems, because the iteration process over the groups are the same. Nevertheless this should be corrected.