polaris.remap.MappingFileStep.dst_global_lon_lat

MappingFileStep.dst_global_lon_lat(dlon, dlat, lon_min=-180.0, mesh_name=None)[source]

Set the destination grid from a file with a longitude-latitude grid. The latitude and longitude variables can be 1D or 2D.

Parameters
  • dlon (float) – The longitude resolution in degrees

  • dlat (float) – The latitude resolution in degrees

  • lon_min (float, optional) – The longitude for the left-hand edge of the global grid in degrees

  • mesh_name (str, optional) – The name of the lon-lat grid (defaults to resolution and units, something like “0.5x0.5degree”)