comet-toolkit / obsarray

Measurement uncertainty handling in Python
GNU Lesser General Public License v3.0
7 stars 1 forks source link

Uncertainty associated with coord variables not included in ds.unc #31

Open madsted opened 6 months ago

madsted commented 6 months ago

bug fix - if you have a dataset with uncertainty in the coordinate variables, these uncertainties are not returned by ds.unc. ds.coord_name.unc does return the uncertainty however.

In general do the coordinate variables need consideration in obsarray?

madsted commented 6 months ago

ds.keys() - currently used in unc_accessor.py - returns only data_vars (& unc vars but not coord vars).

An alternative could be list(ds.variables) which returns all data_vars & coord vars (& unc vars).