gseasprec: gseasonprecip: Total precipitation during the growing season

Description Usage Arguments Details Value See Also

Description

gseasonprecip calculates the total precipitation during the growing season.

Usage

1
gseasprec(startyear, endyear, precip, gseason)

Arguments

startyear

earliest calender year to be considered in calculations.

endyear

latest calender year to be considered in calculations.

precip

3-dimensional array of precipitation values.

gseason

3-dimensional array of values indicating growing season (1) or non-growing season (0).

Details

details to be added

Value

A matrix of mean total precipitation values during the growing season over the specified years.

See Also

Requires function gsp to be loaded.

the gseason function can be used to create an array of growing conditions (1) = yes, (0) = no accounting for temperature, precipitation and daylight hours.

mtoraster() to convert output matrix to a raster.

nctarray() to create an array from an nc file.


ilyamaclean/climvars documentation built on June 19, 2019, 2:22 p.m.