reskit.weather.util
===================

.. py:module:: reskit.weather.util


Functions
---------

.. autoapisummary::

   reskit.weather.util.rotate_from_lat_lon
   reskit.weather.util.rotate_to_lat_lon


Module Contents
---------------

.. py:function:: 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.

   :param lons: A one-dimensional list of longitude coordinates
   :type lons: list, numpy.ndarray
   :param lats: A one-dimensional list of latitude coordinates
   :type lats: list, numpy.ndarray
   :param lon_south_pole: The longitude of the rotated system's south pole
   :type lon_south_pole: float
   :param lat_south_pole: The latitude of the rotated system's south pole
   :type lat_south_pole: float


.. py:function:: 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.

   :param rlons: A one-dimensional list of longitude coordinates in the rotated system
   :type rlons: list, numpy.ndarray
   :param rlats: A one-dimensional list of latitude coordinates in the rotated system
   :type rlats: list, numpy.ndarray
   :param lon_south_pole: The longitude of the rotated system's south pole
   :type lon_south_pole: float
   :param lat_south_pole: The latitude of the rotated system's south pole
   :type lat_south_pole: float


