get_sl_trend: Retrieve NOAA Long-Term SLR Rate Estimates

Description Usage Arguments Details Value See Also Examples

Description

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.

Usage

1
get_sl_trend(.station, .affil = c("us", "global", "all"))

Arguments

.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.

Details

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.

Value

A list containing specifics about NOAA's long-term SLR estimates.

stationId

Unique NOAA id for accessing the Station.

stationName

Name of Station.

affil

"US"or "Global"

latitude

Position of Station

longitude

Position of Station

trend

Point estimate of sea level rise trend.

trendError

Standard error of trend estimate.

units

Apparently always "mm/yr"?

startDate

Start of period over which trend was calculated.

endDate

End date of period over which trend was caclulated.

See Also

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()

Examples

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')

ccb60/SLRSIM documentation built on Jan. 21, 2022, 1:31 a.m.