pyremap.descriptor.get_lat_lon_descriptor

pyremap.descriptor.get_lat_lon_descriptor(dLon, dLat, lonMin=-180.0, lonMax=180.0, latMin=-90.0, latMax=90.0)[source]

Get a descriptor of a lat-lon grid, used for remapping

Parameters:
  • dLon (float) – Longitude resolution in degrees

  • dLat (float) – Latitude resolution in degrees

  • lonMin (float, optional) – Lower bound on longitude in degrees

  • lonMax (float, optional) – Upper bound on longitude in degrees

  • latMin (float, optional) – Lower bound on latitude in degrees

  • latMax (float, optional) – Upper bound on latitude in degrees

Returns:

descriptor (xarray.LatLonGridDescriptor object) – A descriptor of the lat/lon grid