|
NEP 4.3.0
NetCDF Expansion Pack
|
UDF9 dispatch table registration for the nxCDF backend. More...
#include "config.h"#include "nxcdf/nxcdf.h"#include "nc4dispatch.h"#include "hdf5dispatch.h"#include "netcdf_filter.h"#include "nxcdf_internal.h"Macros | |
| #define | NXCDF_DISPATCH_MODEL NC_FORMATX_NXCDF |
Functions | |
| NC_Dispatch * | NC_NXCDF_initialize (void) |
| Register the nxCDF dispatch table with netcdf-c. | |
| int | NC_NXCDF_finalize (void) |
| Finalize process-wide nxCDF dispatch state. | |
Variables | |
| static const NC_Dispatch | NXCDF_dispatcher |
| The complete netCDF dispatch table for nxCDF. | |
| const NC_Dispatch * | NXCDF_dispatch_table = NULL |
| The active nxCDF dispatch table. | |
UDF9 dispatch table registration for the nxCDF backend.
| #define NXCDF_DISPATCH_MODEL NC_FORMATX_NXCDF |
| int NC_NXCDF_finalize | ( | void | ) |
Finalize process-wide nxCDF dispatch state.
nxCDF currently keeps no state that needs teardown, so this is a placeholder for symmetry with NC_NXCDF_initialize() and the other NEP backends.
| NC_Dispatch * NC_NXCDF_initialize | ( | void | ) |
Register the nxCDF dispatch table with netcdf-c.
Register the nxCDF dispatch table in UDF slot 9.
Installs NXCDF_dispatcher into UDF slot 9 by calling netcdf-c's nc_def_user_format(). Applications must call this once before using NC_NXCDF (unless the backend is autoloaded via .ncrc). Also reads the NEP_LOG_LEVEL environment variable to set the initial log level when logging is compiled in.
| const NC_Dispatch* NXCDF_dispatch_table = NULL |
The active nxCDF dispatch table.
Active nxCDF dispatch table, or NULL before initialization.
Set by NC_NXCDF_initialize(); NULL until the backend has been registered.
|
static |
The complete netCDF dispatch table for nxCDF.
A dispatch table is a struct of function pointers, one per netCDF API operation; netcdf-c routes every nc_* call through the table of the file it was called on. Entries fall into three groups: functions implemented by nxCDF itself (NXCDF_*), shared netcdf-c helpers that work on the common NC_*_INFO_T metadata (NC4_*), and stubs for unsupported operations (NC_NOTNC4_*, NC_NOOP_*). Fill defaults, group rename and chunk-cache settings use nxCDF entries rather than unsupported-operation stubs.
The struct has no designated initializers, so entries must appear in the exact positional order netcdf-c defines. See nxCDF Architecture.