Inquire the number of variables in a file.
More...
Inquire the number of variables in a file.
Get the number of variables in a file
◆ pio_inq_nvars_fh()
| integer function spio_inq_file::pio_inq_nvars_fh |
( |
integer, intent(in) |
fh, |
|
|
integer, intent(out) |
nvars |
|
) |
| |
Inquire/get the number of variables in a file.
- Parameters
-
| [in] | fh | The file id/handle |
| [out] | nvars | The number of variables 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_nvars_file()
| integer function spio_inq_file::pio_inq_nvars_file |
( |
type(file_desc_t), intent(in) |
file, |
|
|
integer, intent(out) |
nvars |
|
) |
| |
Inquire/get the number of variables in a file.
- Parameters
-
| [in] | file | The file handle. File descriptor structure. This structure holds information associated with each open file |
| [out] | nvars | The number of variables 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) |