init_dap {climates}R Documentation

An function to initialize an OPeNDAP resource for the climates package.

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

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

## Not run: 
Soon!

## End(Not run)

[Package climates version 0.1-1.6 Index]