Project

General

Profile

How delete repeated time in nc

Added by javad Babagolii over 3 years ago

Dear users

I have made nc file when some date are repeated like this(please see 2013-02-28 22:30:

"2013-02-28 10:30", "2013-02-28 13:30", "2013-02-28 16:30",
"2013-02-28 19:30", "2013-02-28 22:30", "2013-02-28 22:30",

how to delete all this type of date my file?


Replies (1)

RE: How delete repeated time in nc - Added by Karin Meier-Fleischer over 3 years ago

Hi Javad,

you can delete a date of format YYY-MM-DDThh:mm:ss with the delete operator https://code.mpimet.mpg.de/projects/cdo/embedded/cdo.pdf#subsection.2.3.1

cdo delete,date=2013-02-28T22:30 infile outfile

-Karin

    (1-1/1)