Description Usage Arguments Details Value See Also Examples
This function returns NOAA's long-term estimates of sea level rise for a specific water level monitoring station, identified by NOAA's unique identifiers, along with appropriate metadata.
1 | get_sl_trend(.station, .affil = c("us", "global", "all"))
|
.station |
Unique identifier for station of interest. See https://tidesandcurrents.noaa.gov/stations.html?type=Water+Levels |
.affil |
Should matches be restricted to US stations, or global network stations. Default is 'us'. If 'all' is specified, then both networks are searched. |
The NOAA API can, in principal return data for more than one station if there
are multiple matches. This function does not yet handle that situation
gracefully. It merely returnsan error. Users are encouraged to make sure
their search selection of .station
an .affil
return data for only a
single station.
A list containing specifics about NOAA's long-term SLR estimates.
Unique NOAA id for accessing the Station.
Name of Station.
"US"or "Global"
Position of Station
Position of Station
Point estimate of sea level rise trend.
Standard error of trend estimate.
Apparently always "mm/yr"?
Start of period over which trend was calculated.
End date of period over which trend was caclulated.
Other sea level rate functions:
slr_change_comp()
,
slr_change()
,
slr_slope()
Other station information access functions:
get_availability()
,
get_datums()
,
get_epoch()
,
get_hat()
,
get_tz()
1 2 3 4 | portland_id <- 8418150
sl_list <- get_sl_trend(portland_id)
names(sl_list)
paste(sl_list$trend, '+/-', sl_list$trendError, 'sl_list$units')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.