bioclim2geotiff {climates}R Documentation

Bioclim to GeoTiff

Description

This function wraps the bioclim function. It writes data to a geotiff file in the working directory.

Usage

bioclim2geotiff(tmax_data, tmin_data, prcp_data, tave_data, bioclims,
  coords_master, prj, year)

Arguments

year

A year to use in labeling the output file.

tmin

a data.frame or matrix with 12 or 52 columns representing monthly or weekly minimum temperature data; rows represent different locations.

tmax

a data.frame or matrix as with tmin representing maximum temperature data.

prec

a data.frame or matrix as with tmin representing precipitation data.

tmean

a data.frame or matrix as with tmin representing mean temperature data.

vois

a vector of values between 1 & 19 defining the bioclimatic variables to be calculated; see details for variable description.

coordinates

Coordinates of grid cells as output by CF_bbox_grid.

projection

A Proj4 string for the spatial reference of the input string.

Value

A character vector of the files that were created.

Author(s)

David Blodgett dblodgett@usgs.gov

Examples

## Not run: 
data(bioclim2geotiff_example, package='climates')
fileNames<-bioclim2geotiff(tmax_data,tmin_data,prcp_data,tave_data,
bioclims, coords_master, prj, year)

## End(Not run)

[Package climates version 0.1-1.6 Index]