extractpointdates: Extracts meteorological data

Description Usage Arguments Details Value Author(s)

Description

Extracts meteorological data from an object.

Usage

1
2

Arguments

points

For function extractpointdates(), an object of class SpatialPointsMeteorology. Alternatively, an object of class SpatialPointsDataFrame-class containing the meta data (columns dir, filename and possibly format) of meteorological files that will be sequentially read from the disk. For function extractgridpoints(), an object of class SpatialPoints.

dates

A vector of Date with a (subset) of dates to be extracted. If NULL all dates will be returned.

griddata

An object of class SpatialGridMeteorology-class or SpatialPixelsMeteorology-class with the meteorological data for a full grid or a subset of grid cells, respectively. Alternatively, a data.frame containing the meta data (columns dir and filename) of grid/pixels meteorological files that will be sequentially read from the disk.

verbose

Boolean flag to print process information.

Details

Function extractpoints is deprecated, because its functionality can be achieved using subsetting of spatial classes SpatialGridMeteorology and SpatialPixelsMeteorology.

Value

Function extractpointdates(), returns a list with the same length as dates. Each element of the list is an object of class SpatialPointsDataFrame with the meteorological data for all the points (in rows) and variables (in columns). Function extractgridpoints() returns an object of class SpatialPointsMeteorology.

Author(s)

Miquel De Cáceres Ainsa, Centre Tecnologic Forestal de Catalunya


miquelcaceres/meteoland documentation built on May 8, 2019, 11:57 p.m.