Package 'cft'

Title: Climate Futures Toolbox
Description: Developed as a collaboration between Earth lab and the North Central Climate Adaptation Science Center to help users gain insights from available climate data. Includes tools and instructions for downloading climate data via a 'USGS' API and then organizing those data for visualization and analysis that drive insight. Web interface for 'USGS' API can be found at <http://thredds.northwestknowledge.net:8080/thredds/reacch_climate_CMIP5_aggregated_macav2_catalog.html>.
Authors: Ty Tuff [aut] , Megan Collins [aut], Travis Williams [aut], Max Joseph [aut] , Natasha Stavros [aut] , Erick Verleye [aut, cre]
Maintainer: Erick Verleye <[email protected]>
License: GPL (>= 3)
Version: 1.0.0
Built: 2024-10-25 05:33:00 UTC
Source: https://github.com/earthlab/cft-cran

Help Index


Available data

Description

Using the default web link, this package retrieves daily gridded data sets of General Circulation Model (GCM) runs clipped to areas of interest and returns a data frame of the file names and they're storage paths. Each of these data sets represent a single GCM, climate variable and Representative Concentration Pathway (RCP) from 1950 to 2099. The 1950 to 2005 portion of this time period represents historical data while the 2006 to 2099 portion represents modeled data. The original data sets may be found at http://thredds.northwestknowledge.net:8080/thredds/reacch_climate_CMIP5_aggregated_macav2_catalog.html

Usage

available_data(
  web_link = "https://cida.usgs.gov/thredds/dodsC/macav2metdata_daily_future",
  verbose = TRUE
)

Arguments

web_link

A web link to the api data source you want to read (character)

verbose

Should the api outputs be combined with internal metadata? (logical)

Value

Data.frame of requested data


Single point firehose

Description

Using the default web link, this package retrieves daily gridded data sets of General Circulation Model (GCM) runs clipped to areas of interest and returns a data frame of the file names and they're storage paths. Each of these data sets represent a single GCM, climate variable and Representative Concentration Pathway (RCP) from 1950 to 2099. The 1950 to 2005 portion of this time period represents historical data while the 2006 to 2099 portion represents modeled data. The original data sets may be found at http://thredds.northwestknowledge.net:8080/thredds/reacch_climate_CMIP5_aggregated_macav2_catalog.html

Usage

single_point_firehose(
  input_variables,
  lat,
  lon,
  web_link = "https://cida.usgs.gov/thredds/dodsC/macav2metdata_daily_future",
  verbose = FALSE
)

Arguments

input_variables

Table of specifications for requested dataset: model type, date range, variables (list)

lat

Latitude specifications for area of interest (list)

lon

Longitude specifications for area of interest (list)

web_link

A web link to the api data source you want to read (character)

verbose

If True detailed processing information will be output (logical)

Value

Data.frame of requested data