Skip to content

Commit

Permalink
Merge branch 'dev' for release 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kuadrat committed May 22, 2024
2 parents 50ef5ad + 4906c60 commit 9c6e35c
Show file tree
Hide file tree
Showing 18 changed files with 863 additions and 487 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: growR
Type: Package
Version: 1.2.0
Version: 1.2.0.9005
Date: 2023-11-21
Authors@R: person(
given = "Kevin",
Expand Down
3 changes: 3 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ export(root_mean_squared)
export(run_parameter_scan)
export(set_growR_verbosity)
export(setup_directory)
export(start_of_growing_season)
export(start_of_growing_season_mtd)
export(weighted_temperature_sum)
export(willmott)
import(R6)
import(utils)
Expand Down
34 changes: 34 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,37 @@
# growR 1.2.0.9000

## Added

* Additional option for determination of growing season start is available
through `ModvegeSite$set_SGS_method. This comes with a different available
definition of the temperature sum and is reflected in the methods
`start_of_growing_season`, `start_of_growing_season_mtd`,
`weighted_temperature_sum`.

## Changed

* `j_start_of_growing_season` is written to output file headers.
* Output file header contains `cut_DOYs`.
* `growR_run_loop` allows use of previous year's state variables as initial
conditions for current year by means of the `independent` argument.
* `stubble_height` is now a parameter (i.e. a field of `ModvegeParameters`)
instead of a field of `MovegeSite`.
* Lower biomass limit is only applied after `ST2`.

## Fixed

* Window sizes in multicriterial thermal definition were incorrect.
* Calculation of `fAgeDR` was incorrect.
* Biomass is correctly updated after cuts.
* `dBM` can become negative, as it should.
* `fW` now uses correct threshold value of 3.8 instead of 3.81.
* Correction of AEv calculation.
* NULL value for simulations without cut_DOYs still produces a header in the
output file.
* Bug where error message was not printed correctly in case of missing
parameters.
* Biomass (BM, BMxx) was unaligned with biomass change (dBM, dBMxx).

# growR 1.2.0

## Added
Expand Down
Loading

0 comments on commit 9c6e35c

Please sign in to comment.