dap_daily_stats: A wrapper function to execute daily_indices2geotiff in the...

Description Usage Arguments Value Author(s) Examples

View source: R/dap_daily_stats.R

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

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

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

## End(Not run)

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