Bug fixes

  • fixed problem in parameter replacement multirun-permutations #65

Bug fixes

  • fixed R CMD check Warnings due to non-portable use of kind

Changes

  • Moved input checks for missing values from R to Fortran model code

Bug fixes

  • Major bug fixed concerning the calculation of global radiation from sunshine duration hours (see issue #65)
  • small bug concerning aggregation of output variables in BudgMon and BudgAnn using miscellaneous function process_output_LWFB90()

Changes

  • default root-growth-period parameter (rgroper) was set to 0, to prevent root growth. The parameter defines the period during which the final root length density distribution is reached. The user now needs to actively switch on root growth by choosing a value > 0. It as advised to carefully investigate layer-wise root water uptake (tran) when using the root growth module for young stands.

Bug fixes

  • Installation error on single core machines because of a failed vignette build

Changes (potentially breaking)

Basic output is now at the precipitation interval level:

  • With options_b90$prec_interval > 1, the output of run_LWFB90() now contains one row for each day and precipitation interval of the simulation.
  • Nothing changes with daily precipitation input (options_b90$prec_interval = 1).
  • Irrespective of the precipitation interval, the unit of water and vapour fluxes is mm/d.
  • With respect to precipitation interval output, the list item daily_output of the return was renamed to output.
  • Removed output-argument and exported the function process_outputs_LWFB90() that does the job.
  • New variable added to output: sthr.
  • Removed redundant variable slvp from layer_output (soil evaporation).
  • Removed variable psiti from layer_output (total potential of soil layer): can be calculated by summing the layers’ matrix potententials (psimi) and the gravity potentials at the soil layers’ midpoints.

Documentation

  • Vignettes split up into smaller articles

Bug fixes

  • Installation error on single core machines because of a failed test with run_multisite_LWFB90() (Thanks to Henrik Bengtsson)

Changes

  • new daily output variables: daily solar (slrad), net solar (solnet), net longwave (lngnet) and net radiation above (aa) and below canopy (asubs).

Bug fixes

  • make_rootden() with method = 'betamodel' led to negative root density of the top layer when specified maxrootdepth was lower than soil depth.
  • no more errors when using sub-daily precipitation input
  • typo in hydpar_wessolek_tab() caused NAs in return for texture = 'fSms'
  • soil_to_param(): some unique soil materials were omitted in the return, if they had multiple occurences in the input soil-data.frame.
  • Fixed LTO installation warning on Fedora Linux
  • Minor changes to fulfill CRAN publication requirements

Bug fixes

  • run_LWFB90():
    • options_b90$root_method = 'table' gave an error in make_rootden() because of a wrong argument name.
  • Fixed bad URLs in documentation

Changes

  • Minor changes to fulfill CRAN publication requirements

Changes (potentially breaking)

  • arguments and functions were renamed for consistency.
  • result datasets are now returned directly by the Fortran model code, without the detour of writing .ASC output text files and reading them back into workspace.
  • run time output to the console was disabled, only messages are printed when verbose = T.
  • run_LWFB90() (before runLWFB90()):
    • without specification of an output selection matrix via output, two tables including all available output variables are returned: general daily outputs and layer outputs. A proper description of model output variables was added to the help pages.
    • all column names of the .ASC output objects (as selected via output) are now in lower case.
    • it is now possible to provide a function as climate-argument, instead of a data.frame.
    • an execution time limit (elapsed time) can be set to prevent simulations from running too long.
  • run_multisite_LWFB90() (before msiterunLWFB90()):
    • It is now possible to provide individual param_b90 (before param.b90) input parameter objects for individual climate/soil combinations (i.e. individual locations). The option to provide a list of options_b90 (before options.b90) input objects was disabled.
    • Instead of a list of climate-data.frames for a multisite-simulation, a function can be provided for on-the-fly creation of climate-data.frames. Arguments for the function have to specified via the new climate_args-argument of run_multisite_LWFB90().
    • Names of current climate, soil and param_b90 objects are automatically passed from run_multisite_LWFB90() to run_LWFB90() and thus become available to output_fun.
  • renamed some of the pedotransfer functions and reorganized the documentation for it. See ?ptfs.
  • switched run_multisite_LWFB90() and run_multi_LWFB90() from superseded packages ‘snow’ and ‘doSNOW’ to ‘future’, ‘doFuture’ and ‘progressr’ for parallel computation and progress reporting thereof. Pacifies a check note and is more future-proof (thanks @rnuske).

Changes

  • Adjusted ‘table’-method in MakeRelRootDens(): The root depth distribution provided in a table is now redistributed to the soil nodes under preservation of the total root mass.
  • Input changed for ‘soilnodes’-argument of MakeRelRootDens(). See ?MakeRelRootDens.

Bug fixes

  • zero division error causing infinite relawat values in MISCDAY.ASC-output item.
  • ‘betamodel’-method of MakeRelRootDens() returned the increment of the cumulative root proportion at the soil nodes, instead of the relative root density, which actually is the former value divided by the layer thickness.

Changes

  • new function msiterunLWFB90()
  • runLWFB90(): model input (param.b90, options.b90, standprop_daily) is appended to the return value before evaluating the output_fun-argument. In this way, on-the-fly post-processing of model results including model-input is possible now.
  • minor bugs fixed

Changes

  • output_fun argument replaces gof_fun-argument in runLWFB90() for more flexible output.
  • minor bugs fixed
  • First beta release: most functionality was taken from brook90r. However, functions and arguments were renamed, and a lot of functionality was added.