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

Inquire the number of dimensions in a file. More...

Functions/Subroutines

integer function pio_inq_ndims_file (file, ndims)
 Inquire/get the number of dimensions in a file.
 
integer function pio_inq_ndims_fh (fh, ndims)
 Inquire/get the number of dimensions in a file.
 

Detailed Description

Inquire the number of dimensions in a file.

Get the number of dimensions in a file

Function/Subroutine Documentation

◆ pio_inq_ndims_fh()

integer function __spio_inq_file_f90__::pio_inq_ndims_fh ( integer, intent(in)  fh,
integer, intent(out)  ndims 
)

Inquire/get the number of dimensions in a file.

Parameters
[in]fhThe file id/handle
[out]ndimsThe number of dimensions in the file
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_inq_ndims_file()

integer function __spio_inq_file_f90__::pio_inq_ndims_file ( type(file_desc_t), intent(in)  file,
integer, intent(out)  ndims 
)

Inquire/get the number of dimensions in a file.

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

This structure holds information associated with each open file

Parameters
[out]ndimsThe number of dimensions in the file
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)