cable_netcdf_io_create_decomp Interface

interface
private function cable_netcdf_io_create_decomp(this, compmap, dims, type) result(decomp)

Arguments

Type IntentOptional Attributes Name
class(cable_netcdf_io_t), intent(inout) :: this
integer, intent(in) :: compmap(:)

An array of data offsets describing where each element of the in-memory array is located in the netCDF variable data on disk.

integer, intent(in) :: dims(:)

An array of the global dimensions used to describe the shape of the data in the netCDF file

integer, intent(in) :: type

The data type of the in-memory array using the CABLE_NETCDF_TYPE_* constants.

Return Value class(cable_netcdf_decomp_t),allocatable

Description

Create a new decomposition for parallel I/O. This follows the degree of freedom approach for specifying I/O decompositions as described in Denis et al. (2011) [10.1177/1094342011428143].