Description Usage Arguments Value Examples
Drill a timeseries of a variable at a given location
1 | drill_spec(input, spec, lat, lon)
|
input |
An open ncdf4 object. |
spec |
Full species name (4 chars) including spaces. |
lat |
Latitude of sample point. |
lon |
Longitude of sample point |
Timeseries vector of species concentration.
1 2 3 4 5 6 7 8 | library(ncdf4)
library(raster)
tfile <- system.file("extdata","aust_20140212_nat_0.800dg_morw.nc",package="raaqfs")
mydata <- nc_open(tfile)
lat <- -33.5
lon <- 151.0
timeseries <- drill_spec(mydata,"EC25",lat,lon)
plot(timeseries,type="l",xlab="Hour",ylab="conc")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.