vetools (version 1.3-28)

read.HIDROX: Load environmental data from governmental sources

Description

This sheet describes the functions to load environmental data from the formats used by MARN The Ministerio del Ambiente y Recursos Naturales. MINAMB The Ministerio del Ambiente. HIDROX The Argus data repository, see the references.

Each Ministry used a different data format to store the measured variables. For each available data, a read function is taylored.

Usage

read.HIDROX(file, state = NA, altitudes = NA, serial = NA, unit = NA) read.MARN(file) read.MINAMB(file, state = NA, YSPLIT = 20)

Arguments

file
String containing the path to the file to load.
state
A two letter character string identifying the state, see get.shape.state(NA) for a complete list.
altitudes
A list containing information relative to the elevation of each station in the file.
serial
A list containing information relative to the serial of each station in the file.
unit
A character string identifying the unit of the measured data, e.g. mm/month.
YSPLIT
This variable indicates from which decade (1900+YSPLIT) to consider between the 20th and 21st centuries.

Value

Returns a list of class Catalog with exactly two members, see Catalog Convention.
catalog
The catalog, a list of each stations meta data.
data
The data related to the catalog, a list of objects ts.

Details

To explore the each data format, the package ships three test files. See the folder system.file("tests",package="vetools").

References

L. Bravo, S. Abad, I. Llatas, A. Salcedo, L. Delgado, S. Ramos, K. Cordova. Hidrox: Repositorio de Datos Hidroclimáticos para la Gestión de Riesgos Epidemiológicos y Ambientales. 2012. ISBN:987-9-8012596-2-6.

See Also

Catalog Convention.