[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Support #TYN-980459]: netcdf4: nco_[put/get]_att_string(), NC_FILL_STRING, nc_var_def_deflate()



> 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