Skip to contents

All functions

WeaAna-class
Define the class for multiple sites
WeaAnaSite-class
Define the class of WeaAna
add_rh()
Add relative humidity to APSIM weather data
changeWeatherRecords()
Change weather records
climate_by_stages()
Summarise the climate variable by growth stages
convert2Records()
Convert a data frame to weaana class
createWeaAna()
create WeaAna class
dayLength()
The time elapsed in hours between the specified sun angle from 90 degree in am and pm. +ve above the horizon, -ve below the horizon.
diurnalT()
Calculate the diurnal variation in air temperature with Parton and Logan, 1981
dp_mint()
Calculate Dew Point Temperature from Minimum Temperature and Relative Humidity
getWeatherRecords()
Get all weather records by year range
`[`(<WeaAna>)
Getter to access the weather data at a specific position.
interpolationFunction()
Return a y value from a linear interpolation function
mov()
Calculate the moving values
mov.avg()
Use Calculate the moving average. For compatibility only.
mov.max()
Calculate the moving maximum. For compatibility only.
mov.min()
Calculate the moving minimum. For compatibility only.
mov.sum()
Calculate the moving sum. For compatibility only.
readWeatherRecords()
Read weather records from a file list and/or a folder list
records
Demo weather records
result-class
Define the class for statistics results
show(<WeaAna>)
Show basic information of class WeaAna
siteInfor()
Get site information
sphericalDistance()
Calculate the sphere distance
thermalTime()
Calculate thermal time using cardinal temperatures
thermalTimeDaily()
Calculate thermal time using cardinal temperatures
thermalTimeHourly()
Calculate thermal time using the hourly temperature (non daily temperature)
tt_hourly_pp()
Hourly Air Temperature Interpolation
ttest_ts()
Significantly t-test with auto-correlation for time serial data
wcal()
Calculate weather variables through function or a string formula.
writeWeatherRecords()
Write weather records into file