NEP 4.0.0
NetCDF Expansion Pack
Loading...
Searching...
No Matches
nep.h
Go to the documentation of this file.
1
26#ifndef NEP_H
27#define NEP_H
28
29#include <stdio.h>
30#include <netcdf.h>
31#include <netcdf_filter.h>
32
34#define NC_FLOAT16 17
36#define NC_BFLOAT16 18
38#define NC_FLOAT8_E4M3 19
40#define NC_FLOAT8_E5M2 20
42#define NC_FLOAT6_E2M3 21
44#define NC_FLOAT6_E3M2 22
46#define NC_FLOAT4_E2M1 23
48#define NC_COMPLEX 24
50#define NC_DOUBLECOMPLEX 25
52#define NC_BITFIELD8 26
54#define NC_BITFIELD16 27
56#define NC_BITFIELD32 28
58#define NC_BITFIELD64 29
60#define NC_REF_OBJECT 30
62#define NC_REF_REGION 31
63
65#define BZIP2_ID 307
66
68#define LZ4_ID 32004
69
71#define LZF_ID 32000
72
73#if defined(__cplusplus)
74extern "C" {
75#endif
76
77 /* Library prototypes... */
78 int nc_def_var_bzip2(int ncid, int varid, int level);
79 int nc_inq_var_bzip2(int ncid, int varid, int *bzip2p, int *levelp);
80 int nc_def_var_lz4(int ncid, int varid, int level);
81 int nc_inq_var_lz4(int ncid, int varid, int *lz4p, int *levelp);
82 int nc_def_var_lzf(int ncid, int varid);
83 int nc_inq_var_lzf(int ncid, int varid, int *lzfp);
84
85#if defined(__cplusplus)
86}
87#endif
88
120#define NEP_UDF_GEOTIFF_BIGTIFF NC_UDF0
121
123#define NEP_UDF_GEOTIFF_STANDARD NC_UDF1
124
126#define NEP_UDF_GRIB2 NC_UDF2
127
129#define NEP_UDF_CDF NC_UDF4
130
132#define NEP_UDF_FITS NC_UDF3
133
135#define NEP_UDF_PDS4 NC_UDF5
136
138#define NEP_UDF_DICOM NC_UDF6
139
141#define NEP_UDF_PDB NC_UDF7
142
144#define NEP_UDF_MMCIF NC_UDF8
145
147#define NEP_UDF_NEXTCDF4 NC_UDF9
148
150#define NC_NEXTCDF4 NEP_UDF_NEXTCDF4
151
153#define NC_NETCDF4_MODEL 0x04000000
154
182#define NEP_MAGIC_GEOTIFF_STANDARD "II*"
183
185#define NEP_MAGIC_GEOTIFF_BIGTIFF "II+"
186
188#define NEP_MAGIC_CDF "\xCD\xF3\x00\x01"
189
191#define NEP_MAGIC_GRIB2 "GRIB"
192
194#define NEP_MAGIC_FITS "SIMPLE"
195
197#define NEP_MAGIC_PDS4 "<?xml"
198
200#define NEP_MAGIC_DICOM "DICM"
201
203#define NEP_MAGIC_PDB "HEADER"
204
206#define NEP_MAGIC_MMCIF "data_"
207
232#define NEP_FORMAT_NAME_GEOTIFF "GeoTIFF"
233
235#define NEP_FORMAT_NAME_CDF "NASA CDF"
236
238#define NEP_FORMAT_NAME_GRIB2 "GRIB2"
239
241#define NEP_FORMAT_NAME_FITS "FITS"
242
244#define NEP_FORMAT_NAME_PDS4 "PDS4"
245
247#define NEP_FORMAT_NAME_DICOM "DICOM"
248
250#define NEP_FORMAT_NAME_PDB "PDB"
251
253#define NEP_FORMAT_NAME_MMCIF "mmCIF"
254
257#endif /* NEP_H */
int nc_def_var_lzf(int ncid, int varid)
int nc_inq_var_lz4(int ncid, int varid, int *lz4p, int *levelp)
Definition nep.c:206
int nc_inq_var_bzip2(int ncid, int varid, int *bzip2p, int *levelp)
Definition nep.c:86
int nc_def_var_lz4(int ncid, int varid, int level)
Definition nep.c:169
int nc_def_var_bzip2(int ncid, int varid, int level)
Definition nep.c:50
int nc_inq_var_lzf(int ncid, int varid, int *lzfp)