Re: [thredds] Supported file compression methods

On 12/13/2011 2:33 AM, Comiskey, Glenn wrote:
Hi,
Can anyone list what file compression methods THREDDS can support when accessing data files, i.e. can a data file be stored in a compressed format, such as bzip2, and yet THREDDS can still access the file and extract data.
Kind regards,
Glenn Comiskey
Data System Administrator


_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/

If the URL ends with a with ".Z", ".zip", ".gzip", ".gz", or ".bz2", the file is assumed to be/*compressed*/. The netCDF-Java library will uncompress/unzip and write a new file without the suffix, then read from the uncompressed file. Generally it prefers to place the uncompressed file in the same directory as the original file. If it does not have write permission on that directory, it will use thecache directory <http://www.unidata.ucar.edu/software/netcdf-java/reference/Caching.html>defined by*ucar.nc2.util.DiskCache.

*see http://www.unidata.ucar.edu/software/netcdf-java/reference/faq.html#Reading


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