cable_netcdf_create_file Function

public function cable_netcdf_create_file(path, iotype, mode) result(file)

Create a new netCDF file with the specified path and I/O type.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: path

Path to the netCDF file to create.

integer, intent(in) :: iotype

I/O type to use for the file using the CABLE_NETCDF_IOTYPE_* constants.

integer, intent(in), optional :: mode

Optional mode flags for file creation using the CABLE_NETCDF_MODE_* constants.

Return Value class(cable_netcdf_file_t), allocatable