PIO
2.5.4
|
Create a new netCDF file in Fortran. More...
Functions/Subroutines | |
integer function | piolib_mod::createfile (iosystem, file, iotype, fname, amode_in) |
An integer parameter which controls the iotype. More... | |
Create a new netCDF file in Fortran.
integer function piolib_mod::createfile | ( | 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 | amode_in | ||
) |
An integer parameter which controls the iotype.
Create a NetCDF 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_init) |
file | The returned file descriptor |
iotype | - PIO_iotype_pnetcdf : parallel read/write of pNetCDF files (netcdf3)
|
fname | The name of the file to open |
amode_in | The NetCDF creation mode flag - NC_NOWRITE for read-only access or NC_WRITE for read-write access. |
ierr | The error return code (see Error Handling for Fortran). |