Skip to contents

When multimodel ensembles are read in only the sub models are stored. If the whole ensemble is needed, this function will merge all of the sub models into a single ensemble. Note that there is no renaming of the members so the sub model names are retained. If there are no multi model ensembles, the input is silently returned unaltered.

Usage

merge_multimodel(.fcst, keep_sub_models = TRUE)

Arguments

.fcst

An object of class harp_fcst as read in by read_point_forecast

keep_sub_models

Set to FALSE to discard the sub models as separate elements in the harp_fcst list. The default behaviour is to keep them.

Value

A harp_fcst object with one layer - each element is a table of forecast data for a model.