add_use Subroutine

private subroutine add_use(entry, context, stream, definition, aggregation, reduction, netcdf_name_template, start_date, end_date, uses, use_count, problems)

Check one variable against one stream and append it to uses.

Arguments

Type IntentOptional Attributes Name
type(cable_yaml_node_t), intent(in) :: entry
character(len=*), intent(in) :: context
type(cable_output_stream_config_t), intent(in) :: stream
type(cable_output_variable_definition_t), intent(in) :: definition
character(len=*), intent(in) :: aggregation
character(len=*), intent(in) :: reduction
character(len=*), intent(in) :: netcdf_name_template
character(len=*), intent(in) :: start_date
character(len=*), intent(in) :: end_date
type(cable_output_variable_config_t), intent(inout), allocatable :: uses(:)
integer, intent(inout) :: use_count
character(len=:), intent(inout), allocatable :: problems