PIO  2.5.4
Functions
Set Fill Value

Set the fill value for a variable in C. More...

Functions

int PIOc_set_fill (int ncid, int fillmode, int *old_modep)
 The PIO-C interface for the NetCDF function nc_set_fill. More...
 

Detailed Description

Set the fill value for a variable in C.

Function Documentation

◆ PIOc_set_fill()

int PIOc_set_fill ( int  ncid,
int  fillmode,
int *  old_modep 
)

The PIO-C interface for the NetCDF function nc_set_fill.

This routine is called collectively by all tasks in the communicator ios.union_comm. For more information on the underlying NetCDF commmand please read about this function in the NetCDF documentation at: http://www.unidata.ucar.edu/software/netcdf/docs/group__datasets.html

Parameters
ncidthe ncid of the open file, obtained from PIOc_openfile() or PIOc_createfile().
fillmodeeither NC_FILL or NC_NOFILL.
old_modepa pointer to an int that gets the old setting.
Returns
PIO_NOERR for success, error code otherwise.
Author
Jim Edwards, Ed Hartnett