Menu

Float to double

Help
Subeesh
2017-09-20
2017-09-20
  • Subeesh

    Subeesh - 2017-09-20

    Dear all,

    I have a variable 'TEMP' which is in 'float TEMP' in netcdf file. How do i convert this to 'double TEMP' in nco.

    Thank you
    Subeesh

     
  • Subeesh

    Subeesh - 2017-09-20

    Sorry, it is there in manual. Below command worked.

    ncap2 -O -s 'TEMP=double(TEMP)' in.nc out.nc

    Thank you.

     

Log in to post a comment.