idaweb_data_prep: MeteoSwiss IdaWeb climate data preparation.

Description Usage Arguments Value

View source: R/idaweb_data_prep.R

Description

Preparation of raw climatological data obtained from national weather and climate service of Switzerland (MeteoSwiss) via IdaWeb. Download as csv of multiple parameters for multiple stations possible. Output as .RData and column for each station.

Usage

1
2
idaweb_data_prep(param_code, order_dir, out_dir, start_day = "1981-01-01",
  end_day = "2017-12-31")

Arguments

param_code

Parameter code from climatological variable as downloaded from Idaweb (e.g. "tre200d0" or "gre000d0")

order_dir

Path to zip-folder containing raw data.

out_dir

Output location.

start_day

Start day of desired time frame (e.g. "1980-01-01")

end_day

Start day of desired time frame (e.g. "2015-12-31")

Value

Data frame saved as .RData.


ERottler/alptempr documentation built on May 7, 2021, 1:12 a.m.