read_hyr: Function to load HYSPLIT data files produced with 'hyr_run'.

View source: R/read_hyr.R

read_hyrR Documentation

Function to load HYSPLIT data files produced with hyr_run.

Description

Function to load HYSPLIT data files produced with hyr_run.

Usage

read_hyr(file, verbose = FALSE, progress = FALSE)

Arguments

file

Vector of file names produced by hyr_run.

verbose

Should the function give messages?

progress

Should a progress bar be displayed?

Value

Tibble.

Author(s)

Stuart K. Grange

See Also

hyr_run

Examples


## Not run: 

# Get file list
list_files <- list.files("~/Desktop/hysplit_outputs", full.names = TRUE)

# Load files
data_hysplit <- read_hyr(list_files)

# Or load files and rename variables for use in openair
data_hysplit_openair <- read_hyr(list_files) %>% 
  hyr_rename_for_openair()


## End(Not run)


skgrange/hyr documentation built on March 27, 2024, 12:38 a.m.