View source: R/radar.thredds.met.no.R
radar | R Documentation |
Function to read radar data from thredds.met.no
radar(
url = "https://thredds.met.no/thredds/catalog/remotesensingradaraccr/",
lons = c(9.5, 11.5),
lats = c(59, 61),
param = "lwe_precipitation_rate",
FUN = "sum",
it = 2010:2019,
verbose = FALSE,
plot = FALSE
)
url |
URL for the data on thredds.met.no |
lons |
Longitude selection - if NULL read all |
lats |
Latitude selection - if NULL read all |
param |
Variable name |
FUN |
Function for daily aggregation. =NULL gives raw data |
it |
Intex time - the years to select |
verbose |
write out diagnostics |
plot |
plot the results while reading. |
station.thredds, meta.thredds
## Not run:
Z <- radar(lons = c(10,12), lats = c(59,61), it=2015)
map(Z)
y <- station.thredds(stid=18700,param='precip')
x <- regrid(Z,is=y)
xy <- combine.stations(subset(y,it=x),x)
plot(xy,new=FALSE)
plot(as.monthly(xy,na.rm=TRUE,FUN='mean'),new=FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.