leftVar rightVar {weight1} {weight2} [ Tgrid ... ] pm qm cca
| Arguments | ||
|---|---|---|
| label | type | description |
| leftVar | variable | Variable with same time dimension as predicand |
| rightVar | variable | Variable with same time dimension as predictor |
| weight1 | proc | a procedure to be applied as weight for both right and left variables if no other optional procedure is set up, or for the left variable otherwise. (optional) |
| weight2 | proc | a procedure to be applied as weight for right variable. (optional) |
| Tgrid | grid set | Time grid |
| pm | number | Number of modes to keep from leftVar SVD. |
| qm | number | Number of modes to keep from rightVar SVD. |
| Returns | ||
| cca | dataset | Dataset containing CCA outputs |
Properties:
Example (note the use of shift data to have time series of different time grid actually match): SOURCES .NOAA .NCDC .ERSST .version2 .SST X (30E) (180) (80W) RANGE Y (30S) (30N) RANGE T (Sep-Nov 1961-2000) seasonalAverage dup [T]average sub T -3 shiftdata SOURCES .WCRP .GCOS .GPCC .FDP .version4 .0p5 .prcp X (118E) (128E) RANGE Y (5N) (20N) RANGE T (Dec-Feb 1961-2001) seasonalAverage dup [T]average sub [T]15 10 cca