p11Calc: P11. Mean temperature of coldest quarter

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Calculates the mean temperature the coldest three-month period based upon monthly mean temperature data

Usage

1
 p11Calc(rlist, outfile, format='')

Arguments

rlist

A list of rasters from 1 to 12 corresponding to mean temperatures

outfile

Name of the output file

format

The format of your input files. Can be GRD, ASCII, BIL...

Details

The list of rasters can be generated via the LoadMonthlyFiles function of this package. This function is based upon several features of the raster package (available at sourceforge.net). Application of the functions take very long since they are cell-by-cell calculations (when not enough space in memory is available). So, any efficient contributions would be very useful.

Value

A RasterLayer object with the specified bioclimatic variable, plus the output file in the input format

Author(s)

Julian Ramirez, [email protected]

References

Busby J.R. 1991. BIOCLIM: a bioclimatic analysis and prediction system. In C.R. Margules, M.P. Austin, eds. Nature conservation: cost effective biological surveys and data analysis, pp. 64, 68. Canberra, Australia, Commonwealth Scientific and Industrial Research Organisation (CSIRO).

See Also

BioCalc, LoadMonthlyFiles

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Folder where your data is stored (in ascii format, for example)
# dir <- "C://MyMonthlyData//"
#
# Load the files
# rasterlist <- LoadMonthlyFiles(dir, ext='.asc', varbl='tmean', format='ascii')
#
# Now calculate the bioclimatic variable
# outputfile <- "C://MyOutput//P11.asc"
# p11 <- p11Calc(rasterlist, outputfile, format='ascii')
# 

BioCalc documentation built on May 2, 2019, 4:41 p.m.