Learn R Programming

meteoland (version 2.0.0)

interpolation.coverage: Spatial and temporal coverage of interpolation data

Description

[Deprecated]

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

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

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.

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.

Author

Miquel De Cáceres Ainsa, CREAF

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

Run this code

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"))

Run the code above in your browser using DataLab