Project

General

Profile

Help on use TIMSORT and COPY at the same time?

Added by ziming li almost 6 years ago

I wanted to use the cdo to merge multiple files and apply timsort on the file.

The command is shown below:
`cdo -f nc4 -z zip_4 --sortname timsort -copy /my/data/path/*.nc output_nc.nc`

But cdo told me the error like this:
`cdo timsort (Abort): Too many streams! Operator needs 1 input and 1 output streams.`

How to use the two operaters in one commander?


Replies (1)

RE: Help on use TIMSORT and COPY at the same time? - Added by Karin Meier-Fleischer almost 6 years ago

Hi Ziming,

you can use the mergetime operator 'Merge datasets sorted by date and time'.

cdo -f nc4 -z zip_4 --sortname -mergetime /my/data/path/*.nc output_nc.nc

-Karin

    (1-1/1)