NEP 4.3.0
NetCDF Expansion Pack
Loading...
Searching...
No Matches
grib2dispatch.h File Reference

Public declarations for the GRIB2 UDF backend. More...

#include <netcdf.h>
#include <netcdf_dispatch.h>
#include "nep.h"

Go to the source code of this file.

Macros

#define NC_FORMATX_NC_GRIB2   NC_FORMATX_UDF0

Functions

NC_Dispatch * NC_GRIB2_initialize (void)
 Register the GRIB2 dispatch table in its UDF slot.
int NC_GRIB2_finalize (void)
 Finalize process-wide GRIB2 dispatch state.

Detailed Description

Public declarations for the GRIB2 UDF backend.

This header declares only what applications need — the initialize/finalize pair and the extended format identifier.

This header may be included by downstream projects: it depends only on installed netcdf-c headers and nep.h.

Author
Edward Hartnett
Date
2026-03-08

Macro Definition Documentation

◆ NC_FORMATX_NC_GRIB2

#define NC_FORMATX_NC_GRIB2   NC_FORMATX_UDF0

GRIB2 format uses UDF2 slot for dispatch table model field (see nep.h for slot allocation)

Function Documentation

◆ NC_GRIB2_finalize()

int NC_GRIB2_finalize ( void )
extern

Finalize process-wide GRIB2 dispatch state.

◆ NC_GRIB2_initialize()

NC_Dispatch * NC_GRIB2_initialize ( void )
extern

Register the GRIB2 dispatch table in its UDF slot.