rasterizeTRMM: Rasterize TRMM 3B42 Data

Description Usage Arguments Value Author(s) See Also Examples

View source: R/rasterizeTRMM.R

Description

Rasterize TRMM 3B42 .bin or .HDF files.

Usage

1

Arguments

x

TRMM 3B42 file(s) as character. Currently supported filetypes are .bin .HDF, and .nc4. Note that rasterizeTRMMbin takes one file only.

...

Additional arguments passed to rasterizeTRMMbin or rasterizeTRMMhdf.

Value

Author(s)

Florian Detsch

See Also

getTRMM, readBin, rasterizeTRMMbin, rasterizeTRMMhdf.

Examples

 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)

environmentalinformatics-marburg/heavyRain documentation built on Sept. 1, 2020, 9:53 a.m.