R/cstRead.r

Defines functions cstRead

Documented in cstRead

cstRead <- function(lat,lon) {
  p <- extract(CSTmap, matrix(c(lon,lat),1,2))
  if (is.na(p)) { stop("Lat/lon outside the CSTmap!")}
  p}

Try the sirad package in your browser

Any scripts or data that you put into this service are public.

sirad documentation built on May 2, 2019, 4:41 p.m.