Closed aladinor closed 7 months ago
@aladinor Thanks for raising this.
We need to be careful here. AFAIK sweep_group_name
and sweep_fixed_angle
are not part of FM 301-2022 WMO-CF RADIAL (as written in https://library.wmo.int/viewer/66287, pp. 944-970).
There might be an issue with the CfRadial1 reader which obviously has these available.
I agree that radar_parameters
subgroup should be made available.
I see now, that xradar actually defines sweep_group_name
and sweep_fixed_angle
in xradar.model.required_root_vars
. This might be due to inconsistency between the CFRadialDoc-v2.1-20190901
document in https://github.com/NCAR/CfRadial/tree/master/docs and the above linked official WMO document.
@mgrover1 How should we move on here? Removing these two variables from required_root_vars
seems reasonable. Also re-checking mandatory, conditional and optional variables/attributes seems necessary now.
Let's go ahead and remove sweep_group_name
and sweep_fixed_angle
from required_root_vars
!
Based on this, I will remove sweep_group_name
and sweep_fixed_angle
from #165 before merging.
Thanks for raising this issue @aladinor - I will work to update the Py-ART side to fix this as well.
@aladinor - with #167 merged, a new release for xradar, and the following PR for Py-ART https://github.com/ARM-DOE/pyart/pull/1537
This issue should be resolved; I tested it with existing ODIM_H5 files, as well as the code you included above that would have previously errored. Feel free to give that branch a try - hoping to merge + cut a minor release of Py-ART for you to try out. Thanks again for raising this issue.
Description
Hi every one,
I've tried to reproduce this grinding example using sigmet files available in amazon.
However, I got the following error,
Digging around, I found out that the
xd.io.open_iris_datatree
data loader is not adding thesweep_group_name
,sweep_fixed_angle
, andradar_parameters
to the datatree. I worked around and I submitted a push request where this issue is solved following the FM301 standard WMO data model