NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

Re: [netcdfgroup] ncap2 cannot find file

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