Project

General

Profile

Relative SST

Added by Hiroyuki Murakami almost 7 years ago

I have global SST data "SST".
I want to compute SST anomaly relative to tropical mean.

SSTa(t,x,y) = SST(t,x,y) - SSTbar(t), where SSTbar(t) is the 30S-30N mean for each time step.

How can I compute SSTa using CDO?

I tried this, but resulted in an error.

$cdo sub input.nc -fldmean -sellonlatbox,0,360,-30,30 input.nc output.nc
cdo sub (Abort): Grid size of the input parameters do not match!


Replies (2)

RE: Relative SST - Added by Uwe Schulzweida almost 7 years ago

This operation is not implemented. A workaround is to enlarge the constant to the size of the input data:

cdo sub input.nc -enlarge,input.nc -fldmean -sellonlatbox,0,360,-30,30 input.nc output.nc

RE: Relative SST - Added by Hiroyuki Murakami almost 7 years ago

Thank you. I could do it!

    (1-2/2)