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

radar task name in sigmet files #105

Closed aladinor closed 1 year ago

aladinor commented 1 year ago

Hi all,

I am trying to find the task name from a Sigmet file using xd.io.open_iris_datatree but I can't find it. is the task name included somewhere in the datatree object?

Cheers,

Alfonso

mgrover1 commented 1 year ago

@aladinor can you post the full import + script here?

kmuehlbauer commented 1 year ago

@aladinor Currently the backends only cover for the minimal needed data/metadata. The task name is not available, yet.

We would need to discuss if that would be something which we can map to a standard attribute, or if we would have to invent some non-standard item (possibly in a subgroup).

It would be natural to able to get all metadata from source files, so we should try to implement it.

The only backend which maps all metadata is cfradial1, because everything is described by the standard.

aladinor commented 1 year ago

Thanks @kmuehlbauer and @mgrover1 for your prompt reply. I am working on a new example using xradar and datatree objects to create a volume scan. I might need the task name within each file to group them by the same task. However, I am also looking for alternative ways to group them.