Skip to content

Releases: DrylandEcology/SOILWAT2

v4.2.3

27 Apr 19:27
be70baf
Compare
Choose a tag to compare
  • improved handling of edge cases in pedotransfer function SW_SWCbulk2SWPmatric

  • inputs are checked that: soil layer width > 0; theta(saturated) is > 0

  • improved unit tests

v4.2.2

26 Apr 18:26
9c04f25
Compare
Choose a tag to compare

More carefully setting up unit test MainSoilTemperatureFunction_LyrMAX

  • keep soil bulk density fixed, SWC(wilting point), SWC(field capacity), SWC(saturation) fixed and physically well defined

  • only set SWC by a uniform random number and keep it between field capacity and wilting point

  • new script many_test_runs.sh to repeatedly run unit tests

v4.2.1

28 Nov 20:40
176ec18
Compare
Choose a tag to compare
  • Fix value of SW_NFILES

v4.2.0

07 Oct 23:16
Compare
Choose a tag to compare
  • Random numbers now generated using the PCG pseudo-random number generator.
  • This RNG allows multiple streams. The Markov weather generator is on its own stream so no other functions requesting random numbers can change the weather.
  • Unit tests ensure the pcg rng works correctly.
  • Two new functions added: RandUniIntRange(first, last) returns an integer between first and last (inclusive) and RandUniFloatRange(first, last) returns a float between first and last (inclusive)

v4.1.4

15 Aug 19:25
0a39a8d
Compare
Choose a tag to compare
  • Fix covariance value checks in Markov weather generator

v4.1.3

17 Jul 13:37
6684d64
Compare
Choose a tag to compare

Better compilation and use in rSOILWAT2

we have three documented and suppressed/ignored problems:

  • memory leak (use of a suppression file): #205
  • compile warning #208: treating c input as c++
  • compile warning #214: variable array length

v4.1.2

12 Jul 00:35
d90151f
Compare
Choose a tag to compare
  • adjustments so that the clang compiler works
  • set submodule googletest to specific commit
  • specify specific warnings in the makefile to be ignored (instead of propagated to errors)
  • more consistent CI across compilers on travis

v4.1.1

09 Jul 18:58
20cf67e
Compare
Choose a tag to compare
  • clean memory in function Reset_SOILWAT2_after_UnitTest for unit testing

v4.1.0

03 Jul 16:19
a8e771a
Compare
Choose a tag to compare

Fix and re-organize output functionality across SOILWAT2-standalone, rSOILWAT2, and STEPWAT2

v4.0.4

03 Jul 15:50
5acee9e
Compare
Choose a tag to compare
  • Fix some (potential) indexing issues in soil temperature functionality and its unit tests
  • Stricter compile flags for running tests