trmmCompose: Compositing function for TRMM data

Description Usage Arguments Value Author(s)

View source: R/trmmCompose.R

Description

Creates composites that can be matched with each others from one year to the other. The same way that MODIS composites work. It differs from timeAggregate by the fact that aggregated periods can be matched between years. However, warning because the last composite of the year is likely to be truncated (particularly relevant in case of cumulative value composite, which is the default here)

Usage

1
trmmCompose(x, dates, by, FUN = sum, ...)

Arguments

x

filename, rasterStack, rasterBrick, or list of rasterLayers (filenames)

dates

A date vector (See trmm2date to extract dates from trmm filenames)

by

Numeric. The lenght of the composite in days

FUN

The compositing function

...

Arguments to be passed to writeRaster

Value

A RasterStack with time written to the z dimension

Author(s)

Loic Dutrieux


loicdtx/trmm documentation built on May 21, 2019, 7:38 a.m.