Problems with ydaysub and simple processing
Added by Nathanael Harwood almost 7 years ago
Hi CDO peeps,
Getting stuck on some simple processing, I'm trying to:- spatial average
- calculate daily anomalies from multi-year monthly averages (I need a 1981-2010 monthly mean eventually)
cdo -fldmean -sellonlatbox,-80,-10,70,90 test.nc 1.nc
Works fine but
cdo ydaysub 1.nc -ymonavg 1.nc anomaly.nc
Returns 'Day of year 1 not found (date=19790101)'
The dataset starts on 1979-01-01 (I've uploaded just the 1st month here called 'test.nc' because of file restriction). Any ideas why this is happening?
Thanks,
NH
Replies (1)
RE: Problems with ydaysub and simple processing - Added by Uwe Schulzweida almost 7 years ago
You have to replace ydaysub by ymonsub:
cdo -b F32 ymonsub 1.nc -ymonavg 1.nc anomaly.nc