Project

General

Profile

variable name change

Added by kunal bali over 1 year ago

Hi,

I have a file with a variable name as `RADMAP-$_ASMPM550`

I tried to change the name using

cdo chname RADMAP-$_ASMPM550,ASMPM550 ASMPM550.nc ASMPM550_new.nc

But, not able to do this using this code.
The attached file is just an extracted file with `splitvar` function. I have a file with 100 variables starting name with `RADMAP-$`. So how can I remove `RADMAP-$` from the variable at once?

Any thoughts?

Thanks


Replies (1)

RE: variable name change - Added by kunal bali over 1 year ago

please ignore the issue. I have sorted it out.

the variable is actually given as

RADMAP-\$_ASMPM550

not as

RADMAP-$_ASMPM550
    (1-1/1)