to_cf

Equi7Grid_projection.to_cf(wkt_version: WktVersion | str = WktVersion.WKT2_2019, errcheck: bool = False) dict

New in version 2.2.0.

This converts a pyproj.crs.CRS object to a Climate and Forecast (CF) Grid Mapping Version 1.8 dict.

build_crs_cf

Parameters:
  • wkt_version (str or pyproj.enums.WktVersion) – Version of WKT supported by CRS.to_wkt. Default is pyproj.enums.WktVersion.WKT2_2019.

  • errcheck (bool, default=False) – If True, will warn when parameters are ignored.

Returns:

CF-1.8 version of the projection.

Return type:

dict