This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> Hi Ed, > > The functions > > nco_[put/get]_att_string() > > are still missing from netcdf-4.0-snapshot2007060701. And Yes, sorry, I'll add that shortly. > > NC_FILL_STRING The HDF5 people tell me they have fixed the fill value stuff for strings. I have to try out their latest snapshot to see if they got it all... > > is still missing from netcdf.h. > > Also, does nc_var_def_deflate() work for you? > I can't seem to get it working. > Here I try to deflate a scalar value (one) with > a deflate level of 9. The result is > > zender@ashes:~/nco$ ncks -O -4 --dfl_lvl=9 -v one ~/nco/data/in.nc ~/foo.nc > nco_err_exit(): ERROR Short NCO-generated message (usually name of > function that triggered error): nco_enddef() > nco_err_exit(): ERROR Error code is -101. Translation into English with > nc_strerror(-101) is "HDF error" > nco_err_exit(): ERROR NCO will now exit with system call abort() > Aborted > > > Thanks, > Charlie > -- > Charlie Zender, address@hidden, Department of Earth System Science > 3228 Croul Hall, UC Irvine, Irvine CA 92697-3100. (949) 824-2987 :) I have never tried to deflate a scalar value! I will make up a test for that to see if HDF5 allows it. Deflate is known to work for arrays, however. I will let you know when I have that string stuff for you... Thanks! Ed > > Ticket Details =================== Ticket ID: TYN-980459 Department: Support netCDF Priority: Critical Status: Open