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, > > > I have never tried to deflate a scalar value! I will make up a test for that to see if HDF5 allows it. > > Thanks. > > > Deflate is known to work for arrays, however. > > Yes, deflating arrays works for me. > Please understand that when NCO deflates a file it attempts to > deflate all variables, even scalars. > I can code around un-supported cases (e.g., scalars) > if you let me know what they are. > > > I will let you know when I have that string stuff for you... > > Thanks. > > Charlie > -- > Charlie Zender, address@hidden, Department of Earth System Science > 3228 Croul Hall, UC Irvine, Irvine CA 92697-3100. (949) 824-2987 :) > > Howdy Charlie! From my experiments in HDF5, it looks like there is no way to assign chunking for a scalar, and you need chunking for compression (or any other filter) to work. So it looks like there is no way to deflate a scalar, just as you found in NetCDF-4. I am confirming this with the HDF5 guys, and have updated the documentation to reflect it. Thanks! Ed Ticket Details =================== Ticket ID: TYN-980459 Department: Support netCDF Priority: Critical Status: Closed