User API
Contents
User API#
GeoCAT-comp Native Functions#
Climatologies#
Compute anomalies for a specified time frequency. |
|
This function divides the data into time periods (months, seasons, etc) and computes the average for the data in each one. |
|
Compute climatologies for a specified time frequency. |
|
This function calculates long term hourly, daily, monthly, or seasonal averages across all years in the given dataset. |
|
Computes a user-specified three-month seasonal mean. |
Crop#
Compute 'actual' saturation vapor pressure [kPa] as described in the Food and Agriculture Organization (FAO) Irrigation and Drainage Paper 56 entitled: |
|
Computes maximum number of daylight hours as described in the Food and Agriculture Organization (FAO) Irrigation and Drainage Paper 56 entitled: |
|
Compute psychrometric constant [kPa / C] as described in the Food and Agriculture Organization (FAO) Irrigation and Drainage Paper 56 entitled: |
|
Compute saturation vapor pressure as described in the Food and Agriculture Organization (FAO) Irrigation and Drainage Paper 56 entitled: |
|
Compute the slope [kPa/C] of saturation vapor pressure curve as described in the Food and Agriculture Organization (FAO) Irrigation and Drainage Paper 56 entitled: |
Gradient#
Extract and return the gradient values of a dataset at each point in the dataset. |
|
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. |
EOF Functions#
Computes empirical orthogonal functions (EOFs, aka: Principal Component Analysis). |
|
Computes the principal components (time projection) in the empirical orthogonal function analysis. |
Fourier Filters#
Filter a dataset by frequency. |
|
Filter a dataset by frequency. |
|
Filter a dataset by frequency. |
|
Filter a dataset by frequency. |
|
Filter a dataset by frequency. |
Iterpolation#
Interpolate data from hybrid-sigma levels to isobaric levels. |
|
Interpolate data from sigma to hybrid coordinates. |
|
Multidimensional interpolation of variables. |
Meteorology#
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. |
|
This function calculates the relative humidity 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. |
Polynomial#
Estimates and removes the trend of the leftmost dimension from all grid points. |
|
An extension to numpy.polyfit function to support multi-dimensional arrays, Dask arrays, and missing values. |
|
Extended version of numpy.polyval to support multi-dimensional outputs provided by geocat.comp.ndpolyfit. |
Skew-T Plot Parameters#
This function processes the dataset values and returns a string element which can be used as a subtitle to replicate the styles of NCL Skew-T Diagrams. |
|
Calculate Showalter Index from pressure temperature and 850 hPa lcl. |
Spherical Harmonics#
Calculate the spherical harmonics of a dataset. |
|
Calculate a dataset from spherical harmonics. |
|
Calculate the area weighting for dataset. |
Statistics#
This function wraps the function of the same name from xskillscore. |
GeoCAT-comp routines from GeoCAT-f2py#
Calculates the pressure layer thicknesses of a constant pressure level coordinate system. |
|
Converts a two-dimensional grid with one-dimensional coordinate variables to an array where each grid value is associated with its coordinates. |
|
Interpolates from one series to another using piecewise linear interpolation across the rightmost dimension. |
|
Interpolates a regular grid to a rectilinear one using bi-linear interpolation. |
|
Interpolates from a rectilinear grid to an unstructured grid or locations using bilinear interpolation. |
|
Facilitates calculating the meridional overturning circulation for the globe and Atlantic. |
|
Interpolates data on a curvilinear grid (i.e. |
|
Interpolates data on a curvilinear grid (i.e. |
|
Interpolates data on a rectilinear lat/lon grid to a curvilinear grid like those used by the RCM, WRF and NARR models/datasets. |
|
Places unstructured (randomly-spaced) data onto the nearest locations of a rectilinear grid. |