pyremap.descriptor.LatLonGridDescriptor.create
- classmethod LatLonGridDescriptor.create(lat_corner, lon_corner, units='degrees', mesh_name=None, regional=None)[source]
Create the lat-lon grid with the given arrays and units.
- Parameters:
lat_corner (numpy.ndarray) – One dimensional array defining the latitude coordinates of grid corners.
lon_corner (numpy.ndarray) – One dimensional array defining the longitude coordinates of grid corners.
units ({'degrees', 'radians'}, optional) – The units of lat_corner and lon_corner
mesh_name (str or None, optional) – The name of the mesh or grid, used to give mapping files unique names
regional (bool or None, optional) – Whether this is a regional or global grid. If
None
, this will be determined automatically by checking the limits of the corner latitude and longitude to see if they cover the globe.