cable_netcdf_file_put_var_real32_0d Interface

interface
private subroutine cable_netcdf_file_put_var_real32_0d(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 write to.

real(kind=CABLE_NETCDF_REAL32_KIND), intent(in) :: values

Scalar value to write to the variable.

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

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

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

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

Description

Write a 0-dimensional (scalar) 32-bit real variable to the netCDF file.