Skip to contents

All functions

AddWeatherParameters()
Title
Copy_DWD_ZipFiles()
Copy_DWD_ZipFiles makes a local copy of DWD weather data as zip files
CreateScenarioWeather()
CreateScenarioWeather
DWDisMeasured()
Title DWDisMeasured
GetForecastDataForStationList()
Title
GetRainData_selection()
GetRainData_selection gets the rain data for the selected stations by downloading the data from the DWD ftp server
GetWeatherData_selection()
GetWeatherData_selection gets the weather data for the selected stations by downloading the data from the DWD ftp server
GetWeatherData_selection_fst()
GetWeatherData_selection_fst
Get_ZipLists_Station_ids()
Title Get_ZipLists_Station_ids
InterpolateFromDWD()
Title InterpolateFromDWD Interpolation of weather data using the 3 nearest DWD stations in between a defined difference of altitude
InterpolateToFST()
Title InterpolateToFST Interpolates weather data for a list of locations
InterpolateWeatherData()
InterpolateWeatherData interpolates the weather data from the selected station to the location
LoadDWDDatafromStationlist()
LoadDWDDatafromStationlist
Penman()
Penman function for calculating potential evapotranspiration
R_nl()
Long wave net radiation for daily time steps
RelRad()
RelRad: calculation of daily solar radiation from relative sunshine the model has been fitted with observations from the DWD (relative sunshine and global radiation)
RenameDWDRain()
RenameDWDRain renames the columns of the DWD rain data
RenameDWDWeather()
Rename columns of DWD weather data
ReplaceProblemChars()
Title: ReplaceProblemChars
SelectStations()
SelectStations selects the nearest weather stations from a list of stations
SelectStationsByDataAvailability()
SelectStationsByDataAvailability selects the weather stations from a list of stations by data availability, more stations are selected until a minimum number of stations is reached which contain the required data
TmaxCanopy()
Title TmaxCanopy
UpdateDWDData_to_fst()
UpdateDWDData_to_fst updates the DWD weather data to a local fst file
WriteHumeWeatherFile()
WriteHumeWeatherFile
abr.names()
abr.names shorten long column names
air_saturation_deficit()
calculation of air saturation deficit of water vapour
calcsolar()
calcsolar: calculation of daily of maximum solar radiation
clean_plotly_leg()
Utility function to clean up plotly legend entries
delta_f()
Title delta_f
dens_air()
dens_air function for calculating air density [Kg/m3]
displacement_height()
Function displacement_height (zero plane displacement height)
.onLoad()
Internal hook to optionally initialize the data directory when the user opts in via `options(weatherfunctions.auto_setup = TRUE)`.
estSg_S0()
estSg_S0: calculation of daily solar radiation from relative sunshine
getDWDContent()
getDWDContent gets the content (filenames etc.) of a DWD ftp repository
getDWDRainContent()
getDWDRainContent gets the content of the DWD ftp repository for additional rain data
getDWDRainStationList()
getDWDRainStationList gets a station list from the DWD ftp repository without ziplists and addtionally returns historical and recent stationlist (metadata) as well as filelists, ziplists and zipIDs
getDWDStationList()
getDWDStationList gets a station list from the DWD ftp repository without ziplists and addtionally returns historical and recent stationlist (metadat) as well as filelists, ziplists and zipIDs
getHUMEWeather()
getHUMEWeather converts the DWD weather data into the HUME format
getRadWeather()
getRadWeather calculates radiation from DWD weather data
getcombinedDWDRain()
getcombinedDWDRain gets the combined (historic & recent) rain data for a DWD station
getcombinedDWDWeather()
getcombinedDWDWeather gets the combined (historic & recent) weather data for a DWD station
getsingleDWDRain()
getsingleDWDRain loads rainfall data for a single weather station
getsingleDWDWeather()
Title getsingleDWDWeather loads data for a single weather station
initialize_weatherfunctions_data_dir()
Explicitly initialize the Weatherfunctions data directory.
makeScenarioplot()
makeScenarioplot makes time series plots from a data frame with Time in the first column as Excel date and the parameter to be plotted in another selected column
makeplot()
makeplot makes time series plots from a data frame with Time in the first column as Excel date and the parameter to be plotted in another selected column
makeplot2()
makeplot2 a function to plot scenarios
makeplot3()
makeplot3 a function to plot scenarios with smoothed variation ranges
ra_f()
ra_f function for calculating aerodynamic resistance
rc_f()
Title rc_f
rc_f_vectorized()
Title
render_Wetter_Analysis()
render_Wetter_Analysis
render_Wetter_Import()
render_Wetter_Import
roughness_f()
Title roughness_f
rs_Rnet_f()
Title rs_Rnet_f function for the contribution of net radiation to stomatal resistance according to Neukam et al. (2018)
rs_Ta_f()
Title rs_Ta_f function for the contribution of air temperature to stomatal resistance according to Neukam et al. (2018)
rs_VPD_psi_r_f()
Title rs_VPD_psi_r_f function for the contribution of VPD and soil water potential to stomatal resistance according to Neukam et al. (2018)
rs_f()
Title rs_f function for the stomatal resistance as influenced by air temperature, net radiation, vapour pressure deficit and soil water potential according to Neukam et al. (2018)
sat_vap_press_f()
Title sat_vap_press_f
set_theme()
Title
setplotbackground()
Title
transWindSpeed()
transWindSpeed corrects the wind speed for the required height considering the measurement height
weatherfunctions_data_dir()
Return the Weatherfunctions data directory path and optionally create it.
windheight()
Alternative function for correction of windspeed to reference height