init_dap: An function to initialize an OPeNDAP resource for the...

Description Usage Arguments Value Examples

View source: R/init_dap.R

Description

This function takes an OPeNDAP web service uri and a list of variables of interest. It returns a named list containing the ncdf4 object's handle, and a temperature conversion function.

Usage

1
init_dap(OPeNDAP_URI, tmax_var, tmin_var, prcp_var, tave_var)

Arguments

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

prcp_var

a string of the prcp variable id

Value

ncdf4_init a named list of an ncdf4 object and a temperature conversion function.

Examples

1
2
3
4
## Not run: 
Soon!

## End(Not run)

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