sst_predict: Derive sea-surface temperatures from land temperatures

Description Usage Arguments Value See Also Examples

View source: R/sst.R

Description

Derive sea-surface temperatures from land temperatures

Usage

1
sst_predict(sstparams, htemp)

Arguments

sstparams

of parameter values as returned by sst_fit()

htemps

a vector of hourly land temperatues, normally for one year (deg C)

Value

a vector of hourly sea-surface temperatures

See Also

sst_fit()

Examples

1
2
3
4
5
6
7
sstparams <- sst_fit(temperature2017)
htemp <- rep(temperature2017$land, each = 24)
sstp <- sst_predict(sstparams, htemp)
ssto <- rep(temperature2017$sst, each = 24)
plot(ssto, type = "l", ylim = c(5, 20), col = "red", ylab = "SST")
par(new = T)
plot(sstp, type = "l", ylim = c(5, 20), col = "darkgray", ylab = "")

ilyamaclean/UKCP18adjust documentation built on Nov. 4, 2019, 2:08 p.m.