mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-21 08:39:46 +08:00
d37ac215e2
1. Allow nccopy to apply filters, especially on the output file. This provides a third way to do this other than using ncgen or programatically 2. Make sure that even if the filter code is not available, it is possible to see the filter id and parameters for variables using e.g ncdump -hs. 3. Fix bug in nccopy so that the input file does not necessarily have to be netcdf-4. 4. At last minute decided to change to using a single "_Filter" attribute for ncgen 5. Added a test to tst_filter.sh to generate C code using ncgen.
24 lines
957 B
C
24 lines
957 B
C
/*********************************************************************
|
|
* Copyright 1993, UCAR/Unidata
|
|
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
|
|
* $Header: /upc/share/CVS/netcdf-3/ncdump/cdl.h,v 1.3 2008/12/22 16:42:36 russ Exp $
|
|
*********************************************************************/
|
|
#ifndef _CDL_H_
|
|
#define _CDL_H_
|
|
|
|
/* Names of special performance-related virtual attributes for
|
|
* netCDF-4, displayed with "ncdump -s". ncdump and ncgen need to
|
|
* know these, as they are used in CDL. */
|
|
#define NC_ATT_FORMAT "_Format"
|
|
#define NC_ATT_CHECKSUM "_Fletcher32"
|
|
#define NC_ATT_CHUNKING "_ChunkSizes"
|
|
#define NC_ATT_ENDIANNESS "_Endianness"
|
|
#define NC_ATT_DEFLATE "_DeflateLevel"
|
|
#define NC_ATT_SHUFFLE "_Shuffle"
|
|
#define NC_ATT_STORAGE "_Storage"
|
|
#define NC_ATT_NOFILL "_NoFill"
|
|
#define NC_ATT_NETCDF4 "_NetCDF4"
|
|
#define NC_ATT_FILTER "_Filter"
|
|
|
|
#endif /*_CDL_H_ */
|