openradar / xradar

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

Empty radar_parameters and calibrations, and georeferencing in several backends #232

Open syedhamidali opened 3 weeks ago

syedhamidali commented 3 weeks ago

Description

I cant see radar parameters and georeferencing groups

What I Did

import xradar as xd
from open_radar_data import DATASETS

file = DATASETS.fetch("KLBB20160601_150025_V06")

tree = xd.io.open_nexradlevel2_datatree(file)

print(tree.groups)
('/',
 '/sweep_0',
 '/sweep_1',
 '/sweep_2',
 '/sweep_3',
 '/sweep_4',
 '/sweep_5',
 '/sweep_6',
 '/sweep_7',
 '/sweep_8',
 '/sweep_9',
 '/sweep_10')
aladinor commented 3 weeks ago

I think this might resolved with #221.

syedhamidali commented 3 weeks ago

@aladinor Yes, I installed your data-constructor branch and gave it a try, it is working... Thanks!

syedhamidali commented 3 weeks ago

Solved in #221

syedhamidali commented 3 weeks ago

Although @aladinor’s changes resolved the issue with these groups, it turns out they are empty. I think the error lies in the nexrad_level2 reader.

kmuehlbauer commented 3 weeks ago

Currently there is no mapping between the nexrad metadata and those groups. Nexrad is not the only engine which would need a proper mapping. #221 was the first big step to make this possible at all by making these groups available (even if not filled).

We should keep this issue open until we've worked the different backends mapping.