pcmdi_metrics.io.get_latitude pcmdi_metrics.io.get_latitude(ds)[source] Extract latitude coordinate data. Parameters: ds (Union[xr.Dataset, xr.DataArray]) – The input dataset or data array. Returns: xr.DataArray – The latitude coordinate data. Examples >>> from pcmdi_metrics.io import get_latitude >>> lat = get_latitude(ds)