Get specific timesteps defined by a multiplier
Added by Alonso Arriagada over 4 years ago
Hi all!
I need to select specific values from a variable considering timesteps defined by a multiplier, for example, get only the multiples of 4 of the entire list of time steps of the original NC file.
The NC file has 54056 timesteps.
If anyone could help, I will be very grateful!
Thank you!
Best!
Alonso.
Replies (1)
RE: Get specific timesteps defined by a multiplier - Added by Ralf Mueller over 4 years ago
Hi Alonso!
I think you can use the splitsel
operator. It will generate lots of files, but only in an intermediate step.
cdo splitsel,1,0,3 -seltimestep,1/200 out_1.nc outTcould be first test for selecting only the real
year
values.
you can concatenate the files with
cdo cat outT0000* _outT.nc
this should give you a proper start, I hope
cheers
ralf