# Analysis the Weather Data

## Documentation for package ‘weaana’ version 0.3.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

add_rh | Add relative humidity to APSIM weather data
changeWeatherRecords | Change weather records
changeWeatherRecords-method | 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
getWeatherRecords-method | Get all weather records by year range
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-method | Show basic information of class WeaAna
siteInfor | Get site information
siteInfor-method | 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)
ttest_ts | Significantly t-test with auto-correlation for time serial data
tt_hourly_pp | Hourly Air Temperature Interpolation
wcal | Calculate weather variables through function or a string formula.
wcal-method | Calculate weather variables through function or a string formula.
WeaAna-class | Define the class for multiple sites
WeaAnaSite-class | Define the class of WeaAna
writeWeatherRecords | Write weather records into file
writeWeatherRecords-method | Write weather records into file
[-method | Getter to access the weather data at a specific position.