read_stream Subroutine

private subroutine read_stream(stream_node, start_date, end_date, stream, problems)

A subroutine rather than a function so that problems, a deferred-length string, is reliably updated for the caller by gfortran.

Arguments

Type IntentOptional Attributes Name
type(cable_yaml_node_t), intent(in) :: stream_node
character(len=*), intent(in) :: start_date
character(len=*), intent(in) :: end_date
type(cable_output_stream_config_t), intent(inout) :: stream
character(len=:), intent(inout), allocatable :: problems