temp_geom: Calculate geometrical temperature trend

View source: R/tgeom2STFDF.R

temp_geomR Documentation

Calculate geometrical temperature trend

Description

Calculate geometrical temperature trend for mean, minimum or maximum temperature.

Usage

temp_geom(day,
          fi,
          variable="mean",
          ab = NULL)

Arguments

day

integer; Day of the year (from 1 to 366). Single value or vector of days of the year (only if fi is single value).

fi

numeric; Latitude. Single value or vector of latitudes (only if day is single value).

variable

character; Geometrical temperature trend calculated for mean, minimum or maximum temperature; Possible values are 'mean', 'min' or 'max'. 'mean' is default.

ab

Predefined coefficients to be used instead of incorporated.

Value

A numerical single value or vector with calculated geometrical temperature trend.

Author(s)

Milan Kilibarda kili@grf.bg.ac.rs, Aleksandar Sekulic asekulic@grf.bg.ac.rs

References

Kilibarda, M., T. Hengl, G. B. M. Heuvelink, B. Graeler, E. Pebesma, M. Percec Tadic, and B. Bajat (2014), Spatio-temporal interpolation of daily temperatures for global land areas at 1 km resolution, J. Geophys. Res. Atmos., 119, 2294-2313, doi:10.1002/2013JD020803.

Examples

tgeom <- temp_geom(day = 1,
          fi = 45.33,
          variable="mean")
          
tgeom_vect <- temp_geom(day = 1:365,
          fi = 45.33,
          variable="mean")
          
tgeom_vect2 <- temp_geom(day = 1,
          fi = seq(35, 45, 0.5),
          variable="mean")

meteo documentation built on May 29, 2024, 6:13 a.m.

Related to temp_geom in meteo...