-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
42f6a37
commit 020ad99
Showing
105 changed files
with
1,305 additions
and
1,615 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,135 @@ | ||
|
||
<p id="start" align="center"> | ||
<a href="#start"></a> | ||
</p> | ||
|
||
# AquaBEHER Changelog | ||
# <img height="50rem" src="man/figures/AquaBEHER_smalLogo.png" > AquaBEHER Changelog | ||
|
||
------------------------------------------------------------------------ | ||
|
||
# AquaBEHER 1.4.0 | ||
|
||
------------------------------------------------------------------------ | ||
|
||
### 🆕 Added | ||
|
||
- **🛠 Parameter Validation**: An improved and more robust version of the | ||
parameter validation checks, along with additional data quality and | ||
validation checks for the `seasFcstQBR` function. | ||
|
||
- **🔍 Input Validation**: Checks added for `hisYearStart`, | ||
`hisYearEnd`, and the structure of `seasRain` and `hisWSCvar`. | ||
|
||
- **❓ Null and Missing Checks**: Added `is.null` and `is.na` checks | ||
for `rainTerc` and key data columns. | ||
|
||
- **⚠ Unrealistic Data Warning**: Warnings for unrealistic `hisWSCvar` | ||
values (e.g., values outside 0-365 days) and negative rainfall | ||
values. | ||
|
||
- **📅 Year Filtering**: Ensures `seasRain` and `hisWSC` match on | ||
years after filtering. | ||
|
||
- **🧪 Testing Structure**: Established testing structure using | ||
`testthat` for the `seasFcstQBR` function. | ||
|
||
- **📖 Documentation**: Added a Seasonal Forecast section to the | ||
vignette. | ||
|
||
### 🔄 Changed | ||
|
||
- **📚 Documentation**: Improved documentation for `seasFcstQBR`. | ||
|
||
- **🔄 Function Name**: Changed the function name from `seasFcst` to | ||
`seasFcstQBR`. | ||
|
||
--- | ||
- **📝 DESCRIPTION File**: Edited the DESCRIPTION file as directed by | ||
CRAN. | ||
|
||
------------------------------------------------------------------------ | ||
|
||
# AquaBEHER 1.2.0 | ||
|
||
------------------------------------------------------------------------ | ||
|
||
### 🆕 Added | ||
|
||
- **📖 Citation Information**: Citation details are now included in `inst/CITATION`, enabling proper referencing. | ||
|
||
- **📊 CRAN Downloads Badge**: A badge displaying CRAN downloads has been added to the `README` to track package usage. | ||
- **📖 Citation Information**: Citation details are now included in | ||
`inst/CITATION`, enabling proper referencing. | ||
|
||
- **📊 CRAN Downloads Badge**: A badge displaying CRAN downloads has | ||
been added to the `README` to track package usage. | ||
|
||
- **✅ Data Quality Control**: New data validation checks have been | ||
introduced to ensure the integrity of inputs for water balance | ||
calculations. These include realistic value checks and error handling. | ||
|
||
- **🧪 Testing Structure**: Established comprehensive unit tests for the | ||
`calcWatBal` and `calcSeasCal` functions using `testthat`, ensuring | ||
better test coverage and reliability. | ||
|
||
- **✅ Data Quality Control**: New data validation checks have been introduced to ensure the integrity of inputs for water balance calculations. These include realistic value checks and error handling. | ||
- **⚙ Parameter Validation**: Enhanced validation mechanisms in the | ||
`calcSeasCal` function to ensure accurate input. Improvements include: | ||
|
||
- **🧪 Testing Structure**: Established comprehensive unit tests for the `calcWatBal` and `calcSeasCal` functions using `testthat`, ensuring better test coverage and reliability. | ||
- **🔍 Consistency Checks**: Ensures that date-related columns (Year, | ||
Month, Day) are complete and contain no missing values. | ||
|
||
- **⚙️ Parameter Validation**: Enhanced validation mechanisms in the `calcSeasCal` function to ensure accurate input. Improvements include: | ||
|
||
- **🔍 Consistency Checks**: Ensures that date-related columns (Year, Month, Day) are complete and contain no missing values. | ||
|
||
- **📅 Date Validation**: Ensures `onsetWind.start`, `onsetWind.end`, and `cessaWind.end` are valid dates using `lubridate::is.Date()`. | ||
- **📐 Range Validation**: Confirms that `R-index` values fall between 0 and 1, while `Soil Moisture` values remain non-negative. | ||
|
||
- **📏 Length Consistency**: Ensures `R-index` and `Soil Moisture` arrays match the length of the Year column. | ||
|
||
- **🌱 soilWHC Validation**: Verifies that `soilWHC` is a positive numeric value for accurate soil water holding capacity calculations. | ||
- **📅 Date Validation**: Ensures `onsetWind.start`, `onsetWind.end`, | ||
and `cessaWind.end` are valid dates using `lubridate::is.Date()`. | ||
|
||
- **📐 Range Validation**: Confirms that `R-index` values fall between | ||
0 and 1, while `Soil Moisture` values remain non-negative. | ||
|
||
- **📏 Length Consistency**: Ensures `R-index` and `Soil Moisture` | ||
arrays match the length of the Year column. | ||
|
||
- **🌱 soilWHC Validation**: Verifies that `soilWHC` is a positive | ||
numeric value for accurate soil water holding capacity calculations. | ||
|
||
### 🔄 Changed | ||
|
||
- **📦 Package Imports**: Transitioned from `raster` to `terra` for more efficient spatial data processing. | ||
|
||
- **📦 Package Imports**: Transitioned from `raster` to `terra` for more | ||
efficient spatial data processing. | ||
|
||
- **📈 calcWatBal Function**: Now returns a list that includes: | ||
|
||
- A dataframe with results. | ||
- A list of warnings for unrealistic or adjusted values in the input data, making error tracing easier. | ||
- A list of warnings for unrealistic or adjusted values in the input | ||
data, making error tracing easier. | ||
|
||
- **📅 Wet Season Calendar (WSC) Parameters**: Improved logic and criteria for characterizing the onset and cessation of the wet season, ensuring more accurate agroclimatic analysis. | ||
- **📅 Wet Season Calendar (WSC) Parameters**: Improved logic and | ||
criteria for characterizing the onset and cessation of the wet season, | ||
ensuring more accurate agroclimatic analysis. | ||
|
||
--- | ||
------------------------------------------------------------------------ | ||
|
||
# AquaBEHER 1.0.0 | ||
|
||
### 🆕 Added | ||
------------------------------------------------------------------------ | ||
|
||
- **🛠️ Error Handling**: Enhanced error management for missing or unrealistic values, making the package more robust and user-friendly. | ||
### 🆕 Added | ||
|
||
- **⚖️ Consistency Checks**: Implemented validation to ensure that maximum temperature is always greater than minimum temperature, avoiding input errors. | ||
|
||
- **📝 Documentation**: Significantly improved package documentation for better clarity and completeness, including examples and usage guidance. | ||
- **🛠 Error Handling**: Enhanced error management for missing or | ||
unrealistic values, making the package more robust and user-friendly. | ||
|
||
- **🧪 Testing**: Introduced unit testing for the `calcEto` function, further improving the reliability of core calculations. | ||
- **⚖ Consistency Checks**: Implemented validation to ensure that | ||
maximum temperature is always greater than minimum temperature, | ||
avoiding input errors. | ||
|
||
--- | ||
- **📝 Documentation**: Significantly improved package documentation for | ||
better clarity and completeness, including examples and usage | ||
guidance. | ||
|
||
# AquaBEHER 0.1.0 | ||
- **🧪 Testing**: Introduced unit testing for the `calcEto` function, | ||
further improving the reliability of core calculations. | ||
|
||
### 🆕 Initial Release | ||
------------------------------------------------------------------------ | ||
|
||
- **🌱 AquaBEHER 0.1.0**: Initial submission to CRAN, introducing essential functionalities for estimating soil water balance and wet season characterization. | ||
# AquaBEHER 0.1.0 | ||
|
||
--- | ||
<p align="right"> | ||
<a href="#start"><img width="70rem" src="man/figures/top.png"></a> | ||
</p> | ||
------------------------------------------------------------------------ | ||
|
||
### 🆕 Initial Release | ||
|
||
- **🌱 AquaBEHER 0.1.0**: Initial submission to CRAN, introducing | ||
essential functionalities for estimating soil water balance and wet | ||
season characterization. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.