get_driver_path: Return driver file location for given lake

Description Usage Arguments Author(s) Examples

View source: R/get_driver_path.R

Description

This functoin returns a path to the driver file for a lake. Retrieve and cache the file from Sciencebase if necessary

Usage

1
2
3
4
5
6
7
get_driver_path(
  id,
  driver_name = "NLDAS",
  loc_cache = TRUE,
  timestep = "daily",
  ...
)

Arguments

id

Site id, prepended with id type followed by _ (e.g., 'nhd_' or 'wbic_')

driver_name

The driver source name, options ('NLDAS', 'CM2.0', 'GENMOM', 'ECHAM5')

loc_cache

Should the locally cached version of the driver file be used if available.

timestep

Requested timestep, "hourly" or "daily" (default) accepted

...

Extra parameters are ignored

Author(s)

Luke Winslow

Examples

1
2
3
4
5
6
get_driver_path('nhd_120052892')
get_driver_path('nhd_120052892', 'ECHAM5')
get_driver_path('nhd_120052892', 'CM2.0')


get_driver_path('WBIC_1881900')

USGS-R/mda.lakes documentation built on Nov. 13, 2020, 8:28 p.m.