cf-xarray
cf-xarray copied to clipboard
an accessor for xarray objects that interprets CF attributes
This came up in #234 and I want to capture the idea here: I'd like to be able to not just ask for the "ssh" variable for example, but ask...
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...
I ran into this while trying to set up a dataset with a collection of vertical profiles (i.e., a transect). I think we should consider adding a new axis named...
For the last few months, I've been working on [xgriddedaxis](https://github.com/NCAR/xgriddedaxis), a tool for working with one-dimensional axes with their respective cell boundaries information. xgriddedaxis was motivated by the fact that...
I was too lazy to figure this out in the beginning but it might be time now. We use `.copy()` in places to avoid mutating the original dataset. I don't...
Address #79
Our homework was to write down use cases to come up with a useful API. I would like to eventually see a `xesmf.to_uniform_grid(dataset, method="conservative")` that would work on staggered grid...
This should be safe. We could do it in `guess_coord_axis` and perhaps automatically if we figure out a way to add it to `coordinate_criteria` dict.
Not sure what the advantages are but if someone is up for it, we can do it.
We could automatically assign the `cell_measures` attribute by looking at variables with `standard_name`: `cell_thickness`, `cell_area` and set these when the dimensions of the metric variable is a subset of a...