dbW_addFromFolders: Read 'SOILWAT2'-style weather data from disk and store in...

View source: R/sw_dbW_WeatherDatabase.R

dbW_addFromFoldersR Documentation

Read SOILWAT2-style weather data from disk and store in weather database

Description

Read SOILWAT2-style weather data from disk and store in weather database

Usage

dbW_addFromFolders(
  MetaData = NULL,
  FoldersPath = ".",
  ScenarioName = "Current",
  weather_tag = "weath"
)

Arguments

MetaData

A data frame. If not missing, then must contain columns (in that order) (name of site weather data) folder, lat (site latitude), long (site longitude), label (name of site).

FoldersPath

A character string. The path to the folder that contains the site weather data folders.

ScenarioName

A character string. The scenario name represented by the data.

weather_tag

A character string. The file name tag that identifies the individual weather data files inside the site weather data folders.


Burke-Lauenroth-Lab/rSOILWAT2 documentation built on Dec. 9, 2023, 1:46 a.m.