cable_netcdf_internal Submodule

Internal submodule for cable_netcdf_mod. This contains the implementation of the public interface of procedures defined in cable_netcdf_mod, and other internal utilities. A submodule is used here to initialise the global cable_netcdf_io_handler to the appropriate I/O handler implementation based on the current run configuration.



Module Functions

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

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: path
integer, intent(in) :: iotype
integer, intent(in), optional :: mode

Return Value class(cable_netcdf_file_t), allocatable

module function cable_netcdf_open_file(path, iotype, mode) result(file)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: path
integer, intent(in) :: iotype
integer, intent(in), optional :: mode

Return Value class(cable_netcdf_file_t), allocatable

module function cable_netcdf_create_decomp(compmap, dims, type) result(decomp)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: compmap(:)
integer, intent(in) :: dims(:)
integer, intent(in) :: type

Return Value class(cable_netcdf_decomp_t), allocatable


Module Subroutines

module subroutine cable_netcdf_mod_init(mpi_grp)

Arguments

Type IntentOptional Attributes Name
type(mpi_grp_t), intent(in) :: mpi_grp

module subroutine cable_netcdf_mod_end()

Arguments

None