Project

General

Profile

change_unit

Added by kunal bali over 5 years ago

I want to change the unit from [kg m-2 day-1] to [mm day-1], So I used

cdo chunit input.nc ouput.nc

But, it's not working

test1.nc (18.7 KB) test1.nc

Replies (2)

RE: change_unit - Added by Guilherme Martins over 5 years ago

Try

cdo setattribute,varname@units="mm/day" if.nc out.nc

Where varname is the name your variable you want to change the unit.

RE: change_unit - Added by kunal bali over 5 years ago

Thanks, I will try this.

    (1-2/2)