Hello all, I am trying to add two variables and put the result in a third one with ncap2, and I have this strange error: $ ncap2 -L 6 -4 -h -A -s 'co2_flux_natural=bio_flux_opt+fire_flux_imp+ocn_flux_opt' guineapig.nc ERROR: nco__open() unable to open file "guineapig.nc" nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco__open() nco_err_exit(): ERROR Error code is -101. Translation into English with nc_strerror(-101) is "NetCDF: HDF error" nco_err_exit(): ERROR NCO will now exit with system call exit(EXIT_FAILURE) Which is extremely strange, because the file guineapig.nc *does* exist in the current folder: $ ls -l guineapig.nc -rw-r--r-- 1 i i 4862322 Mar 24 16:28 guineapig.nc What is more, I can use ncap2 to perform the exact same operation on some other files without a problem. Which leaves me very confused as to why ncap2 fails and tells me that this file does not exist, when it clearly does and is writable. The guineapig is attached. Anyone has any idea? Thanks, Sourish
Attachment:
guineapig.nc
Description: Cdf file
Attachment:
signature.asc
Description: OpenPGP digital signature
netcdfgroup
archives: