Learn R Programming

futureheatwaves (version 1.0.3)

writeAccumulators: Write model information to file

Description

This function writes out a dataframe that accumulates information on all climate models included in the analysis, including the number of ensemble members in each of the two experiments.

Usage

writeAccumulators(modelInfoAccumulator, locationList, global)

Arguments

modelInfoAccumulator
A dataframe with information about the number of ensembles for each climate model.
locationList
A dataframe with information about city locations and the closest grid point from each climate model to each city.
global
An list object created by gen_hw_set that includes user specifications (e.g., the path to the output directory, the path to the input climate projections, the dataframe with city locations).

Value

This function writes out a dataframe with information on all climate models included in the analysis, including the number of ensemble members in each of the two experiments.