Skip to contents

Attaches scenario / replicate labels derived from the directory structure. The run directory is expected at either <scenario>/<replicate>/FPS_raw_out.csv or <scenario>/<replicate>/fps/FPS_raw_out.csv; a parent directory named fps is skipped when deriving the labels, so both layouts work.

Usage

read_fps_raw_out(paths, run_name = NULL)

Arguments

paths

Character vector of FPS_raw_out.csv paths.

run_name

Optional scenario directory path; when NULL (default) the scenario label is derived from paths.

Value

A tibble with leading scenario / replicate columns and the eight FPSM output fields, To_Gas/Pool renamed to ToPool. Amounts are tonnes of carbon (see the file header note on units).