Relative SST
Added by Hiroyuki Murakami over 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 over 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