Document weather database usage
Closed this issue · 1 comments
dschlaep commented
- Write up vignette to illustrate how to create, add data, use the weather database functionality for rSOILWAT2, rSFSW2, and rSFSTEP2 applications
Create and set up a weather database:
rSOILWAT2::dbW_createDatabase
rSOILWAT2::dbW_setConnection
Define sites:
rSOILWAT2::dbW_addSites
Define climate scenarios (if any):
rSOILWAT2::dbW_addScenarios
Convert weather data object to a “blob” (suitable to be efficiently stored in a SQL database):
rSOILWAT2::dbW_weatherData_to_blob
Add that blob to the weather database:
rSOILWAT2::dbW_addWeatherData
See also rSFSW2::make_dbW