A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

AquaBEHER

Estimation and Prediction of Wet Season Calendar and Soil Water Balance for Agriculture.
https://github.com/RobelTakele/AquaBEHER

Category: Natural Resources
Sub Category: Soil and Land

Keywords

growing-season seasonal-calendar soil-moisture soil-water-balance

Last synced: about 22 hours ago
JSON representation

Repository metadata

Estimation and Prediction of Wet Season Calendar and Soil Water Balance for Agriculture

README.Rmd

          ---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%",
  echo = TRUE,
  warning = FALSE,
  message = FALSE
)
```


Report a Bug    |    Request a Feature    |    Ask a Question GitHub release R-CMD-check Lifecycle: stable license metacran downloads

**Estimates** and **predicts** the wet season calendar (WSC) and soil water balance for agricultural applications. It integrates daily potential evapotranspiration (PET) and soil water balance parameters to compute the WSC for crop and soil water management. Using these parameters, `AquaBEHER` can estimate and predict the onset, cessation, and duration of the wet season based on an agroclimatic approach. ### β›“ Key Features - **Daily potential evapotranspiration (PET)** estimation using various methods. - **Daily soil water balance** estimation based on adjustable soil water holding capacity (soilWHC). - **Wet season calendar** estimation and seasonal prediction including: - Onset of the wet season - Cessation of the wet season - Duration of the wet season `AquaBEHER` is designed to facilitate water-efficient agricultural practices in response to climate variability and change. --- ## :arrow_down: Installation ### Install from CRAN: ```r install.packages("AquaBEHER") ``` ### Install the development version from GitHub: ```r # install.packages("devtools") devtools::install_github("RobelTakele/AquaBEHER") ``` To view the vignettes in RStudio, run: ```r vignette("AquaBEHER", "AquaBEHER") ``` Further details regarding `AquaBEHER` are available on the package website, visit [here](https://robeltakele.github.io/AquaBEHER/). --- ## :fast_forward: Quick Example Here's a quick example to estimate daily soil water balance: ```{r example, message=FALSE} library(AquaBEHER) data(AgroClimateData) # Estimate PET using Penman-Monteith method PET <- calcEto(AgroClimateData, method = "PM", Zh = 10) # Add PET to the dataset AgroClimateData$Eto <- PET$ET.Daily # Estimate daily soil water balance for a soil with 100mm water holding capacity watBal.list <- calcWatBal(data = AgroClimateData, soilWHC = 100) watBal <- watBal.list$data head(watBal) ``` --- ## :bar_chart: Visualization Visualize the daily soil water balance, rainfall, and potential evapotranspiration (Eto) for the climatological year 2019–2020: ```{r watBalPlot, fig.height=6, fig.width=8, fig.dpi=400} library(ggplot2) # Filter the data for 2019 and 2020 watBal.19T20 <- watBal[watBal$Year %in% c(2019, 2020), ] date.vec <- as.Date(paste(watBal.19T20$Year, watBal.19T20$Month, watBal.19T20$Day, sep = "-"), format = "%Y-%m-%d") watBal.19T20$date <- date.vec # Plot water balance with ggplot2 ggplot(watBal.19T20, aes(x = date)) + geom_bar(aes(y = Rain), stat = "identity", fill = "#1f78b4", alpha = 0.6, width = 0.8) + geom_line(aes(y = AVAIL), color = "#33a02c", size = 1.5) + geom_line(aes(y = Eto), color = "#ff7f00", size = 1.2, linetype = "dashed") + scale_x_date(date_labels = "%b %Y", date_breaks = "1 month", expand = c(0.01, 0)) + scale_y_continuous( name = "Available Soil Water (mm)", sec.axis = sec_axis(~., name = "Rainfall (mm)") ) + labs( title = "Rainfall, Available Soil Water, and Potential Evapotranspiration", subtitle = "2019-2020 Data", x = NULL, y = NULL ) + theme_minimal(base_size = 15) + theme( plot.title = element_text(face = "bold", size = 18, hjust = 0.5), plot.subtitle = element_text(size = 14, hjust = 0.5, color = "grey40"), axis.text.x = element_text(angle = 45, hjust = 1), panel.grid.minor = element_blank(), panel.grid.major = element_line(linetype = "dotted", color = "grey80") ) ``` ## :memo: Citation If you used `AquaBEHER` in your work, please cite it. You can view the most recent citation by running: ```r citation(package = "AquaBEHER") ``` ``` To cite `AquaBEHER` in publications, please use: Robel Takele, Matteo Dell'Acqua (2023). `AquaBEHER`: Estimation and Prediction of Wet Season Calendar and Soil Water Balance for Agriculture. R package version 1.0.0. Available at https://cran.r-project.org/web/packages/AquaBEHER A BibTeX entry for LaTeX users is: @Manual{, title = {`AquaBEHER`: Estimation and Prediction of Wet Season Calendar and Soil Water Balance for Agriculture}, author = {Robel Takele and Matteo Dell'Acqua}, year = {2023}, note = {R package version 1.0.0}, url = {https://robeltakele.github.io/AquaBEHER/}, } ``` ## :earth_africa: Feedback and Contributions 🀝 We appreciate feedback and contributions to improve `AquaBEHER`. Feel free to report bugs, suggest features, or join discussions. Your contributions make a difference! > [!IMPORTANT] > Submit issues [here](https://github.com/RobelTakele/AquaBEHER/issues/) or join discussions [here](https://github.com/RobelTakele/AquaBEHER/discussions). ✀ We appreciate your support and look forward to making our package even better with your help! --- ## :mailbox_with_mail: Contact Us The **Genetics Group** at the *Institute of Plant Sciences* is a culturally diverse, research-driven team focused on advancing agricultural innovation. We combine crop genetics, climate science, and participatory strategies to develop sustainable farming solutions. We are based at **Scuola Superiore Sant'Anna**, Pisa, Italy. For inquiries, please reach out to: - [Matteo Dell'Acqua](mailto:[email protected]) - [Mario Enrico PΓ¨](mailto:[email protected]) Learn more about our work on the [institute web page](https://www.santannapisa.it/en/institute/plant-sciences).
Share on X Share on LinkedIn Share on Facebook Share on Reddit
## :link: Resources - [`AquaBEHER` Documentation](https://CRAN.R-project.org/package=AquaBEHER) - [`AquaBEHER` GitHub Repository](https://github.com/RobelTakele/AquaBEHER) - [Scuola Superiore Sant'Anna](https://www.santannapisa.it/en/institute/plant-sciences) --- ## 🌟 Show Your Support If you find **`AquaBEHER`** helpful or interesting, please consider giving us a star on GitHub. Your support helps promote the project and lets others know it's worth checking out. πŸ™ Thank you for your support! πŸ‘ [![Star this project](https://img.shields.io/github/stars/RobelTakele/AquaBEHER?style=social)](https://github.com/RobelTakele/AquaBEHER/stargazers) --- ## πŸ‘₯ Contributors

πŸ‘¨β€πŸ’» Robel Takele
      Email: [email protected]
      GitHub: @RobelTakele

πŸ‘¨β€πŸ’» Matteo Dell'Acqua
      Email: [email protected]
      GitHub: @MatteoDellAcqua

### πŸ„― License This project is licensed under the GNU General Public License, [GPL-3](https://cran.r-project.org/web/licenses/GPL-3).


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 6 days ago

Total Commits: 73
Total Committers: 3
Avg Commits per committer: 24.333
Development Distribution Score (DDS): 0.027

Commits in past year: 40
Committers in past year: 2
Avg Commits per committer in past year: 20.0
Development Distribution Score (DDS) in past year: 0.025

Name Email Commits
RobelTakele t****l@g****m 71
Temesgen Gebremariam Asfaw 1****m 1
Matteo Dell'Acqua 4****o 1

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 6
Total pull requests: 14
Average time to close issues: 8 months
Average time to close pull requests: 2 minutes
Total issue authors: 2
Total pull request authors: 2
Average comments per issue: 0.83
Average comments per pull request: 0.0
Merged pull request: 12
Bot issues: 0
Bot pull requests: 0

Past year issues: 3
Past year pull requests: 14
Past year average time to close issues: about 14 hours
Past year average time to close pull requests: 2 minutes
Past year issue authors: 1
Past year pull request authors: 2
Past year average comments per issue: 0.67
Past year average comments per pull request: 0.0
Past year merged pull request: 12
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/RobelTakele/AquaBEHER

Top Issue Authors

  • RobelTakele (5)
  • emawbgit (1)

Top Pull Request Authors

  • RobelTakele (12)
  • TemesgenGm (2)

Top Issue Labels

  • question (1)

Top Pull Request Labels


Package metadata

cran.r-project.org: AquaBEHER

Estimation and Prediction of Wet Season Calendar and Soil Water Balance for Agriculture

  • Homepage: https://github.com/RobelTakele/AquaBEHER
  • Documentation: http://cran.r-project.org/web/packages/AquaBEHER/AquaBEHER.pdf
  • Licenses: GPL (β‰₯ 3)
  • Latest release: 1.4.0 (published 7 months ago)
  • Last Synced: 2025-04-25T14:32:39.760Z (2 days ago)
  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 277 Last month
  • Docker Downloads: 21,613
  • Rankings:
    • Dependent packages count: 29.761%
    • Dependent repos count: 35.413%
    • Average: 51.616%
    • Downloads: 89.672%
  • Maintainers (1)

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • R >= 3.5.0 depends
  • dplyr * imports
  • ggplot2 * imports
  • lubridate * imports
  • raster * imports
  • sp * imports
  • knitr * suggests
  • prettydoc * suggests
  • rmarkdown * suggests
.github/workflows/release-package.yml actions
  • actions/checkout v4 composite
  • actions/setup-node v4 composite
package.json npm

Score: 13.395073933925964