SCORPIO  1.7.0
Data Types | Functions/Subroutines
spio_put_var Module Reference

Functions/Subroutines

integer function pio_put_var1_text (file, varid, start, str)
 Write/Put a string to a variable (character array) in a file at a specified index. More...
 
integer function pio_put_var1_int (file, varid, start, val)
 Write/Put one element/datum (int) to a variable in a file at a specified index. More...
 
integer function pio_put_var1_real (file, varid, start, val)
 Write/Put one element/datum (real) to a variable in a file at a specified index. More...
 
integer function pio_put_var1_double (file, varid, start, val)
 Write/Put one element/datum (double) to a variable in a file at a specified index. More...
 
integer function pio_put_var1_vdesc_text (file, vdesc, start, val)
 Write/Put one element/datum (text) to a variable in a file at a specified index. More...
 
integer function pio_put_var1_vdesc_int (file, vdesc, start, val)
 Write/Put one element/datum (int) to a variable in a file at a specified index. More...
 
integer function pio_put_var1_vdesc_real (file, vdesc, start, val)
 Write/Put one element/datum (real) to a variable in a file at a specified index. More...
 
integer function pio_put_var1_vdesc_double (file, vdesc, start, val)
 Write/Put one element/datum (double) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_1d_text (file, varid, start, cnt, val)
 Function to write/put specified number of strings to a variable in a file at a specified index. More...
 
integer function pio_put_vara_2d_text (file, varid, start, cnt, val)
 Function to write/put specified number of strings to a variable in a file at a specified index. More...
 
integer function pio_put_vara_3d_text (file, varid, start, cnt, val)
 Function to write/put specified number of strings to a variable in a file at a specified index. More...
 
integer function pio_put_vara_4d_text (file, varid, start, cnt, val)
 Function to write/put specified number of strings to a variable in a file at a specified index. More...
 
integer function pio_put_vara_5d_text (file, varid, start, cnt, val)
 Function to write/put specified number of strings to a variable in a file at a specified index. More...
 
integer function pio_put_vara_1d_int (file, varid, start, cnt, val)
 Function to write/put specified number of elements ($int) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_2d_int (file, varid, start, cnt, val)
 Function to write/put specified number of elements ($int) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_3d_int (file, varid, start, cnt, val)
 Function to write/put specified number of elements ($int) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_4d_int (file, varid, start, cnt, val)
 Function to write/put specified number of elements ($int) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_5d_int (file, varid, start, cnt, val)
 Function to write/put specified number of elements ($int) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_1d_real (file, varid, start, cnt, val)
 Function to write/put specified number of elements ($real) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_2d_real (file, varid, start, cnt, val)
 Function to write/put specified number of elements ($real) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_3d_real (file, varid, start, cnt, val)
 Function to write/put specified number of elements ($real) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_4d_real (file, varid, start, cnt, val)
 Function to write/put specified number of elements ($real) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_5d_real (file, varid, start, cnt, val)
 Function to write/put specified number of elements ($real) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_1d_double (file, varid, start, cnt, val)
 Function to write/put specified number of elements ($double) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_2d_double (file, varid, start, cnt, val)
 Function to write/put specified number of elements ($double) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_3d_double (file, varid, start, cnt, val)
 Function to write/put specified number of elements ($double) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_4d_double (file, varid, start, cnt, val)
 Function to write/put specified number of elements ($double) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_5d_double (file, varid, start, cnt, val)
 Function to write/put specified number of elements ($double) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_1d_text (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($text) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_2d_text (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($text) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_3d_text (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($text) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_4d_text (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($text) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_5d_text (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($text) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_1d_real (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($real) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_2d_real (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($real) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_3d_real (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($real) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_4d_real (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($real) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_5d_real (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($real) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_1d_double (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($double) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_2d_double (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($double) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_3d_double (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($double) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_4d_double (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($double) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_5d_double (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($double) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_1d_int (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($int) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_2d_int (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($int) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_3d_int (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($int) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_4d_int (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($int) to a variable in a file at a specified index. More...
 
integer function pio_put_vara_vdesc_5d_int (file, vdesc, start, cnt, val)
 Function to write/put specified number of elements ($int) to a variable in a file at a specified index. More...
 
integer function pio_put_var_0d_text (file, varid, val)
 Function to write/put strings to a variable. More...
 
integer function pio_put_var_1d_text (file, varid, val)
 Function to write/put strings to a variable. More...
 
integer function pio_put_var_2d_text (file, varid, val)
 Function to write/put strings to a variable. More...
 
integer function pio_put_var_3d_text (file, varid, val)
 Function to write/put strings to a variable. More...
 
integer function pio_put_var_4d_text (file, varid, val)
 Function to write/put strings to a variable. More...
 
integer function pio_put_var_5d_text (file, varid, val)
 Function to write/put strings to a variable. More...
 
integer function pio_put_var_0d_int (file, varid, val)
 Function to write/put all elements to a scalar variable. More...
 
integer function pio_put_var_0d_real (file, varid, val)
 Function to write/put all elements to a scalar variable. More...
 
integer function pio_put_var_0d_double (file, varid, val)
 Function to write/put all elements to a scalar variable. More...
 
integer function pio_put_var_1d_int (file, varid, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_2d_int (file, varid, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_3d_int (file, varid, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_4d_int (file, varid, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_5d_int (file, varid, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_1d_real (file, varid, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_2d_real (file, varid, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_3d_real (file, varid, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_4d_real (file, varid, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_5d_real (file, varid, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_1d_double (file, varid, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_2d_double (file, varid, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_3d_double (file, varid, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_4d_double (file, varid, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_5d_double (file, varid, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_0d_text (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_1d_text (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_2d_text (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_3d_text (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_4d_text (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_5d_text (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_0d_int (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_1d_int (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_2d_int (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_3d_int (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_4d_int (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_5d_int (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_0d_real (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_1d_real (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_2d_real (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_3d_real (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_4d_real (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_5d_real (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_0d_double (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_1d_double (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_2d_double (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_3d_double (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_4d_double (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 
integer function pio_put_var_vdesc_5d_double (file, vdesc, val)
 Function to write/put all elements to a variable. More...
 

Function/Subroutine Documentation

◆ pio_put_var_0d_double()

integer function spio_put_var::pio_put_var_0d_double ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
real(r8), intent(in)  val 
)

Function to write/put all elements to a scalar variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe value being written out.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_0d_int()

integer function spio_put_var::pio_put_var_0d_int ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer(i4), intent(in)  val 
)

Function to write/put all elements to a scalar variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe value being written out.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_0d_real()

integer function spio_put_var::pio_put_var_0d_real ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
real(r4), intent(in)  val 
)

Function to write/put all elements to a scalar variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe value being written out.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_0d_text()

integer function spio_put_var::pio_put_var_0d_text ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
character(len=*), intent(in)  val 
)

Function to write/put strings to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of strings being written out. The array of strings need to contain the same number of characters as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_1d_double()

integer function spio_put_var::pio_put_var_1d_double ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
real(r8), dimension(:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_1d_int()

integer function spio_put_var::pio_put_var_1d_int ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer(i4), dimension(:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_1d_real()

integer function spio_put_var::pio_put_var_1d_real ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
real(r4), dimension(:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_1d_text()

integer function spio_put_var::pio_put_var_1d_text ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
character(len=*), dimension(:), intent(in)  val 
)

Function to write/put strings to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of strings being written out. The array of strings need to contain the same number of characters as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_2d_double()

integer function spio_put_var::pio_put_var_2d_double ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
real(r8), dimension(:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_2d_int()

integer function spio_put_var::pio_put_var_2d_int ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer(i4), dimension(:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_2d_real()

integer function spio_put_var::pio_put_var_2d_real ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
real(r4), dimension(:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_2d_text()

integer function spio_put_var::pio_put_var_2d_text ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
character(len=*), dimension(:,:), intent(in)  val 
)

Function to write/put strings to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of strings being written out. The array of strings need to contain the same number of characters as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_3d_double()

integer function spio_put_var::pio_put_var_3d_double ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
real(r8), dimension(:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_3d_int()

integer function spio_put_var::pio_put_var_3d_int ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer(i4), dimension(:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_3d_real()

integer function spio_put_var::pio_put_var_3d_real ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
real(r4), dimension(:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_3d_text()

integer function spio_put_var::pio_put_var_3d_text ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
character(len=*), dimension(:,:,:), intent(in)  val 
)

Function to write/put strings to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of strings being written out. The array of strings need to contain the same number of characters as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_4d_double()

integer function spio_put_var::pio_put_var_4d_double ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
real(r8), dimension(:,:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_4d_int()

integer function spio_put_var::pio_put_var_4d_int ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer(i4), dimension(:,:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_4d_real()

integer function spio_put_var::pio_put_var_4d_real ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
real(r4), dimension(:,:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_4d_text()

integer function spio_put_var::pio_put_var_4d_text ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
character(len=*), dimension(:,:,:,:), intent(in)  val 
)

Function to write/put strings to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of strings being written out. The array of strings need to contain the same number of characters as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_5d_double()

integer function spio_put_var::pio_put_var_5d_double ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
real(r8), dimension(:,:,:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_5d_int()

integer function spio_put_var::pio_put_var_5d_int ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer(i4), dimension(:,:,:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_5d_real()

integer function spio_put_var::pio_put_var_5d_real ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
real(r4), dimension(:,:,:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_5d_text()

integer function spio_put_var::pio_put_var_5d_text ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
character(len=*), dimension(:,:,:,:,:), intent(in)  val 
)

Function to write/put strings to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]valThe array of strings being written out. The array of strings need to contain the same number of characters as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_0d_double()

integer function spio_put_var::pio_put_var_vdesc_0d_double ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
real(r8), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_0d_int()

integer function spio_put_var::pio_put_var_vdesc_0d_int ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer(i4), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_0d_real()

integer function spio_put_var::pio_put_var_vdesc_0d_real ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
real(r4), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_0d_text()

integer function spio_put_var::pio_put_var_vdesc_0d_text ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
character(len=*), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_1d_double()

integer function spio_put_var::pio_put_var_vdesc_1d_double ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
real(r8), dimension(:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_1d_int()

integer function spio_put_var::pio_put_var_vdesc_1d_int ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer(i4), dimension(:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_1d_real()

integer function spio_put_var::pio_put_var_vdesc_1d_real ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
real(r4), dimension(:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_1d_text()

integer function spio_put_var::pio_put_var_vdesc_1d_text ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
character(len=*), dimension(:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_2d_double()

integer function spio_put_var::pio_put_var_vdesc_2d_double ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
real(r8), dimension(:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_2d_int()

integer function spio_put_var::pio_put_var_vdesc_2d_int ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer(i4), dimension(:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_2d_real()

integer function spio_put_var::pio_put_var_vdesc_2d_real ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
real(r4), dimension(:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_2d_text()

integer function spio_put_var::pio_put_var_vdesc_2d_text ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
character(len=*), dimension(:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_3d_double()

integer function spio_put_var::pio_put_var_vdesc_3d_double ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
real(r8), dimension(:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_3d_int()

integer function spio_put_var::pio_put_var_vdesc_3d_int ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer(i4), dimension(:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_3d_real()

integer function spio_put_var::pio_put_var_vdesc_3d_real ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
real(r4), dimension(:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_3d_text()

integer function spio_put_var::pio_put_var_vdesc_3d_text ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
character(len=*), dimension(:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_4d_double()

integer function spio_put_var::pio_put_var_vdesc_4d_double ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
real(r8), dimension(:,:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_4d_int()

integer function spio_put_var::pio_put_var_vdesc_4d_int ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer(i4), dimension(:,:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_4d_real()

integer function spio_put_var::pio_put_var_vdesc_4d_real ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
real(r4), dimension(:,:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_4d_text()

integer function spio_put_var::pio_put_var_vdesc_4d_text ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
character(len=*), dimension(:,:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_5d_double()

integer function spio_put_var::pio_put_var_vdesc_5d_double ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
real(r8), dimension(:,:,:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_5d_int()

integer function spio_put_var::pio_put_var_vdesc_5d_int ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer(i4), dimension(:,:,:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_5d_real()

integer function spio_put_var::pio_put_var_vdesc_5d_real ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
real(r4), dimension(:,:,:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_var_vdesc_5d_text()

integer function spio_put_var::pio_put_var_vdesc_5d_text ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
character(len=*), dimension(:,:,:,:,:), intent(in)  val 
)

Function to write/put all elements to a variable.

The entire variable is written out in a single call.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]valThe array of elements being written out. The array of elements need to contain the same number of elements as defined by the variable dimensions.
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_1d_double()

integer function spio_put_var::pio_put_vara_1d_double ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r8), dimension(:), intent(in)  val 
)

Function to write/put specified number of elements ($double) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_1d_int()

integer function spio_put_var::pio_put_vara_1d_int ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
integer(i4), dimension(:), intent(in)  val 
)

Function to write/put specified number of elements ($int) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_1d_real()

integer function spio_put_var::pio_put_vara_1d_real ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r4), dimension(:), intent(in)  val 
)

Function to write/put specified number of elements ($real) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_1d_text()

integer function spio_put_var::pio_put_vara_1d_text ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
character(len=*), dimension(:), intent(in)  val 
)

Function to write/put specified number of strings to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first character is written out. The remaining chars (the number of chars is determined by the cnt array), if any, in val is written out as subsequent chars in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first char is to be written) The indices start from 1.
[in]cntThe number (count) of chars written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of strings being written out. The strings are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) characters that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_2d_double()

integer function spio_put_var::pio_put_vara_2d_double ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r8), dimension(:,:), intent(in)  val 
)

Function to write/put specified number of elements ($double) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_2d_int()

integer function spio_put_var::pio_put_vara_2d_int ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
integer(i4), dimension(:,:), intent(in)  val 
)

Function to write/put specified number of elements ($int) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_2d_real()

integer function spio_put_var::pio_put_vara_2d_real ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r4), dimension(:,:), intent(in)  val 
)

Function to write/put specified number of elements ($real) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_2d_text()

integer function spio_put_var::pio_put_vara_2d_text ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
character(len=*), dimension(:,:), intent(in)  val 
)

Function to write/put specified number of strings to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first character is written out. The remaining chars (the number of chars is determined by the cnt array), if any, in val is written out as subsequent chars in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first char is to be written) The indices start from 1.
[in]cntThe number (count) of chars written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of strings being written out. The strings are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) characters that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_3d_double()

integer function spio_put_var::pio_put_vara_3d_double ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r8), dimension(:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($double) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_3d_int()

integer function spio_put_var::pio_put_vara_3d_int ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
integer(i4), dimension(:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($int) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_3d_real()

integer function spio_put_var::pio_put_vara_3d_real ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r4), dimension(:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($real) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_3d_text()

integer function spio_put_var::pio_put_vara_3d_text ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
character(len=*), dimension(:,:,:), intent(in)  val 
)

Function to write/put specified number of strings to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first character is written out. The remaining chars (the number of chars is determined by the cnt array), if any, in val is written out as subsequent chars in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first char is to be written) The indices start from 1.
[in]cntThe number (count) of chars written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of strings being written out. The strings are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) characters that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_4d_double()

integer function spio_put_var::pio_put_vara_4d_double ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r8), dimension(:,:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($double) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_4d_int()

integer function spio_put_var::pio_put_vara_4d_int ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
integer(i4), dimension(:,:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($int) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_4d_real()

integer function spio_put_var::pio_put_vara_4d_real ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r4), dimension(:,:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($real) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_4d_text()

integer function spio_put_var::pio_put_vara_4d_text ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
character(len=*), dimension(:,:,:,:), intent(in)  val 
)

Function to write/put specified number of strings to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first character is written out. The remaining chars (the number of chars is determined by the cnt array), if any, in val is written out as subsequent chars in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first char is to be written) The indices start from 1.
[in]cntThe number (count) of chars written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of strings being written out. The strings are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) characters that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_5d_double()

integer function spio_put_var::pio_put_vara_5d_double ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r8), dimension(:,:,:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($double) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_5d_int()

integer function spio_put_var::pio_put_vara_5d_int ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
integer(i4), dimension(:,:,:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($int) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_5d_real()

integer function spio_put_var::pio_put_vara_5d_real ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r4), dimension(:,:,:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($real) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_5d_text()

integer function spio_put_var::pio_put_vara_5d_text ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
character(len=*), dimension(:,:,:,:,:), intent(in)  val 
)

Function to write/put specified number of strings to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]varidThe handle/id of the variable
[in]startThe variable index at which the first character is written out. The remaining chars (the number of chars is determined by the cnt array), if any, in val is written out as subsequent chars in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first char is to be written) The indices start from 1.
[in]cntThe number (count) of chars written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of strings being written out. The strings are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) characters that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_1d_double()

integer function spio_put_var::pio_put_vara_vdesc_1d_double ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r8), dimension(:), intent(in)  val 
)

Function to write/put specified number of elements ($double) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_1d_int()

integer function spio_put_var::pio_put_vara_vdesc_1d_int ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
integer(i4), dimension(:), intent(in)  val 
)

Function to write/put specified number of elements ($int) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_1d_real()

integer function spio_put_var::pio_put_vara_vdesc_1d_real ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r4), dimension(:), intent(in)  val 
)

Function to write/put specified number of elements ($real) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_1d_text()

integer function spio_put_var::pio_put_vara_vdesc_1d_text ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
character(len=*), dimension(:), intent(in)  val 
)

Function to write/put specified number of elements ($text) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_2d_double()

integer function spio_put_var::pio_put_vara_vdesc_2d_double ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r8), dimension(:,:), intent(in)  val 
)

Function to write/put specified number of elements ($double) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_2d_int()

integer function spio_put_var::pio_put_vara_vdesc_2d_int ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
integer(i4), dimension(:,:), intent(in)  val 
)

Function to write/put specified number of elements ($int) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_2d_real()

integer function spio_put_var::pio_put_vara_vdesc_2d_real ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r4), dimension(:,:), intent(in)  val 
)

Function to write/put specified number of elements ($real) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_2d_text()

integer function spio_put_var::pio_put_vara_vdesc_2d_text ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
character(len=*), dimension(:,:), intent(in)  val 
)

Function to write/put specified number of elements ($text) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_3d_double()

integer function spio_put_var::pio_put_vara_vdesc_3d_double ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r8), dimension(:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($double) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_3d_int()

integer function spio_put_var::pio_put_vara_vdesc_3d_int ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
integer(i4), dimension(:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($int) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_3d_real()

integer function spio_put_var::pio_put_vara_vdesc_3d_real ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r4), dimension(:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($real) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_3d_text()

integer function spio_put_var::pio_put_vara_vdesc_3d_text ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
character(len=*), dimension(:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($text) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_4d_double()

integer function spio_put_var::pio_put_vara_vdesc_4d_double ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r8), dimension(:,:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($double) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_4d_int()

integer function spio_put_var::pio_put_vara_vdesc_4d_int ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
integer(i4), dimension(:,:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($int) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_4d_real()

integer function spio_put_var::pio_put_vara_vdesc_4d_real ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r4), dimension(:,:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($real) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_4d_text()

integer function spio_put_var::pio_put_vara_vdesc_4d_text ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
character(len=*), dimension(:,:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($text) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_5d_double()

integer function spio_put_var::pio_put_vara_vdesc_5d_double ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r8), dimension(:,:,:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($double) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_5d_int()

integer function spio_put_var::pio_put_vara_vdesc_5d_int ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
integer(i4), dimension(:,:,:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($int) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_5d_real()

integer function spio_put_var::pio_put_vara_vdesc_5d_real ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
real(r4), dimension(:,:,:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($real) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise

◆ pio_put_vara_vdesc_5d_text()

integer function spio_put_var::pio_put_vara_vdesc_5d_text ( type(file_desc_t), intent(in)  file,
type(var_desc_t), intent(in)  vdesc,
integer, dimension(:), intent(in)  start,
integer, dimension(:), intent(in)  cnt,
character(len=*), dimension(:,:,:,:,:), intent(in)  val 
)

Function to write/put specified number of elements ($text) to a variable in a file at a specified index.

Parameters
[in]fileThe handle to the file with the variable. File descriptor structure. This structure holds information associated with each open file
[in]vdescThe handle to the variable. Variable description structure.
[in]startThe variable index at which the first element/datum is written out. The remaining elements (the number of elements is determined by the cnt array), if any, in val is written out as subsequent elements in the variable. This argument is an array and the size of the array needs to be equal to the number of dimensions for the variable. Each element in the array corresponds to the starting index for the variable dimension (subscripts referring to where the first value is to be written) The indices start from 1.
[in]cntThe number (count) of elements written out. This argument is an array and the size of the array needs to be equal to the number of dimensions of the variable. Each element in the array corresponds to the number of elements of that variable dimension being written out
[in]valThe array of values being written out. The values are written out to the variable at the index, cstart, specified above. The array needs to contain at least PRODUCT(cnt) values that are being written out
Returns
PIO_NOERR on success, an error code otherwise