View source: R/mco_get_swe_basins.R
mco_get_swe_basins | R Documentation |
Download and process the Montana SNOTEL Snow Water Equivalent dataset from the NRCS National Water and Climate Center
mco_get_swe_basins(date = "latest", huc = 6, min_stations = 3)
date |
A character string of either the date (in yyyy-mm-dd format) or "latest" to get the latest records. Defaults to "latest". |
huc |
An integer indicating the Watershed Boundary Hydrological Unit level, either "6" or "8", over which to aggregate station data. Defaults to 6. |
min_stations |
An integer indicating the minimum number of stations that must be available in a region in order to calculate a regional average SWE. Defaults to 3. |
A simple feature collection with 9 fields:
WBD code — the WBD identifier
Watershed — the WBD watershed name
Stations — the count of stations aggregated to generate a value for the watershed
SWE (in) — the mean of Snow Water Equivalent (in) start of day values of stations in the watershed
SWE 1981-2010 Median (in) — the mean of normal (1981-2010) average Snow Water Equivalent (in) start of day values of stations in the watershed
Percent SWE — SWE (in)
/ SWE 1981-2010 Median (in)
## Not run:
mco_get_swe_basins()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.