Project

General

Profile

cdo cmor - Generating nc files in append mode

Added by Fabrizio Antonio about 7 years ago

Hi all,

I need to generate a single nc file starting from N nc input files.
I'm using cdo/cmor by iterating over all nc input files and by running the following commands for each of them:

cdo-1.8.0 --cmor -r -f nc selvar,ps -setpartabn,mappingTable.txt -settbounds,month $input_filename TEMP.nc
cdo-1.8.0 cmor,cmip6-cmor-tables-master/Tables/CMIP6_Amon.json,__info=myFile.rc,__oflag=a TEMP.nc

I also tried with 'chunk=a', '__chunk=append' and all the other combinations.

I'm following this link [[https://code.zmaw.de/projects/cdo/wiki/CDO_CMOR3_Operator]] and the corresponding .rc file,
and this link [[https://code.zmaw.de/projects/cdo/wiki/CMOR]] and the corresponding pptx.

Anyone could suggest me which is the right command?

In addition, which documentation I have to take into account (for example, oflag or chunk option) ?

Thanks in advance and Best Regards,
Fabrizio