Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to authenticate to Geostreams #1658

Merged
merged 3 commits into from
Sep 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion modules/data.atmosphere/R/download.Geostreams.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' Download Geostreams data from Clowder API
#'
#' @param outfolder directory in which to save json result. Will be created if necessary
#' @param sitename character. Should match a geostreams sensor_name
#' @param sitename character. Must match a Geostreams sensor_name
#' @param start_date,end_date datetime
#' @param url base url for Clowder host
#' @param key,user,pass authentication info for Clowder host.
Expand All @@ -13,6 +13,21 @@
#' `~/.pecan.clowder.xml`, and finally if no keys or passwords are found there it
#' attempts to connect unauthenticated.
#'
#' If using `~/.pecan.clowder.xml`, it must be a valid PEcAn-formatted XML settings
#' file and must contain a \code{<clowder>} key that specifies hostname, user, and
#' password for your Clowder server:
#'
#' \code{\preformatted{
#' <?xml version="1.0"?>
#' <pecan>
#' <clowder>
#' <hostname>terraref.ncsa.illinois.edu</hostname>
#' <user>yourname</user>
#' <password>superSecretPassw0rd</password>
#' </clowder>
#' </pecan>
#' }}
#'
#' @export
#' @author Harsh Agrawal, Chris Black
#' @examples \dontrun{
Expand Down
17 changes: 16 additions & 1 deletion modules/data.atmosphere/man/download.Geostreams.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.