Project

General

Profile

Problem with output file with operator 'selmon'

Added by JOVIAL Gba-gombo over 9 years ago

Hi everyone
I've wanted to perform EOF analysis in GrADS but would like first to standardize the data in CDO, the script is
bash$ cdo selmon,6,7,8,9 input.nc out_jjas.nc
bash$ cdo timmean out_jjas.nc out_jjas_mean.nc
bash$ cdo sub out_jjas.nc out_jjas_mean.nc out_jjas_anom.nc
bash$ cdo timstd out_jjas_anom.nc out_jjas_std.nc
The problems occurred when i get the first output file data with the time variation different from the original data(e.g original data from 1960-2010, after the output i get something like 1960-1977) so i couldn't keep on writing the rest of the script.

i Would appreciate a way around to solve this problem.
thank you


Replies (1)

RE: Problem with output file with operator 'selmon' - Added by Geoffrey Ogutu about 9 years ago

You can use the "set time" commands to change the dates i.e. cdo settaxis,date,time OR "setreftime

    (1-1/1)