xtractor: extractor from atmospheric models

Description Usage Arguments Value Note Examples

View source: R/xtractor.R

Description

Return data.framee

Usage

1
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

1
2
3
4
## Not run: 
#do not run

## End(Not run)

ibarraespinosa/ratmos documentation built on Jan. 24, 2020, 6:11 p.m.