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.

To learn about what's going on, see About the Archive Site.

[netcdfgroup] Compressed sizes of netCDF variables

An example:

I have a netCDF file with 5 2-byte integer variables, each of dimensions 100 x 
100 but containing different values. The data file on disk has a size of 
(roughly) 100,000 bytes.

I then compress the variables individually using the in-built zip, and get file 
size of 50,000 bytes. So my average compression across all the variables is a 
factor of 2.

However, I'd like to monitor how well each individual variable has compressed. 
Is there a way to determine the compressed size of a variable within the netCDF 
file?

Thanks!

Tim Patterson

  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: