get.SST: Sample Sea Surface Temperature values

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Draws SST from a 3D matrix of SST.

Usage

1
2
get.SST(lon, lat, SST, date)
make.sstmat(ncsst, type="Blended")

Arguments

lon

Longitude

lat

Latitude

SST

List containing 1) Vector of Longitude 2) Vector of Latitude 3) the Matrix of SST in the form: [lon,lat,time] and 4) Dates of class 'date' Vector of dates corresponding to dim[3] of SST

date

Date the location was recorded

Details

SST is a named list having names: lon, lat, DATA and sstdates. This must be the case for thefunction to work properly.

Value

An SST value

Author(s)

Benjamin Galuardi

See Also

get.blended.ukf

Examples

1
2
3
4
5
fake = data.frame(day = c(1,30), month = c(1,1), year = c(2007,2007), lon = c(280,290), lat=c(40,50))
sstfile = get.blended.ukf(fake, folder = getwd(), daycomp = 8, save =T)
sst2007 = 'request.nc'
sstmat = make.sstmat(sst2007, type="Blended")
get.SST(213, lat = 36, sstmat, date = ISOdate(2007, 1, 15, tz = "GMT"))

galuardi/analyzepsat documentation built on May 17, 2019, 3:25 p.m.