pcmdi_metrics.io.get_grid
- pcmdi_metrics.io.get_grid(d)[source]
Get grid information
- Parameters:
d (
Union[xr.Dataset
,xr.DataArray]
) – xarray dataset to extract grid information that has latitude, longitude, and their bounds included- Returns:
xr.Dataset
– xarray dataset with grid information
Examples
>>> from pcmdi_metrics.io import get_grid >>> grid = get_grid(ds)