Alphabetical Listing of GrADS Functions


aave()      Calculates an areal average over an X-Y region (latitude-weighted)
abs()       Returns the absolute value
acos()      Calculates the inverse cosine
amax()      Returns the maximum grid value over an X-Y region
amaxlocx()  Returns the the X location of the maximum grid value over an X-Y region
amaxlocy()  Returns the the Y location of the maximum grid value over an X-Y region
amean()     Calculates an areal average over an X-Y region (not latitude-weighted)
amin()      Returns the minimum grid value over an X-Y region
aminlocx()  Returns the the X location of the minimum grid value over an X-Y region
aminlocy()  Returns the the Y location of the minimum grid value over an X-Y region
asin()      Calculates the inverse sine
asum()      Calculates the sum over an X-Y region (grid weighted)
asumg()     Calculates the sum over an X-Y region (not grid weighted)
atot()      Calculates the sum over an X-Y region (grid and latitude weighted)
atan2()     Calculates the inverse tangent
ave()       Calculates an average over any dimension
cdiff()     Performs a centered difference operation
coll2gr()   Creates a grid from a collection of station data
const()     Changes missing or non-missing values
cos()       Calculates the cosine
eloop()     Reconstructs an E-varying result after doing calculations with the ensemble dimension fixed
exp()       Calculates the exponential
fndlvl()    Finds the vertical level at which a given value occurs in a variable
gint()      General integral
gr2stn()    Grid-to-station interpolator
gsfallow()  Enables the dynamic loading of script functions
gsfpath()   Specifies the private path directory list where script functions are located
hcurl()     Calculates the vertical component of the curl
hdivg()     Calculates the horizontal divergence using finite differencing
if()        Performs an if-then-else expression evaluation
log()       Calculates the natural logarithm
log10()     Calculates the logarithm base 10
lterp()     Performs bi-linear interpolation between two grids
mag()       Calculates the wind speed given u,v components
maskout()   Sets certain data values to missing
max()       Returns the maximum value over a given grid dimension
maxloc()    Returns the grid location of the maximum value
mean()      Calculates an average over any dimension (not latitude weighted)
min()       Returns the minimum value over a given grid dimension
minloc()    Returns grid location of the minimum value
oabin()     Bins station observations into grid cells
oacres()    Returns a gridded result that represents station data
pow()       Raises the values of arg1 to the power of arg2
s2g1d()     Converts a station timeseries to a 1D grid
scorr()     Calculates the spatial correlation over an X-Y domain
sin()       Calculates the sine
skip()      Sets alternating data values to missing
smth9()     Performs a 9 point smoothing operation on gridded data
sqrt()      Calculates the square root
sregr()     Calculates the linear least-squares regression over an X-Y domain
stnave()    Calculates a time average of station data
stnmin()    Returns the minimum value over a time series of station data
stnmax()    Returns the maximum value over a time series of station data
sum()       Calculates the sum over any dimension (grid weighted)
sumg()      Calculates the sum over any dimension (not grid weighted)
tan()       Calculates the tangent
tcorr()     Produces a spatial map of temporal correlation coefficients
tloop()     Reconstructs a time series after doing calculations at fixed times
tmave()     Calculates a time averag while applying a mask
tregr()     Calculates the least-squares regression over the time domain
tvrh2q()    Calculates specific humidity given virtual temperature and relative humidity
tvrh2t()    Calculates temperature given virtual temperature and relative humidity
vint()      Calculates a mass-weighted vertical integral in mb pressure coordinates