Description Usage Arguments Value Author(s) See Also Examples
View source: R/rasterizeTRMM.R
Rasterize TRMM 3B42 .bin or .HDF files.
1 | rasterizeTRMM(x, ...)
|
x |
TRMM 3B42 file(s) as |
... |
Additional arguments passed to |
.bin files: A single RasterLayer
object.
.HDF files: A list
of Raster*
objects.
Florian Detsch
getTRMM
, readBin
,
rasterizeTRMMbin
, rasterizeTRMMhdf
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
## download 3-hourly TRMM 3B42 data from Jan 1, 2015
fls <- getTRMM(begin = "2015-01-01", end = "2015-01-01",
type = "3-hourly")
fls[1]
## rasterize
library(rworldmap)
eth <- subset(countriesCoarse, ADMIN == "Ethiopia")
rst <- rasterizeTRMM(fls, ext = eth)
## visualize
plot(rst[[1]])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.