Releases: RobelTakele/AquaBEHER
AquaBEHER 1.4.0
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 theseasFcstQBR
function.-
🔍 Input Validation: Checks added for
hisYearStart
,
hisYearEnd
, and the structure ofseasRain
andhisWSCvar
. -
❓ Null and Missing Checks: Added
is.null
andis.na
checks
forrainTerc
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
andhisWSC
match on
years after filtering.
-
-
🧪 Testing Structure: Established testing structure using
testthat
for theseasFcstQBR
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.
Version 1.2.0
[1.2.0] - 2024-09-09
Added
- Citation Information: Included citation details in
inst/CITATION
. - CRAN Downloads Badge: Added a badge for CRAN downloads in the README.
- Data Quality Control: Introduced checks for data quality control and realistic values in water balance calculations.
- Testing Structure: Established a testing structure for the
calcWatBal
andcalcSeasCal
functions usingtestthat
. - Parameter Validation: Enhanced and more robust parameter validation checks for the
calcSeasCal
function, including: - Consistency Checks: Ensures all date-related columns (Year, Month, Day) are complete and free of NA values.
- Date Validation: Validates
onsetWind.start
,onsetWind.end
, andcessaWind.end
as proper dates usinglubridate::is.Date()
. - Range Validation: Ensures
R-index
values are between 0 and 1, andSoil Moisture
values are non-negative. - Length Consistency: Confirms
R-index
andSoil Moisture
have the same length as the Year column. - soilWHC Validation: Checks that
soilWHC
is a positive numeric value.
Changed
- Package Imports: Now imports functions from
terra
instead ofraster
. - calcWatBal Function: Returns a list containing a dataframe and a list of warnings related to any unrealistic or adjusted values in the input data or parameters.
- Wet Season Calendar (WSC) Parameters: Improved criteria for characterizing WSC parameters.
Version 1.0.0
[1.0.0] - 2024-09-04
Added
- Error Handling: Enhanced error handling and warnings for missing and unrealistic data.
- Consistency Check: Implemented checks to ensure that the maximum temperature is always greater than the minimum temperature.
- Documentation: Improved documentation for better clarity and completeness.
- Testing: Established a testing structure for the
calcEto
function usingtestthat
AquaBEHER
First beta test release.