cf_xarray.accessor._get_bounds#

cf_xarray.accessor._get_bounds(obj, key)[source]#

Translate from key (either CF key or variable name) to its bounds’ variable names.

This function interprets the bounds attribute on DataArrays.

Parameters:
objDataArray, Dataset

DataArray belonging to the coordinate to be checked

keystr

key to check for.

Returns:
List[str]

Variable name(s) in parent xarray object that are bounds of key