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), elevation (site elevation).

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/Rsoilwat documentation built on June 2, 2025, 7:30 a.m.