cable_output_config_build Function

public function cable_output_config_build(root, definitions, start_date, end_date, problems) result(config)

Build the configuration from a parsed YAML document.

problems is empty if the configuration is valid; otherwise it holds one line per problem, each starting with a newline.

Arguments

Type IntentOptional Attributes Name
type(cable_yaml_node_t), intent(in) :: root
type(cable_output_variable_definition_t), intent(in) :: definitions(:)
character(len=*), intent(in) :: start_date
character(len=*), intent(in) :: end_date
character(len=:), intent(out), allocatable :: problems

Return Value type(cable_output_config_t)