pscl_analyze: Run pattern scaling analysis on the input temperature fields

Description Usage Arguments Details Value

View source: R/meanfield.R

Description

Run pattern scaling on the input temperature fields. This amounts to doing a linear regression on each grid cell, with the global temperature as the sole regressor.

Usage

1
pscl_analyze(tin, tgavin)

Arguments

tin

Matrix of temperature fields (ntime x ngrid)

tgavin

Matrix of global mean temperature over time (ntime x 1)

Details

The return value is a list with the residuals and pattern coefficients as r (resid), w (slope), and b (intercept).

dim(r) == dim(tin) == ntime x nlatnlon dim(w) == dim(b) == nlatnlon

Value

List of r, w, and b matrices (see details)


JGCRI/fieldgenr documentation built on July 22, 2020, 3:17 a.m.