cf-xarray
cf-xarray copied to clipboard
exclude bounds variables in methods
We exclude the bounds variables in getitem for e.g. ds.cf["longitude"]
will skip the lon_bounds
variable if it has attrs["units"] = "degrees_east"
.
We should also do it for ds.cf.isel(longitude=...)
. This raises an error because it tries to slice along lon_bounds
too.