readmeteorologypoint: Reads point meteorology from the disk

Description Usage Arguments Details Author(s) See Also

Description

Functions to read point meteorological data from ascii files in different formats.

Usage

1
2
3
readmeteorologypoint(file, dates = NULL, format = "meteoland/txt", sep="\t")
readmeteorologypointfiles(points, files=NULL, dates = NULL, format="meteoland/txt", 
                          sep="\t")

Arguments

file

A string of the file to be read.

points

An object of class SpatialPoints-class (in this case files cannot be NULL) or object of class SpatialPointsDataFrame-class with two data columns: 'dir' and 'filename' (and possibly 'format').

files

A vector of strings to be read (when points is of class SpatialPoints-class). Length and order must match points.

dates

Object of class "Date" describing a subset of dates to be extracted from meteorological series. If NULL the whole period read from files is kept.

format

Format of meteorological data. Current accepted formats are "meteoland/txt", "meteoland/rds", "castanea/txt" and "castanea/rds".

sep

The field separator character for ascii text files (see read.table).

Details

In readmeteorologypointfiles the value of format is used as default but can be overloaded if points includes a column 'format'.

Author(s)

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

Nicolas Martin, INRA-Avignon

See Also

writemeteorologypoint, read.table, SpatialPointsMeteorology-class


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