Internal API#
Utility Functions#
Generate the docstring for a wrapper function in the form of: 'This method is a wrapper for base_fcn', with a generated link to the base function. |
Internal Functionality Helpers#
Check if a variable contains datetime like objects (either np.datetime64, or cftime.datetime) |
|
Helper function to determine the time bounds based on the given dataset and frequency and then calculate the averages of them. |
|
Given an array of datetimes, infer the CF calendar name. |
|
The arc length calculation for the wgs84 ellipsoid at a latitude uses a taylor series to obtain the value of the elliptic integral. |
|
The arc length calculation for the wgs84 ellipsoid at a longitude uses a taylor series from. |
|
The radius calculation for the wgs84 ellipsoid at a latitude uses a taylor series from. |
|
Define interpolation function. |
|
This helper function extrapolates geopotential height below ground using the ECMWF formulation described in Vertical Interpolation and Truncation of Model-Coordinate Data by Trenberth, Berry, & Buja [NCAR/TN-396, 1993]. |
|
Calculate pressure at the hybrid levels. |
|
Calculate sigma at the hybrid levels. |
|
This helper function extrapolates temperature below ground using the ECMWF formulation described in Vertical Interpolation and Truncation of Model-Coordinate Data by Trenberth, Berry, & Buja [NCAR/TN-396, 1993]. |
|
Execute the defined interpolation function on data. |
|
A helper function to call the appropriate extrapolation function based on the user's inputs. |
|
Helper Function: Handling missing data functionality and adding cyclic point if required. |
|
Helper Function: Handling missing data functionality. |
|
Helper function for delta_pressure. |
|
This function calculates the dew point temperature given temperature and relative humidity using equations from John Dutton's "Ceaseless Wind" (pp 273-274) |
|
Compute the 'heat index' as calculated by the National Weather Service. |
|
Helper function to compute the heat index. |
|
Calculates relative humidity with respect to ice, given temperature, mixing ratio, and pressure. |
|
Calculates relative humidity with respect to ice, given temperature, mixing ratio, and pressure. |
|
Calculates relative humidity with respect to water, given temperature, mixing ratio, and pressure. |
|
Compute the 'heat index' as calculated by the National Weather Service. |
|
Calculates relative humidity with respect to ice, given temperature, mixing ratio, and pressure. |