NEP 4.0.0
NetCDF Expansion Pack
Loading...
Searching...
No Matches
Functions
nxt4open.c File Reference

Empty-file open and validation for the NEXTCDF-4 backend. More...

#include "config.h"
#include <unistd.h>
#include "nxt4internal.h"

Functions

int NEXTCDF4_open (const char *path, int mode, int basepe, size_t *chunksizehintp, void *parameters, const NC_Dispatch *dispatch, int ncid)
 

Detailed Description

Empty-file open and validation for the NEXTCDF-4 backend.

Author
Edward Hartnett
Date
2026-08-28

Function Documentation

◆ NEXTCDF4_open()

int NEXTCDF4_open ( const char *  path,
int  mode,
int  basepe,
size_t *  chunksizehintp,
void *  parameters,
const NC_Dispatch *  dispatch,
int  ncid 
)

Open an empty, marked NEXTCDF-4 file.

Parameters
pathFile-system path to open.
modeNetCDF open-mode flags.
basepeBase processing element; currently ignored.
chunksizehintpChunk-size hint; currently ignored.
parametersOptional dispatch parameters; currently ignored.
dispatchDispatch table selected by netcdf-c.
ncidNetCDF file identifier allocated by netcdf-c.
Returns
NC_NOERR on success, or a NetCDF error code.