See related post: https://sourceforge.net/p/nco/discussion/9830/thread/6027c6a3/?limit=25 I had the same problem with ncra not recognising the fill value when it was NaN, so I changed it to -999: ncap2 --script 'myvar=myvar; myvar.change_miss(-999)' in_file.nc out_file.nc
Thanks, Chris (from many years ago). I had the same problem with ncra not recognising the fill value when it was NaN, so I changed it to -999: ncap2 --script 'myvar=myvar; myvar.change_miss(-999)' in_file.nc out_file.nc