PIO
2.5.4
|
Open an existing netCDF file with PIO in Fortran. More...
Functions/Subroutines | |
integer function, public | piolib_mod::pio_openfile (iosystem, file, iotype, fname, mode) |
The error return code (see Error Handling for Fortran). More... | |
Open an existing netCDF file with PIO in Fortran.
integer function, public piolib_mod::pio_openfile | ( | type (iosystem_desc_t), intent(inout), target | iosystem, |
type (file_desc_t), intent(out) | file, | ||
integer, intent(in) | iotype, | ||
character(len=*), intent(in) | fname, | ||
integer, intent(in), optional | mode | ||
) |
The error return code (see Error Handling for Fortran).
Open an existing file using PIO. Input parameters are read on comp task 0 and ignored elsewhere.
iosystem | a defined PIO system descriptor created by a call to Initialize an IOSystem (see PIO_int) |
file | the returned file descriptor |
iotype | An integer parameter which controls the iotype. |
fname | the name of the file to open |
mode | PIO_nowrite or PIO_write. |
ierr |