pySTEPS / pysteps

Python framework for short-term ensemble prediction systems.

Home Page:https://pysteps.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Impossible importing quality data by importer_opera_hdf5

chiara-arpae opened this issue · comments

Hi! I tried importing quality data from hdf5 files by Italian DPC ( Dipartimento della Protezione Civile).
These are OPERA HDF5 files conforming to the ODIM specification.
I read rainrate data using the importer 'opera_hdf5', but not quality data.
Actually, in the implementation file of the importers (importers.py), the path where quality dataset is searched does not correspond to the correct position in the hdf5 hierarchy where quality data are placed in these files.
Consequently the quality field results a list of None, long as the number of files hdf5 wanted to read.
If I change the code in the implementation of importer 'opera_hdf5', modifying the path pointing at the quality dataset, I can read correctly quality data.
I will pull a new request about these modifies soon.
Hoping your agreement.