comet-toolkit / obsarray

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

10 method to safely rename uncertainty variable #22

Closed shunt16 closed 7 months ago

shunt16 commented 7 months ago

Adds method to safely rename uncertainty variable and safely updates attribute variable references. Run as

ds = ds.unc["obs_var"]["old_unc_name"].rename("new_unc_name")

Closes #10