Project

General

Profile

whether to use SUB or YMONSUB to compute anomaly for eof analysis

Added by thanu roh 5 months ago

I am doing eof analysis of wave height data (monthly mean data for 84 years). for which i need to compute anomaly. which command should i use:
option 1: cdo -ymonsub inputfile.nc -ymonmean inputfile.nc outputfile.nc
option 2: cdo -sub inputfile.nc -timmean outputfile.nc


Replies (1)

RE: whether to use SUB or YMONSUB to compute anomaly for eof analysis - Added by Leo Crown 5 months ago

Hello,

When use Option 2 the issue with the command is that -sub expects two input files to perform the subtraction operation. However, -timmean is an operation that calculates the mean across time, and it does not require another file for subtraction.

    (1-1/1)