cf-xarray icon indicating copy to clipboard operation
cf-xarray copied to clipboard

an accessor for xarray objects that interprets CF attributes

Results 93 cf-xarray issues
Sort by recently updated
recently updated
newest added

Should we change the name of this function? Some relevant existing code is here: https://github.com/NCAR/pop-tools/blob/d771f8d7280696c890bb6a21255c5ad298c8b373/pop_tools/grid.py#L324-L363 cc @huard

help wanted

Hey there, was tinkering around with the `add_bounds` method and got this (from dump): ```bash float yc_bounds(bounds, yc) ; ``` From the [CF-conventions](http://cfconventions.org/cf-conventions/cf-conventions.html#cell-boundaries), I found the following example for cell...

Thank you for developing this amazing package, I am only slowly appreciating its full amazingness. I am currently trying to convert an array of layer depths that varies in time...

enhancement
help wanted
good second issue

#321 will support encoding and decoding for Pandas multi-indexes using ["compression by gathering"](http://cfconventions.org/Data/cf-conventions/cf-conventions-1.8/cf-conventions.html#compression-by-gathering) We could provided other encoders/decoders - [ ] for pydata/sparse arrays using the same convention - [...

help wanted
opinion wanted

Would be good to clean up these warnings ``` WARNING: [numpydoc] Validation warnings while processing docstring for 'cf_xarray.bounds_to_vertices': SS06: Summary should fit in a single line PR03: Wrong parameters order....

documentation
good first issue
help wanted

From @kthyng in #315 The following looks like some older convention. We could easily support this in https://github.com/xarray-contrib/cf-xarray/blob/7e663671a138d2822f696c266b3c2c7c738c7998/cf_xarray/criteria.py#L15 ``` "_CoordinateTransformType": "Vertical", "_CoordinateAxisType": "GeoZ", "_CoordinateZisPositive": "down", "_CoordinateAxes": "sigma", ```

good first issue

Continuing from https://github.com/xarray-contrib/cf-xarray/pull/284#issuecomment-1018130308 (cc @keewis) I see pint has a "pretty" formatting mode. Is there a way we can define the "pretty" string? ```python u = units.Unit("degrees_east") f"{u:~P}" ``` ```...

# Context Given the following example dataset: ```bash $ ncdump -h toz.CF-1.8.nc netcdf toz.CF-1.8 { dimensions: time = 12 ; bounds2 = 2 ; lat = 18 ; lon =...

https://ioos.github.io/ioos_code_lab/content/code_gallery/data_analysis_and_visualization_notebooks/2016-11-16-CF-UGRID-SGRID-conventions.html

Copied from #201 re: https://sgrid.github.io/sgrid/ > I think there's an opportunity for better metadata handling around gridded, xgcm, sgrid, xesmf with cf_xarray providing a little helper function layer to consolidate...

opinion wanted