User API¶
Routines¶
GeoCATcomp native routines¶

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 userspecified threemonth seasonal mean. 

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: 


Computes empirical orthogonal functions (EOFs, aka: Principal Component Analysis). 

Computes the principal components (time projection) in the empirical orthogonal function analysis. 
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. 

Interpolate data from hybridsigma levels to isobaric levels. 

Interpolate data from sigma to hybrid coordinates. 


This function calculates the dew point temperature given temperature and relative humidity using equations from John Dutton's "Ceaseless Wind" (pp 273274) 

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. 


Estimates and removes the trend of the leftmost dimension from all grid points. 

An extension to numpy.polyfit function to support multidimensional arrays, Dask arrays, and missing values. 

Extended version of numpy.polyval to support multidimensional outputs provided by geocat.comp.ndpolyfit. 
This function processes the dataset values and returns a string element which can be used as a subtitle to replicate the styles of NCL SkewT Diagrams. 

Calculate Showalter Index from pressure temperature and 850 hPa lcl. 
GeoCATcomp routines from GeoCATf2py¶

Calculates the pressure layer thicknesses of a constant pressure level coordinate system. 

Converts a twodimensional grid with onedimensional 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 bilinear interpolation. linint2 uses bilinear interpolation to interpolate from one rectilinear grid to another. The input grid may be cyclic in the x direction. The interpolation is first performed in the x direction, and then in the y direction. :param fi: An array of two or more dimensions. If xi is passed in as an argument, then the size of the rightmost dimension of fi must match the rightmost dimension of xi. Similarly, if yi is passed in as an argument, then the size of the second rightmost dimension of fi must match the rightmost dimension of yi. If missing values are present, then linint2 will perform the bilinear interpolation at all points possible, but will return missing values at coordinates which could not be used. Note: This variable must be supplied as a 

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 (randomlyspaced) data onto the nearest locations of a rectilinear grid. 