Learn R Programming

agroclim (version 0.3.0)

gst: Growing Season Temperature (GST)

Description

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

Usage

gst(mx, mn, lati, dates)

Value

A numeric vector with annual values is returned.

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

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

Run this code

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

Run the code above in your browser using DataLab