Description Usage Arguments Details Value See Also
summertemp
calculates mean summer temperature across specified time period (years).
1 | summertemp(startyear, endyear, tempnc, startday = 152, endday = 243)
|
startyear |
the earliest calendar year (AD) to be considered in the calculation. |
endyear |
the latest calendar year (AD) to be considered in the calculation. |
tempnc |
full path name of nc file containing temperature values for each year and with data extent: -1.25, 358.75, -91.25, 91.25 when converted to raster format. |
startday |
Indicates assumed day of year of start of summer in northern hemisphere in non-leap year. Default, 1st June. |
endday |
Indicates assumed day of year of end of summer in northern hemisphere in non-leap year. Default, 31st August. |
Function has been designed to run with raster data of dimensions 73 x 144. Seasons are flipped in southern hemisphere. I.e. 1st June (day 152) = day 152+365/2+0.5 = 334 = 1st Dec. in leap years, 1 day added. Startday and endday should be for northern hemisphere, and are calculated for southern hemisphere within the function.
a matrix of mean summer temperature values over the specified years.
nctarray()
to create array of temperature values from an nc file.
Requires function mst()
to be loaded.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.