xarray-contrib / cf-xarray

an accessor for xarray objects that interprets CF attributes
https://cf-xarray.readthedocs.io/
Apache License 2.0
152 stars 39 forks source link

Add geometry encoding and decoding functions. #517

Closed dcherian closed 1 week ago

dcherian commented 2 weeks ago

These differ from shapely_to_cf and cf_to_shapely by returning all variables. Those function, simply encode and decode geometry-related variables.

cc @jsignell

xref https://github.com/xarray-contrib/xvec/issues/26