cable_netcdf_io_open_file Interface

interface
private function cable_netcdf_io_open_file(this, path, iotype, mode) result(file)

Arguments

Type IntentOptional Attributes Name
class(cable_netcdf_io_t), intent(inout) :: this
character(len=*), intent(in) :: path

Path to the netCDF file to open.

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 opening using the CABLE_NETCDF_MODE_* constants.

Return Value class(cable_netcdf_file_t),allocatable

Description

Open an existing netCDF file with the specified path and I/O type.