dap_daily_stats {climates}R Documentation

A wrapper function to execute daily_indices2geotiff in the climates package.

Description

This function takes an input spatiotemporal domain and an OPeNDAP datasource. It returns a list of geotiff filenames that have been written to the current working directory.

Usage

dap_daily_stats(start, end, bbox_in, thresholds, OPeNDAP_URI, tmax_var,
  tmin_var, tave_var, prcp_var, NetCDF_output = FALSE, fill_nas = FALSE)

Arguments

start

a start year

end

an end year

bbox_in

a bounding box to be passed to CF_bbox_in

thresholds

a named list to be passed to daily_indices

OPeNDAP_URI

an OPeNDAP resource without any service parameters.

tmax_var

a string of the tmax variable id

tmin_var

a string of the tmin variable id

tave_var

optional: a string of the tave variable id

prcp_var

a string of the prcp variable id

NetCDF_output:

Set to TRUE if NetCDF files are desired as output, otherwise will be geotiff.

Cells

that are NA in only some time steps will be filled with the average of their neighbors.

Value

A list of filenames that have been written to disk.

Author(s)

David Blodgett dblodgett@usgs.gov

Examples

## Not run: 
# Uses this OPeNDAP dataset: http://cida.usgs.gov/thredds/dodsC/cmip5_bcca/future.html
start <- "2090"

## End(Not run)

[Package climates version 0.1-1.6 Index]