PIO
2.5.4
|
Functions | |
int | PIOc_put_att (int ncid, int varid, const char *name, nc_type xtype, PIO_Offset len, const void *op) |
Write a netCDF attribute of any type. More... | |
int | PIOc_put_att_schar (int ncid, int varid, const char *name, nc_type xtype, PIO_Offset len, const signed char *op) |
Write a netCDF attribute array of 8-bit signed chars. More... | |
int | PIOc_put_att_long (int ncid, int varid, const char *name, nc_type xtype, PIO_Offset len, const long *op) |
Write a netCDF attribute array of 32-bit signed integers. More... | |
int | PIOc_put_att_int (int ncid, int varid, const char *name, nc_type xtype, PIO_Offset len, const int *op) |
Write a netCDF attribute array of 32-bit signed integers. More... | |
int | PIOc_put_att_uchar (int ncid, int varid, const char *name, nc_type xtype, PIO_Offset len, const unsigned char *op) |
Write a netCDF attribute array of 8-bit unsigned chars. More... | |
int | PIOc_put_att_longlong (int ncid, int varid, const char *name, nc_type xtype, PIO_Offset len, const long long *op) |
Write a netCDF attribute array of 64-bit signed integers. More... | |
int | PIOc_put_att_uint (int ncid, int varid, const char *name, nc_type xtype, PIO_Offset len, const unsigned int *op) |
Write a netCDF attribute array of 32-bit unsigned integers. More... | |
int | PIOc_put_att_float (int ncid, int varid, const char *name, nc_type xtype, PIO_Offset len, const float *op) |
Write a netCDF attribute array of 32-bit floating points. More... | |
int | PIOc_put_att_ulonglong (int ncid, int varid, const char *name, nc_type xtype, PIO_Offset len, const unsigned long long *op) |
Write a netCDF attribute array of 64-bit unsigned integers. More... | |
int | PIOc_put_att_ushort (int ncid, int varid, const char *name, nc_type xtype, PIO_Offset len, const unsigned short *op) |
Write a netCDF attribute array of 16-bit unsigned integers. More... | |
int | PIOc_put_att_text (int ncid, int varid, const char *name, PIO_Offset len, const char *op) |
Write a netCDF text attribute. More... | |
int | PIOc_put_att_short (int ncid, int varid, const char *name, nc_type xtype, PIO_Offset len, const short *op) |
Write a netCDF attribute array of 16-bit integers. More... | |
int | PIOc_put_att_double (int ncid, int varid, const char *name, nc_type xtype, PIO_Offset len, const double *op) |
Write a netCDF attribute array of 64-bit floating points. More... | |
Create an attribute in C.
int PIOc_put_att | ( | int | ncid, |
int | varid, | ||
const char * | name, | ||
nc_type | xtype, | ||
PIO_Offset | len, | ||
const void * | op | ||
) |
Write a netCDF attribute of any type.
This routine is called collectively by all tasks in the communicator ios.union_comm.
ncid | the ncid of the open file, obtained from PIOc_openfile() or PIOc_createfile(). |
varid | the variable ID. |
name | the name of the attribute. |
xtype | the nc_type of the attribute. |
len | the length of the attribute array. |
op | a pointer with the attribute data. |
int PIOc_put_att_double | ( | int | ncid, |
int | varid, | ||
const char * | name, | ||
nc_type | xtype, | ||
PIO_Offset | len, | ||
const double * | op | ||
) |
Write a netCDF attribute array of 64-bit floating points.
This routine is called collectively by all tasks in the communicator ios.union_comm.
ncid | the ncid of the open file, obtained from PIOc_openfile() or PIOc_createfile(). |
varid | the variable ID. |
name | the name of the attribute. |
xtype | the nc_type of the attribute. |
len | the length of the attribute array. |
op | a pointer with the attribute data. |
int PIOc_put_att_float | ( | int | ncid, |
int | varid, | ||
const char * | name, | ||
nc_type | xtype, | ||
PIO_Offset | len, | ||
const float * | op | ||
) |
Write a netCDF attribute array of 32-bit floating points.
This routine is called collectively by all tasks in the communicator ios.union_comm.
ncid | the ncid of the open file, obtained from PIOc_openfile() or PIOc_createfile(). |
varid | the variable ID. |
name | the name of the attribute. |
xtype | the nc_type of the attribute. |
len | the length of the attribute array. |
op | a pointer with the attribute data. |
int PIOc_put_att_int | ( | int | ncid, |
int | varid, | ||
const char * | name, | ||
nc_type | xtype, | ||
PIO_Offset | len, | ||
const int * | op | ||
) |
Write a netCDF attribute array of 32-bit signed integers.
This routine is called collectively by all tasks in the communicator ios.union_comm.
ncid | the ncid of the open file, obtained from PIOc_openfile() or PIOc_createfile(). |
varid | the variable ID. |
name | the name of the attribute. |
xtype | the nc_type of the attribute. |
len | the length of the attribute array. |
op | a pointer with the attribute data. |
int PIOc_put_att_long | ( | int | ncid, |
int | varid, | ||
const char * | name, | ||
nc_type | xtype, | ||
PIO_Offset | len, | ||
const long * | op | ||
) |
Write a netCDF attribute array of 32-bit signed integers.
This routine is called collectively by all tasks in the communicator ios.union_comm.
ncid | the ncid of the open file, obtained from PIOc_openfile() or PIOc_createfile(). |
varid | the variable ID. |
name | the name of the attribute. |
xtype | the nc_type of the attribute. |
len | the length of the attribute array. |
op | a pointer with the attribute data. |
int PIOc_put_att_longlong | ( | int | ncid, |
int | varid, | ||
const char * | name, | ||
nc_type | xtype, | ||
PIO_Offset | len, | ||
const long long * | op | ||
) |
Write a netCDF attribute array of 64-bit signed integers.
This routine is called collectively by all tasks in the communicator ios.union_comm.
ncid | the ncid of the open file, obtained from PIOc_openfile() or PIOc_createfile(). |
varid | the variable ID. |
name | the name of the attribute. |
xtype | the nc_type of the attribute. |
len | the length of the attribute array. |
op | a pointer with the attribute data. |
int PIOc_put_att_schar | ( | int | ncid, |
int | varid, | ||
const char * | name, | ||
nc_type | xtype, | ||
PIO_Offset | len, | ||
const signed char * | op | ||
) |
Write a netCDF attribute array of 8-bit signed chars.
This routine is called collectively by all tasks in the communicator ios.union_comm.
ncid | the ncid of the open file, obtained from PIOc_openfile() or PIOc_createfile(). |
varid | the variable ID. |
name | the name of the attribute. |
xtype | the nc_type of the attribute. |
len | the length of the attribute array. |
op | a pointer with the attribute data. |
int PIOc_put_att_short | ( | int | ncid, |
int | varid, | ||
const char * | name, | ||
nc_type | xtype, | ||
PIO_Offset | len, | ||
const short * | op | ||
) |
Write a netCDF attribute array of 16-bit integers.
This routine is called collectively by all tasks in the communicator ios.union_comm.
ncid | the ncid of the open file, obtained from PIOc_openfile() or PIOc_createfile(). |
varid | the variable ID. |
name | the name of the attribute. |
xtype | the nc_type of the attribute. |
len | the length of the attribute array. |
op | a pointer with the attribute data. |
int PIOc_put_att_text | ( | int | ncid, |
int | varid, | ||
const char * | name, | ||
PIO_Offset | len, | ||
const char * | op | ||
) |
Write a netCDF text attribute.
This routine is called collectively by all tasks in the communicator ios.union_comm.
ncid | the ncid of the open file, obtained from PIOc_openfile() or PIOc_createfile(). |
varid | the variable ID. |
name | the name of the attribute. |
len | the length of the attribute array. |
op | a pointer with the attribute data. |
int PIOc_put_att_uchar | ( | int | ncid, |
int | varid, | ||
const char * | name, | ||
nc_type | xtype, | ||
PIO_Offset | len, | ||
const unsigned char * | op | ||
) |
Write a netCDF attribute array of 8-bit unsigned chars.
This routine is called collectively by all tasks in the communicator ios.union_comm.
ncid | the ncid of the open file, obtained from PIOc_openfile() or PIOc_createfile(). |
varid | the variable ID. |
name | the name of the attribute. |
xtype | the nc_type of the attribute. |
len | the length of the attribute array. |
op | a pointer with the attribute data. |
int PIOc_put_att_uint | ( | int | ncid, |
int | varid, | ||
const char * | name, | ||
nc_type | xtype, | ||
PIO_Offset | len, | ||
const unsigned int * | op | ||
) |
Write a netCDF attribute array of 32-bit unsigned integers.
This routine is called collectively by all tasks in the communicator ios.union_comm.
ncid | the ncid of the open file, obtained from PIOc_openfile() or PIOc_createfile(). |
varid | the variable ID. |
name | the name of the attribute. |
xtype | the nc_type of the attribute. |
len | the length of the attribute array. |
op | a pointer with the attribute data. |
int PIOc_put_att_ulonglong | ( | int | ncid, |
int | varid, | ||
const char * | name, | ||
nc_type | xtype, | ||
PIO_Offset | len, | ||
const unsigned long long * | op | ||
) |
Write a netCDF attribute array of 64-bit unsigned integers.
This routine is called collectively by all tasks in the communicator ios.union_comm.
ncid | the ncid of the open file, obtained from PIOc_openfile() or PIOc_createfile(). |
varid | the variable ID. |
name | the name of the attribute. |
xtype | the nc_type of the attribute. |
len | the length of the attribute array. |
op | a pointer with the attribute data. |
int PIOc_put_att_ushort | ( | int | ncid, |
int | varid, | ||
const char * | name, | ||
nc_type | xtype, | ||
PIO_Offset | len, | ||
const unsigned short * | op | ||
) |
Write a netCDF attribute array of 16-bit unsigned integers.
This routine is called collectively by all tasks in the communicator ios.union_comm.
ncid | the ncid of the open file, obtained from PIOc_openfile() or PIOc_createfile(). |
varid | the variable ID. |
name | the name of the attribute. |
xtype | the nc_type of the attribute. |
len | the length of the attribute array. |
op | a pointer with the attribute data. |