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.

Data compression


I think compression is better left to external programs for the most part.
Could you modify ncopen() and ncclose() to automatically uncompress and
compress files? For instance, suppose you execute:

        ncopen("foo.cdf", NC_WRITE);

and foo.cdf doesn't exist but foo.cdf.Z does. Would it be difficult to have
it pipe foo.cdf.Z through "uncompress -c" before presenting it to the user?
Oops, maybe this won't work, since netcdf doesn't deal well with pipes.
Hmmm...

Skip (montanaro@xxxxxxxxxx)


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