Skip to contents

Estimate emission durations using continuous monitoring systems (CMS), accounting for CMS non-detect times

Usage

estimate_durations(data, tz, directory, events, plot, time)

Arguments

data

List. Forward model output data. The format must match that of the sample (default) shortened data from the 2023 ADED controlled release experiment, which is released with the duration package.

tz

Character. Time zone. Default set to America/Denver.

directory

Character. Location where results output is saved. If not specified, a directory is created and the location is shared with the user.

events

Logical. Print the number of events per year? Default set to FALSE.

plot

Logical. Return a plot of the distribution of average duration estimates by source? Default set to FALSE.

time

Logical. Return the timing of the simulation. Default set to TRUE.

Value

Listed output of estimated durations by emission source. Saved in a newly created directory (Results Output).

Author

William Daniels, Philip Waggoner, Dorit Hammerling

Examples

estimate_durations(directory = "Desktop", plot = TRUE)
#> 
#> ── Reading & cleaning data ─────────────────────────────────────────────────────
#> Error in readRDS(con, refhook = refhook): unknown input format
#> Timing stopped at: 0.005 0 0.004