Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Charlie, I've narrowed down the exact problem. It seems that ncap2 can append to an uncompressed file, or write a compressed variable to a new file, but cannot append to a file with compressed variables. I've filed a bug report with details at https://sourceforge.net/p/nco/bugs/111/. -Sourish On 3/25/19 8:31 AM, Charlie Zender wrote: > Souresh, > > See http://nco.sf.net#help for NCO issues. > > FWIW, this command works fine for me with your file: > > ncap2 -L 6 -4 -h -A -s > 'co2_flux_natural=bio_flux_opt+fire_flux_imp+ocn_flux_opt' > guineapig.nc foo.nc > > The -A is superfluous, and perhaps you omitted the output filename. > If not, please move this thread to the site above. > > Charlie
Attachment:
signature.asc
Description: OpenPGP digital signature
netcdfgroup
archives: