oceanspy.OceanDataset.set_projection

OceanDataset.set_projection(projection, **kwargs)[source]

Set Cartopy projection of the OceanDataset.

Parameters
projection: str or None

Cartopy projection of the OceanDataset. Use None to remove projection.

**kwargs:

Keyword arguments for the projection. E.g., central_longitude=0.0 for PlateCarree

References

https://scitools.org.uk/cartopy/docs/latest/crs/projections.html