Description Usage Arguments Details Value Author(s) References See Also Examples
Calculates the isothermality (P5 - P6) based upon previously calculated bioclimatics
1 |
p5 |
a RasterLayer object being P5: max. temp. warmest month |
p6 |
a RasterLayer object being P6: min. temp. coldest month |
outfile |
Name of the output file |
format |
The format of your input files. Can be GRD, ASCII, BIL... |
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.
A RasterLayer object with the averaged values of the monthly input files, and the raster itself stored as a file.
Julian Ramirez, dawnpatrolmustaine@gmail.com
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).
1 2 3 4 5 6 7 8 9 10 | # Folder where your data is stored (in ascii format, for example)
#
# Load the files
# p5 <- raster("C://MyOutput//P5.asc")
# p6 <- raster("C://MyOutput//P6.asc")
#
# Now calculate the bioclimatic variable
# outputfile <- "C://MyOutput//P7.asc"
# p7 <- p7Calc(p5, p6, outputfile, format='ascii')
#
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.