Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: reading compressed netcdf files

On Mon, 2004-05-10 at 21:37, subrahmanyam mannam wrote:
> Hi,
>  i would like to know is there any way to read comressed netcdf files
> i.e. netcdf files with extensions as zip ot gz in c or c++.
> if anybody know how to read compressed files please let me know that
> would be a great help.
i don't think you can do that, because the netCDF lib needs to be able
to move around in the file, i.e. it can't read from a strem.
cheers
magi
-- 
Magnus Hagdorn
School of GeoSciences
The University of Edinburgh
Grant Institute
West Mains Road
Edinburgh EH9 3JW
Scotland
PHONE: (+44) 131 650 8523
FAX:   (+44) 131 668 3184
email: Magnus.Hagdorn@xxxxxxxx
web:   http://www.glg.ed.ac.uk/~mhagdorn


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690