Project

General

Profile

can not change table information with setpartab command

Added by Tien Du Duc almost 10 years ago

Dear Everyone,

I have two files: giff00000000_PS_tab2 with table (using #cdo partab giff00000000_PS_tab2 >mypartab):
&parameter
name=var1
code=1
table=2
chunktype=grid
/
and giff00000000_PS_tab3 with table
&parameter
name=var1
code=1
table=3
chunktype=grid
/
I would like to change table 3 of file giff00000000_PS_tab3 to table 2 of file giff00000000_PS_tab2 with command:

#cdo setpartab,mypartab giff00000000_PS_tab3 giff00000000_PS_tab2_new

but I still could not change table parameter of file giff00000000_PS_tab3.

I am using cdo version 1.6.

Could anyone help me?

Thank you very much,

Tien


Replies (2)

RE: can not change table information with setpartab command - Added by Jaison-Thomas Ambadan almost 10 years ago

Hi,

use settabnum operator to change the table number

cdo sinfo -settabnum,2 giff00000000_PS_tab3

Cheers,
J

    (1-2/2)