Multiply all variables by a constant

Mubashar
2013-03-05
2013-10-17
  • Mubashar
    Mubashar
    2013-03-05

    I have gone through the following thread for subject question and just wanted to make sure that I am on the right path:

    https://sourceforge.net/projects/nco/forums/forum/9830/topic/5589442/index/page/1

    I wanted to multiply all variables by a constant number 0.8 ad did the following:

    ncflint -w 0.8,0.0 extsw.nc extsw.nc tst.nc

    It seems that time axis is also modified. So to regain the original time I applied:

    ncks -A -v time extsw.nc tst.nc

    Are the above steps are fine?

    Thanks,

    Mubashar