parse_cf
should not overwrite existing axis
attributes
#981
Labels
Milestone
parse_cf
should not overwrite existing axis
attributes
#981
This was brought up in #960: while the current re-assignment of the
axis
attribute inparse_cf()
keepsparse_cf()
idempotent, it may still overwrite information that was previously in that attribute. Since the issue of #960 itself was resolved by #967, repeated below are the parts relevant for this issue so they don't get lost. Any thoughts about the best way to fix this?Current implementation:
MetPy/metpy/xarray.py
Lines 336 to 343 in 1a052be
Some ideas for possible fixes:
metpy_axis
attribute instead ofaxis
(or some other "namespaced" attribute)crs
coordinateCFProjection
object itselfThe text was updated successfully, but these errors were encountered: