Project

General

Profile

cdo -b F64 mergetime effect on variable attributes

Added by Santiago Botia about 5 years ago

Hello,

I wanted to ask what happens to the attributes scale_factor and add_offset after this command:

cdo -b F64 mergetime *.nc out.nc

Because in my *.nc files I have these attributes but in the out.nc, I dont.

Thanks!
Santiago


Replies (1)

RE: cdo -b F64 mergetime effect on variable attributes - Added by Karin Meier-Fleischer almost 5 years ago

Hi Santiago,

you are converting your input files to double precision using '-b f64' that's why the scale_factor and add_offset is removed, it's not needed anymore.

You're input data is of type short or integer, perhaps to reduce the file size. To recompute the input data values scale_factor and add_offset is needed, e.g.

variable64 = (variable*scale_factor) + add_offset

-Karin

    (1-1/1)