SCORPIO  1.7.0
Data Types | Functions/Subroutines
spio_util Module Reference

Functions/Subroutines

integer function, public get_text_var_sz (file, varid, var_slen, var_nstrs, var_ndims, var_dim_sz)
 Get the size of a text/character variable (Each element of a text variable is a string) More...
 
integer function, public get_var_dim_sz (file, varid, var_sz, var_ndims, var_dim_sz)
 Get the dim size of a variable. More...
 

Function/Subroutine Documentation

◆ get_text_var_sz()

integer function, public spio_util::get_text_var_sz ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer, intent(out)  var_slen,
integer, intent(out), optional  var_nstrs,
integer, intent(out), optional  var_ndims,
integer, dimension(:), intent(out), optional  var_dim_sz 
)

Get the size of a text/character variable (Each element of a text variable is a string)

Parameters
fileThe handle to the file containing the variable
varidId of the queried variable
var_slenThe length of each string in the variable is returned in this arg
var_nstrs(Optional) The number of strings in the variable is returned in this arg
var_ndims(Optional) The number of dimensions in the variable
var_dim_sz(Optional) The dimension sizes of the variable is returned in this arg
Returns

◆ get_var_dim_sz()

integer function, public spio_util::get_var_dim_sz ( type(file_desc_t), intent(in)  file,
integer, intent(in)  varid,
integer(pio_offset_kind), intent(out)  var_sz,
integer, intent(out), optional  var_ndims,
integer(pio_offset_kind), dimension(:), intent(inout), optional, allocatable  var_dim_sz 
)

Get the dim size of a variable.

Parameters
fileThe handle to the file containing the variable
varidId of the queried variable
var_szThe total size of the variable is returned in this arg
var_ndims(Optional) The number of dimensions in the variable
var_dim_sz(Optional) The dimension sizes of the variable is returned in this arg
Returns