Greetings Jiande, Have a look at our examples page: http://www.unidata.ucar.edu/software/netcdf/examples/programs/ Also, for an example of compression, check out http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-tutorial.html#simple_005fxy_005fnc4-in-C, specifically the line near the bottom that contains the function call "nc_def_var_deflat(". Cheers! Sean > Full Name: Jiande Wang > Email Address: address@hidden > Organization: NOAA > Package Version: 4 > Operating System: linux > Hardware: > Description of problem: > > Hi, > > I am new to this data format. I need to write some data to NetCDF 4 > format with compression. Can you please show me a sample C code? > > Thanks in advance > Jiande > > Ticket Details =================== Ticket ID: IGX-663824 Department: Support netCDF Priority: Normal Status: Open
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.