gst: Growing Season Temperature (GST)

Description Usage Arguments Details Value References Examples

View source: R/gst.R

Description

Growing Season Temperature (GST). Mean daily temperature in growing season.

Usage

1
gst(mx, mn, lati, dates)

Arguments

mx

vector of daily maximum temperature series.

mn

vector of daily minimum temperature series.

lati

numeric value indicating the latitude of location.

dates

vector of dates corresponding with daily temprature series

Details

Depending on the latitude, the function detects the hemisphere and considers growing season from 1st April to 31st October (northern hemisphere) or from 1st October to 30rd April (southern hemisphere).

Value

A numeric vector with annual values is returned.

References

Jones G, Duff A, Hall A, Myers J (2010) Spatial Analysis of Climate in Winegrape Growing Regions in the Western United States. Am. J. Enol. Vitic. 61:3.

Examples

1
2
3
4
5
  gst(mx = daily_tmax,
    mn = daily_tmin,
    dates = seq.Date(as.Date('1981-01-01'),
            as.Date('2010-12-31'), by ='day'),
            lati = 42)

rsnotivoli/agroclim documentation built on March 21, 2020, 12:22 a.m.