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)
netcdfgroup
archives: