Return data.framee

xtractor(x, points, stations, start = "2016-04-15 00:00", by = 3600)

Arguments

x

raster (or brick)

points

data.frame, matrix, SpatialPointsDataFrame.

stations

Character; names of stations for each point.

start

Character or POSIXct; first GMT hour of data.

by

Numeric, number of seconds in time sequence.

Value

Return long data.frame (for ggplot2)

Note

Based on NCL scrip xtractor from DCA/IAG/USP

Examples

# NOT RUN {
#do not run
# }