PIO  1.7.1
 All Classes Files Functions Groups Pages
Functions/Subroutines
PIO_inquire_variable

Functions/Subroutines

integer function nf_mod::inquire_variable_vid (ncid, varid, name, xtype, ndims, dimids, natts)
 Inquires if a NetCDF variable is present and returns its attributes. More...
 
integer function nf_mod::inquire_variable_vdesc (ncid, vardesc, name, xtype, ndims, dimids, natts)
 Inquires if a NetCDF variable is present and returns its attributes. More...
 

Detailed Description

Function/Subroutine Documentation

integer function nf_mod::inquire_variable_vdesc ( type(file_desc_t), intent(in)  ncid,
type(var_desc_t), intent(in)  vardesc,
character (len = *), intent(out), optional  name,
integer, intent(out), optional  xtype,
integer, intent(out), optional  ndims,
integer, dimension(:), intent(out), optional  dimids,
integer, intent(out), optional  natts 
)

Inquires if a NetCDF variable is present and returns its attributes.

Parameters
ncid: A netcdf file descriptor returned by PIO_openfile or PIO_createfile.
vardesc\copybriefvar_desc_t
Parameters
name: The name of the variable
xtype: The type of the variable
ndims: The number of dimensions for the variable.
dimids: The dimension identifier returned by PIO_def_dim
natts: Number of attributes associated with the variable
Return values
ierr\copybrieferror_return
integer function nf_mod::inquire_variable_vid ( type(file_desc_t), intent(in)  ncid,
integer, intent(in)  varid,
character (len = *), intent(out), optional  name,
integer, intent(out), optional  xtype,
integer, intent(out), optional  ndims,
integer, dimension(:), intent(out), optional  dimids,
integer, intent(out), optional  natts 
)

Inquires if a NetCDF variable is present and returns its attributes.

Parameters
ncid: A netcdf file descriptor returned by PIO_openfile or PIO_createfile.
varid: The netcdf variable ID.
name: The name of the variable
xtype: The type of the variable
ndims: The number of dimensions for the variable.
dimids: The dimension identifier returned by PIO_def_dim
natts: Number of attributes associated with the variable
Return values
ierr\copybrieferror_return