PIO  2.5.4
Functions
Write Entire Variable

Functions

int PIOc_put_var_text (int ncid, int varid, const char *op)
 Put all data to a text variable. More...
 
int PIOc_put_var_uchar (int ncid, int varid, const unsigned char *op)
 Put all data to an unsigned char variable. More...
 
int PIOc_put_var_schar (int ncid, int varid, const signed char *op)
 Put all data to a signed char variable. More...
 
int PIOc_put_var_ushort (int ncid, int varid, const unsigned short *op)
 Put all data to a 16-bit unsigned integer variable. More...
 
int PIOc_put_var_short (int ncid, int varid, const short *op)
 Put all data to a 16-bit integer variable. More...
 
int PIOc_put_var_uint (int ncid, int varid, const unsigned int *op)
 Put all data to an unsigned integer variable. More...
 
int PIOc_put_var_int (int ncid, int varid, const int *op)
 Put all data to an integer variable. More...
 
int PIOc_put_var_long (int ncid, int varid, const long *op)
 Put all data to an integer variable. More...
 
int PIOc_put_var_float (int ncid, int varid, const float *op)
 Put all data to a floating point variable. More...
 
int PIOc_put_var_ulonglong (int ncid, int varid, const unsigned long long *op)
 Put all data to an unsigned 64-bit integer variable. More...
 
int PIOc_put_var_longlong (int ncid, int varid, const long long *op)
 Put all data to a 64-bit integer variable. More...
 
int PIOc_put_var_double (int ncid, int varid, const double *op)
 Put all data to a 64-bit floating point variable. More...
 
int PIOc_put_var (int ncid, int varid, const void *op)
 Put all data to a variable of any type. More...
 

Detailed Description

Write the entire variable in C.

Function Documentation

◆ PIOc_put_var()

int PIOc_put_var ( int  ncid,
int  varid,
const void *  op 
)

Put all data to a variable of any type.

This routine is called collectively by all tasks in the communicator ios.union_comm.

Parameters
ncididentifies the netCDF file
varidthe variable ID number
oppointer to the data to be written.
Returns
PIO_NOERR on success, error code otherwise.
Author
Ed Hartnett

◆ PIOc_put_var_double()

int PIOc_put_var_double ( int  ncid,
int  varid,
const double *  op 
)

Put all data to a 64-bit floating point variable.

This routine is called collectively by all tasks in the communicator ios.union_comm.

Parameters
ncididentifies the netCDF file
varidthe variable ID number
oppointer to the data to be written.
Returns
PIO_NOERR on success, error code otherwise.
Author
Ed Hartnett

◆ PIOc_put_var_float()

int PIOc_put_var_float ( int  ncid,
int  varid,
const float *  op 
)

Put all data to a floating point variable.

This routine is called collectively by all tasks in the communicator ios.union_comm.

Parameters
ncididentifies the netCDF file
varidthe variable ID number
oppointer to the data to be written.
Returns
PIO_NOERR on success, error code otherwise.
Author
Ed Hartnett

◆ PIOc_put_var_int()

int PIOc_put_var_int ( int  ncid,
int  varid,
const int *  op 
)

Put all data to an integer variable.

This routine is called collectively by all tasks in the communicator ios.union_comm.

Parameters
ncididentifies the netCDF file
varidthe variable ID number
oppointer to the data to be written.
Returns
PIO_NOERR on success, error code otherwise.
Author
Ed Hartnett

◆ PIOc_put_var_long()

int PIOc_put_var_long ( int  ncid,
int  varid,
const long *  op 
)

Put all data to an integer variable.

This routine is called collectively by all tasks in the communicator ios.union_comm.

Parameters
ncididentifies the netCDF file
varidthe variable ID number
oppointer to the data to be written.
Returns
PIO_NOERR on success, error code otherwise.
Author
Ed Hartnett

◆ PIOc_put_var_longlong()

int PIOc_put_var_longlong ( int  ncid,
int  varid,
const long long *  op 
)

Put all data to a 64-bit integer variable.

This routine is called collectively by all tasks in the communicator ios.union_comm.

Parameters
ncididentifies the netCDF file
varidthe variable ID number
oppointer to the data to be written.
Returns
PIO_NOERR on success, error code otherwise.
Author
Ed Hartnett

◆ PIOc_put_var_schar()

int PIOc_put_var_schar ( int  ncid,
int  varid,
const signed char *  op 
)

Put all data to a signed char variable.

This routine is called collectively by all tasks in the communicator ios.union_comm.

Parameters
ncididentifies the netCDF file
varidthe variable ID number
oppointer to the data to be written.
Returns
PIO_NOERR on success, error code otherwise.
Author
Ed Hartnett

◆ PIOc_put_var_short()

int PIOc_put_var_short ( int  ncid,
int  varid,
const short *  op 
)

Put all data to a 16-bit integer variable.

This routine is called collectively by all tasks in the communicator ios.union_comm.

Parameters
ncididentifies the netCDF file
varidthe variable ID number
oppointer to the data to be written.
Returns
PIO_NOERR on success, error code otherwise.
Author
Ed Hartnett

◆ PIOc_put_var_text()

int PIOc_put_var_text ( int  ncid,
int  varid,
const char *  op 
)

Put all data to a text variable.

This routine is called collectively by all tasks in the communicator ios.union_comm.

Parameters
ncididentifies the netCDF file
varidthe variable ID number
oppointer to the data to be written.
Returns
PIO_NOERR on success, error code otherwise.
Author
Ed Hartnett

◆ PIOc_put_var_uchar()

int PIOc_put_var_uchar ( int  ncid,
int  varid,
const unsigned char *  op 
)

Put all data to an unsigned char variable.

This routine is called collectively by all tasks in the communicator ios.union_comm.

Parameters
ncididentifies the netCDF file
varidthe variable ID number
oppointer to the data to be written.
Returns
PIO_NOERR on success, error code otherwise.
Author
Ed Hartnett

◆ PIOc_put_var_uint()

int PIOc_put_var_uint ( int  ncid,
int  varid,
const unsigned int *  op 
)

Put all data to an unsigned integer variable.

This routine is called collectively by all tasks in the communicator ios.union_comm.

Parameters
ncididentifies the netCDF file
varidthe variable ID number
oppointer to the data to be written.
Returns
PIO_NOERR on success, error code otherwise.
Author
Ed Hartnett

◆ PIOc_put_var_ulonglong()

int PIOc_put_var_ulonglong ( int  ncid,
int  varid,
const unsigned long long *  op 
)

Put all data to an unsigned 64-bit integer variable.

This routine is called collectively by all tasks in the communicator ios.union_comm.

Parameters
ncididentifies the netCDF file
varidthe variable ID number
oppointer to the data to be written.
Returns
PIO_NOERR on success, error code otherwise.
Author
Ed Hartnett

◆ PIOc_put_var_ushort()

int PIOc_put_var_ushort ( int  ncid,
int  varid,
const unsigned short *  op 
)

Put all data to a 16-bit unsigned integer variable.

This routine is called collectively by all tasks in the communicator ios.union_comm.

Parameters
ncididentifies the netCDF file
varidthe variable ID number
oppointer to the data to be written.
Returns
PIO_NOERR on success, error code otherwise.
Author
Ed Hartnett