prepare_ghcn: Download and clean daily climate records from the Global...

Description Usage Arguments Value

View source: R/prepare_ghcn.R

Description

Download and clean daily climate records from the Global Historical Climate Database.

Usage

1
2
3
prepare_ghcn(region, label, calibration.years, google_maps_elevation_api_key,
  raw_dir = "./data/raw_data/ghcn/",
  derived_dir = "./data/derived_data/ghcn/", force.redo = FALSE)

Arguments

region

A spatial object defining the region

label

A label for the region

calibration.years

The years for defining climatology

google_maps_elevation_api_key

the users Google Maps Elevation API key

raw_dir

a directory in which to store the raw GHCN downloads

derived_dir

a directory in which to store the processed GHCN output

force.redo

Should the GHCN data be re-processed?

Value

A clean set of GHCN data


bocinsky/guedesbocinsky2018 documentation built on May 3, 2019, 8:59 p.m.