View source: R/station.thredds.R
station.thredds | R Documentation |
station.thredds
is a wrapper that uses retrieve.station combined with information about the
files stored on Thredds. The analysis can also be applied to either EOFs or fields.
## S3 method for class 'thredds'
station(
param = "t2m",
is = NULL,
stid = NULL,
loc = NULL,
lon = NULL,
lat = NULL,
it = NULL,
alt = NULL,
cntr = NULL,
start.year.before = NULL,
end.year.after = NULL,
nmin = NULL,
verbose = FALSE,
onebyone = FALSE,
...
)
param |
The element to read c('t2m','tmax','tmin','precip','slp','sd','fx','fg','dd') |
is |
Index space to select station (list) |
stid |
Station ID to select |
loc |
Name of location to select |
lon |
Range of longitudes to select |
lat |
Range of latitudes to select |
it |
Range of times to select |
alt |
Range of altitudes to select of stations above (positive) or below (negative) a threshold |
cntr |
Countries to select |
start.year.before |
Select stations with record starting before a given year |
end.year.after |
Select stations with record ending after a given year |
nmin |
Select stations with minimum number of valid data points |
verbose |
If TRUE print information about progress. |
onebyone |
If many stations, select them first individually and then combine |
... |
Other arguments. |
meta.thredds
retrieves meta data from Thredds.
A station object.
retrieve.station, station, radar
## Get the daily minimum temperature for Oslo-Blindern (station ID 18700)
## Not run:
tmin <- station.thredds(param='tmax',stid=18700)
meta <- meta.thredds(param='precip')
precip <- station.thredds(meta[1,])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.