Skip to contents

Retrieve NARR data using thredds

Usage

get_NARR_thredds(
  start_date,
  end_date,
  lat.in,
  lon.in,
  progress = TRUE,
  drop_outside = TRUE,
  parallel = TRUE,
  ncores = 1
)

Arguments

start_date

Start date for meteorology

end_date

End date for meteorology

lat.in

Latitude coordinate

lon.in

Longitude coordinate

progress

Whether or not to show a progress bar (default = `TRUE`). Requires the `progress` package to be installed.

drop_outside

Whether or not to drop dates outside of `start_date` to `end_date` range (default = `TRUE`).

parallel

Download in parallel? Default = TRUE

ncores

Number of cores for parallel download. Default is `parallel::detectCores()`

Value

`tibble` containing time series of NARR data for the given site

Author

Alexey Shiklomanov

Examples


if (FALSE) { # \dontrun{
dat <- get_NARR_thredds("2008-01-01", "2008-01-15", 43.3724, -89.9071)
} # }