pyremap.descriptor.LatLonGridDescriptor.create¶
- classmethod LatLonGridDescriptor.create(latCorner, lonCorner, units='degrees', meshName=None, regional=None)[source]¶
Create the lat-lon grid with the given arrays and units.
- Parameters:
latCorner (numpy.ndarray) – One dimensional array defining the latitude coordinates of grid corners.
lonCorner (numpy.ndarray) – One dimensional array defining the longitude coordinates of grid corners.
units ({'degrees', 'radians'}, optional) – The units of latCorner and lonCorner
meshName (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.