PIO
2.5.4
|
Create a new netCDF file with PIO in C. More...
Functions | |
int | PIOc_createfile (int iosysid, int *ncidp, int *iotype, const char *filename, int mode) |
Create a new file using pio. More... | |
int | PIOc_create (int iosysid, const char *path, int cmode, int *ncidp) |
Open a new file using pio. More... | |
Create a new netCDF file with PIO in C.
int PIOc_create | ( | int | iosysid, |
const char * | path, | ||
int | cmode, | ||
int * | ncidp | ||
) |
Open a new file using pio.
The default fill mode will be used (FILL for netCDF and netCDF-4 formats, NOFILL for pnetcdf.) Input parameters are read on comp task 0 and ignored elsewhere.
iosysid | : A defined pio system descriptor (input) |
path | : The filename to create. |
cmode | : The netcdf mode for the create operation. |
ncidp | : A pio file descriptor (output) |
int PIOc_createfile | ( | int | iosysid, |
int * | ncidp, | ||
int * | iotype, | ||
const char * | filename, | ||
int | mode | ||
) |
Create a new file using pio.
Input parameters are read on comp task 0 and ignored elsewhere. NOFILL mode will be turned on in all cases.
iosysid | A defined pio system ID, obtained from PIOc_InitIntercomm() or PIOc_InitAsync(). |
ncidp | A pointer that gets the ncid of the newly created file. |
iotype | A pointer to a pio output format. Must be one of PIO_IOTYPE_PNETCDF, PIO_IOTYPE_NETCDF, PIO_IOTYPE_NETCDF4C, or PIO_IOTYPE_NETCDF4P. |
filename | The filename to create. |
mode | The netcdf mode for the create operation. |