cf-xarray is a lightweight convenience wrapper for using CF attributes on xarray
objects.
For example you can use .cf.mean("latitude") instead of .mean("lat") if
appropriate attributes are set! This allows you to write code that does not
require knowledge of specific dimension or coordinate names particular to a
dataset.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-cf-xarray listed in the above command, you can pick from the names under the Packages section.
devel/py-cf-xarray: Mark BROKEN on aarch64
* Getting build dependencies for wheel...
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/setuptools/config/expand.py",
line 79, in __getattr__
return next(
^^^^^
File "/usr/local/lib/python3.12/site-packages/setuptools/config/expand.py",
line 80, in <genexpr>
ast.literal_eval(value)
File "/usr/local/lib/python3.12/ast.py", line 112, in literal_eval
return _convert(node_or_string)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/ast.py", line 111, in _convert
return _convert_signed_num(node)
^^^^^^^^^^^^^^^^^^^^^^^^^
(Only the first 15 lines of the commit message are shown above )
devel/py-cf-xarray: Add py-cf-xarray 0.10.0
cf-xarray is a lightweight convenience wrapper for using CF attributes on xarray
objects.
For example you can use .cf.mean("latitude") instead of .mean("lat") if
appropriate attributes are set! This allows you to write code that does not
require knowledge of specific dimension or coordinate names particular to a
dataset.