bioclim2geotiff: Bioclim to GeoTiff

Description Usage Arguments Value Author(s) Examples

View source: R/bioclim2geotiff.R

Description

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

Usage

1
2
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

1
2
3
4
5
6
## 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)

jjvanderwal/climates documentation built on May 19, 2019, 11:41 a.m.