interpolation.coverage: Spatial and temporal coverage of interpolation data

Description Usage Arguments Value Author(s) References See Also Examples

Description

Function interpolation.coverage calculates, for each meteorological variable, the number of stations with data per date or the number of dates with data per station in an object of class MeteorologyInterpolationData-class.

Usage

1
interpolation.coverage(object, type = "spatial", percent = FALSE)

Arguments

object

An object of class MeteorologyInterpolationData-class.

type

A string with the coverage summary to be produced (either "spatial" or "temporal").

percent

A boolean flag to indicate that percentages should be returned instead of counts.

Value

If type = "spatial" the function returns an object of class SpatialPointsDataFrame with the number (or percentage) of dates with data per station and meteorological variable. If type = "temporal" the function returns an object of class data.frame with the number (or percentage) of stations with data per day and meteorological variable.

Author(s)

Miquel De Cáceres Ainsa, Biodiversity and Landscape Ecology Laboratory, Centre Tecnologic Forestal de Catalunya

References

De Caceres M, Martin-StPaul N, Turco M, Cabon A, Granda V (2018) Estimating daily meteorological data and downscaling climate models over landscapes. Environmental Modelling and Software 108: 186-196.

See Also

MeteorologyInterpolationData

Examples

1
2
3
4
5
6
7
data(exampleinterpolationdata)

#Number of days with data per station
head(interpolation.coverage(exampleinterpolationdata))

#Number of stations with data per day
head(interpolation.coverage(exampleinterpolationdata, type = "temporal"))

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