geocat.viz.util.xr_add_cyclic_longitudes#
- geocat.viz.util.xr_add_cyclic_longitudes(da, coord)#
Utility function to handle the no-shown-data artifact of 0 and 360-degree longitudes.
- Parameters:
da (
xarray.DataArray
) – Data array that contains one or more coordinates, strictly including the coordinate with the name given with the “coord” parameter.coord (
str
) – Name of the longitude coordinate within “da” data array.
Examples
All usage examples are within the GeoCAT-Examples Gallery. To see more usage cases, search the function on the website.