netcdf_var_type Function

function netcdf_var_type(output_variable, use_native_type)

Infers the appropriate netCDF variable type for a given output variable.

Arguments

Type IntentOptional Attributes Name
type(cable_output_variable_t), intent(in) :: output_variable

The output variable for which to infer the netCDF variable type.

logical, intent(in), optional :: use_native_type

Whether to use the native variable type of the output variable. Set to .false. by default.

Return Value integer