NEP 4.3.0
NetCDF Expansion Pack
Loading...
Searching...
No Matches
grib2dispatch.h
Go to the documentation of this file.
1
15#ifndef _GRIB2DISPATCH_H
16#define _GRIB2DISPATCH_H
17
18#include <netcdf.h>
19#include <netcdf_dispatch.h>
20#include "nep.h"
21
23#ifdef NC_FORMATX_UDF2
24#define NC_FORMATX_NC_GRIB2 NC_FORMATX_UDF2
25#else
26#define NC_FORMATX_NC_GRIB2 NC_FORMATX_UDF0
27#endif
28
29#if defined(__cplusplus)
30extern "C" {
31#endif
32
34extern NC_Dispatch *NC_GRIB2_initialize(void);
35
37extern int NC_GRIB2_finalize(void);
38
39#if defined(__cplusplus)
40}
41#endif
42
43#endif /* _GRIB2DISPATCH_H */
NC_Dispatch * NC_GRIB2_initialize(void)
Register the GRIB2 dispatch table in its UDF slot.
Definition grib2dispatch.c:125
int NC_GRIB2_finalize(void)
Finalize process-wide GRIB2 dispatch state.
Definition grib2dispatch.c:138
NetCDF Expansion Pack (NEP) - Public API.