SCORPIO  1.9.2
Functions/Subroutines
PIO_inq_natts

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

Functions/Subroutines

integer function spio_inq_file::pio_inq_natts_file (file, natts)
 Inquire/get the number of attributes in a file. More...
 
integer function spio_inq_file::pio_inq_natts_fh (fh, natts)
 Inquire/get the number of attributes in a file. More...
 

Detailed Description

Inquire the number of attributes in a file.

Get the number of attributes in a file

Function/Subroutine Documentation

◆ pio_inq_natts_fh()

integer function spio_inq_file::pio_inq_natts_fh ( integer, intent(in)  fh,
integer, intent(out)  natts 
)

Inquire/get the number of attributes in a file.

Parameters
[in]fhThe file id/handle
[out]nattsThe number of attributes 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_natts_file()

integer function spio_inq_file::pio_inq_natts_file ( type(file_desc_t), intent(in)  file,
integer, intent(out)  natts 
)

Inquire/get the number of attributes in a file.

Parameters
[in]fileThe file handle. File descriptor structure. This structure holds information associated with each open file
[out]nattsThe number of attributes 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)