SCORPIO 1.9.0
Loading...
Searching...
No Matches
Functions/Subroutines
PIO_inquire

Inquire the meta-data information from a file. More...

Functions/Subroutines

integer function pio_inquire_file (file, ndimensions, nvariables, nattributes, unlimiteddimid)
 Get the number of variables/dimensions/attributes in a file.
 
integer function pio_inquire_fh (fh, ndimensions, nvariables, nattributes, unlimiteddimid)
 Get the number of variables/dimensions/attributes in a file.
 

Detailed Description

Inquire the meta-data information from a file.

Get the meta-data information (the number of variables/dimensions/attributes) from a file.

Function/Subroutine Documentation

◆ pio_inquire_fh()

integer function __spio_inq_file_f90__::pio_inquire_fh ( integer, intent(in)  fh,
integer, intent(out), optional  ndimensions,
integer, intent(out), optional  nvariables,
integer, intent(out), optional  nattributes,
integer, intent(out), optional  unlimiteddimid 
)

Get the number of variables/dimensions/attributes in a file.

Parameters
[in]fhThe file id/handle
[out]nDimensions(Optional) The number of dimensions in the file
[out]nVariables(Optional) The number of variables in the file
[out]nAttributes(Optional) The number of attributes in the file
[out]unlimitedDimID(Optional) The id of the unlimited dimension
Return values
ierr: The error return code.

Set to PIO_NOERR on success, or an error code otherwise (See PIO_seterrorhandling for more information on how to customize/set error handling)

◆ pio_inquire_file()

integer function __spio_inq_file_f90__::pio_inquire_file ( type(file_desc_t), intent(in)  file,
integer, intent(out), optional  ndimensions,
integer, intent(out), optional  nvariables,
integer, intent(out), optional  nattributes,
integer, intent(out), optional  unlimiteddimid 
)

Get the number of variables/dimensions/attributes in a file.

Parameters
[in]fileThe file handle. File descriptor structure.

This structure holds information associated with each open file

Parameters
[out]nDimensions(Optional) The number of dimensions in the file
[out]nVariables(Optional) The number of variables in the file
[out]nAttributes(Optional) The number of attributes in the file
[out]unlimitedDimID(Optional) The id of the unlimited dimension
Return values
ierr: The error return code.

Set to PIO_NOERR on success, or an error code otherwise (See PIO_seterrorhandling for more information on how to customize/set error handling)