reskit.weather.util#
Functions#
|
This function applies a spherical rotation to a set of given latitude and |
|
This function un-does a spherical rotation to a set of given latitude and |
Module Contents#
- reskit.weather.util.rotate_from_lat_lon(lons, lats, lon_south_pole=18, lat_south_pole=-39.25)#
This function applies a spherical rotation to a set of given latitude and longitude coordinates, yielding coordinates in the rotated system.
- Parameters:
lons (list, numpy.ndarray) – A one-dimensional list of longitude coordinates
lats (list, numpy.ndarray) – A one-dimensional list of latitude coordinates
lon_south_pole (float) – The longitude of the rotated system’s south pole
lat_south_pole (float) – The latitude of the rotated system’s south pole
- reskit.weather.util.rotate_to_lat_lon(rlons, rlats, lon_south_pole=18, lat_south_pole=-39.25)#
This function un-does a spherical rotation to a set of given latitude and longitude coordinates (in the rotated), yielding coordinates in the regular longitude and latitude system.
- Parameters:
rlons (list, numpy.ndarray) – A one-dimensional list of longitude coordinates in the rotated system
rlats (list, numpy.ndarray) – A one-dimensional list of latitude coordinates in the rotated system
lon_south_pole (float) – The longitude of the rotated system’s south pole
lat_south_pole (float) – The latitude of the rotated system’s south pole