xproj.format_full_cf_gdal

xproj.format_full_cf_gdal#

xproj.format_full_cf_gdal(crs)#

Format CRS as a dictionary for full compatibility with CF conventions and GDAL.

More info:

Parameters:

crs (pyproj.crs.CRS) – The input CRS object to format.

Returns:

dict – A dictionary with two crs_wkt and spatial_ref items that contains the CRS information formatted as Well-Known Text (WKT), as well as items representing all the CF grid mapping variable attributes exported via pyproj.crs.CRS.to_cf().