xproj.format_compact_cf#
- xproj.format_compact_cf(crs)#
Format CRS as a dictionary for minimal compatibility with CF conventions.
More info: https://cfconventions.org/cf-conventions/cf-conventions.html
- Parameters:
crs (
pyproj.crs.CRS) – The input CRS object to format.- Returns:
dict– A dictionary with onecrs_wktitem that contains the CRS information formatted as Well-Known Text (WKT).