daily averages of different days in same month of multiyear file
Added by Theodoros Gkousarov almost 12 years ago
Hi colleagues,
I run this script below to extract daily timeseries from different days and different years of the same month (june).
@cdo -mergetime -selday,12,13,14,20,21,22,23,24,25,26,27,28 -selmon,6 -selyear,1985 CLIMATOLOGY8310.nc -selday,5,6,7,8 -selmon,6 -selyear,1990
CLIMATOLOGY8310.nc -selday,5,6,7,8 -selmon,6 -selyear,1990 CLIMATOLOGY8310.nc -selday,29,30 -selmon,6 -selyear,1996 CLIMATOLOGY8310.nc -selday,17,18,19
-selmon,6 -selyear,1997 CLIMATOLOGY8310.nc -selday,24,25,26,27 -selmon,6 -selyear,2004 CLIMATOLOGY8310.nc -selday,24,25,26,27 -selmon,6 -selyear,2007
CLIMATOLOGY8310.nc -selday,6,7,8,9,10,15,16,17 -selmon,6 -selyear,2012 remap20112012saf.nc outputfile.nc@
Then I merged the timesteps of the last output file cdo -timsum outputfile.nc outfinal.nc
Now I want to compare the outfinal.nc to the climatology of the file outputfile.nc for all the years 1983/2012. I want to create anomalies map comparing the days of june within the selected years, to the all years available in the climatology8310.nc file
every help more than welcome,
Thanks,
Theo
Replies (1)
RE: daily averages of different days in same month of multiyear file - Added by Theodoros Gkousarov over 11 years ago
Fixed, calculated the average daily mean of the month and then calculated the anomaly.
cheers,
Theo