(tcorr (expr1, expr2, tdim1, tdim2
This function produces a spatial map of temporal correlation coefficients.
expr1- a valid grads expression that varies in time
expr2- a valid grads expression that varies in time and may also vary in X and Y
tdim1- starting time dimension expression
tdim2- ending time dimension expression
expr1 time series is correlated to the time series at each grid point in
expr2. The result is a grid of correlation coefficients that matches the X and Y dimensions of
expr2vary only in time, the output is a single value.
scorrfunction to do correlation over the spatial domain.
This example calculates the temporal correlation between sea level pressure and the defined variable elnino, an areal average of surface temperature in the equatorial Pacific.