Learn R Programming

climatrends (version 0.1.0)

modis: Example from input data using local sources

Description

Input example from MODIS and CHIRPS data. See details

Arguments

Format

an array with two layers (modis) and matrix (chirp)

Details

modis: array with two layers 1) day temperature and 2) night temperature. An excerpt of MODIS (MYD11A1) data to represent an example of the input data in temperature() when a local data is provided instead of using remote sources (NASA POWER).

chirp: matrix with rainfall temperature from CHIRPS data set. An excerpt to represent an example of the imput data in rainfall() when a local data is provided instead of using remote sources.

Both sources were extracted using function raster::extract(). Rows represents the coordinates for the given lonlat provided in raster::extract() and cols represents the dates from the observed rain/temperature.