Closed kmuehlbauer closed 1 year ago
I like the idea of keeping that at the root level... we can add an attribute perhaps? But keeping at the root dataset level makes sense
@mgrover1 Yes, they should definitely stay at the root group. And they should not show up in sweep groups inside DataTree.
But it would be great if they could show up when single sweeps are read via xr.open_dataset
.
I'll create a PR with a proposal.
In CfRadial2-standard the sweep-groups do not contain the site-coordinates (
latitude
/longitude
/altitude
). Although that makes perfectly sense when reading the whole DataTree, it might be not as perfect for the single-sweep reading viaxr.open_dataset
. The site-coordinates (at leastlatitude
andaltitude
) might be used for georeferencing.I'd suggest to enable the xarray-backends to add the site-coordinates to the returned Dataset. We have at least the following options:
Thoughts?