cable_netcdf_file_get_var_int32_2d Interface

interface
private subroutine cable_netcdf_file_get_var_int32_2d(this, var_name, values, start, count)

Arguments

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

Name of the variable to read from.

integer(kind=CABLE_NETCDF_INT32_KIND), intent(out) :: values(:,:)

2-dimensional array to store the values read from the variable.

integer, intent(in), optional :: start(:)

Starting indices for reading the variable. If not provided, reading will start at the beginning of the variable.

integer, intent(in), optional :: count(:)

Count of elements to read for each dimension. If not provided, the entire variable will be read.

Description

Read a 2-dimensional array of 32-bit integers from the netCDF file.