Package: weaana 0.2.0

weaana: Analysis the Weather Data

Functions are collected to analyse weather data for agriculture purposes including to read weather records in multiple formats, calculate extreme climate index.

Authors:Bangyou Zheng [aut, cre]

weaana_0.2.0.tar.gz
weaana_0.2.0.zip(r-4.5)weaana_0.2.0.zip(r-4.4)weaana_0.2.0.zip(r-4.3)
weaana_0.2.0.tgz(r-4.4-any)weaana_0.2.0.tgz(r-4.3-any)
weaana_0.2.0.tar.gz(r-4.5-noble)weaana_0.2.0.tar.gz(r-4.4-noble)
weaana_0.2.0.tgz(r-4.4-emscripten)weaana_0.2.0.tgz(r-4.3-emscripten)
weaana.pdf |weaana.html
weaana/json (API)

# Install 'weaana' in R:
install.packages('weaana', repos = c('https://byzheng.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/byzheng/weaana/issues

Datasets:

On CRAN:

5.32 score 3 stars 1 packages 23 scripts 161 downloads 22 exports 25 dependencies

Last updated 5 months agofrom:3f88b89712. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 07 2024
R-4.5-winOKNov 07 2024
R-4.5-linuxOKNov 07 2024
R-4.4-winOKNov 07 2024
R-4.4-macOKNov 07 2024
R-4.3-winOKNov 07 2024
R-4.3-macOKNov 07 2024

Exports:changeWeatherRecordsclimate_by_stagesconvert2RecordscreateWeaAnadayLengthdiurnalTgetWeatherRecordsinterpolationFunctionmovmov.avgmov.maxmov.minmov.sumreadWeatherRecordssiteInforsphericalDistancethermalTimethermalTimeDailythermalTimeHourlyttest_tswcalwriteWeatherRecords

Dependencies:clicpp11dplyrfansigenericsgluelifecyclelubridatemagrittrpillarpkgconfigplyrR6Rcppreshape2rlangsettingsstringistringrtibbletidyselecttimechangeutf8vctrswithr

Modify Weather File

Rendered frommodify-weather-file.Rmdusingknitr::rmarkdownon Nov 07 2024.

Last update: 2021-10-20
Started: 2021-10-20

Readme and manuals

Help Manual

Help pageTopics
Getter to access the weather data at a specific position.[,WeaAna-method
Change weather recordschangeWeatherRecords changeWeatherRecords,WeaAna,WeaAna-method changeWeatherRecords,WeaAna-method
Summarise the climate variable by growth stagesclimate_by_stages
Convert a data frame to weaana classconvert2Records
create WeaAna classcreateWeaAna
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.dayLength
Calculate the diurnal variation in air temperature with Parton and Logan, 1981diurnalT
Get all weather records by year rangegetWeatherRecords getWeatherRecords,WeaAna,WeaAna-method getWeatherRecords,WeaAna-method
Return a y value from a linear interpolation functioninterpolationFunction
Calculate the moving valuesmov
Use Calculate the moving average. For compatibility only.mov.avg
Calculate the moving maximum. For compatibility only.mov.max
Calculate the moving minimum. For compatibility only.mov.min
Calculate the moving sum. For compatibility only.mov.sum
Read weather records from a file list and/or a folder listreadWeatherRecords
Demo weather recordsrecords
Define the class for statistics resultsresult-class
Show basic information of class WeaAnashow,WeaAna-method
Get site informationsiteInfor siteInfor,WeaAna,WeaAna-method siteInfor,WeaAna-method siteInfor,WeaAnaSite,WeaAnaSite-method siteInfor,WeaAnaSite-method
Calculate the sphere distancesphericalDistance
Calculate thermal time using cardinal temperaturesthermalTime
Calculate thermal time using cardinal temperaturesthermalTimeDaily
Calculate thermal time using the hourly temperature (non daily temperature)thermalTimeHourly
Significantly t-test with auto-correlation for time serial datattest_ts
Calculate weather variables through function or a string formula.wcal wcal,WeaAna,WeaAna-method wcal,WeaAna-method
Define the class for multiple sitesWeaAna-class
Define the class of WeaAnaWeaAnaSite-class
Write weather records into filewriteWeatherRecords writeWeatherRecords,WeaAna,WeaAna-method writeWeatherRecords,WeaAna-method