Skip to content

Releases: nmi-agro/Open-Bodem-Index-Calculator

v4.2.3

11 Feb 16:01
41e2366

Choose a tag to compare

Changed

  • Rename organization of repo to nmi-agro

v4.2.2

03 Feb 07:54
55459bb

Choose a tag to compare

What's Changed

Version 4.2.1

30 Jan 13:26
eea4657

Choose a tag to compare

Added

  • Adds GitHub action to check the package on R-hub

Fixed

  • Fixes external link at obic_water_functions

Version 4.2.0

18 Dec 10:04
f42dd9b

Choose a tag to compare

What's Changed

Added

  • Function ind_gw_target() to modify I_H_GWR (renamed to I_E_GWR) with a correction factor based on
    soiltype and groundwaterclass akin to the groundwaterrecharge score from BBWPC.

Changed

  • Argument useClassicOBI is added to obi_field(), obi_field_dt(), and obi_farm().
    This argument defaults to TRUE, when TRUE, only agronomic indicators are calculated
    and aggregated. When FALSE, water-related indicators (groundwater recharge,
    pesticide leaching, and nitrogen use efficiency in relation to groundwater
    and surface water) are included in the environmental score and subsequently in
    the total score.
  • When useClassicOBI = FALSE, indicators for water quality and quantity (
    I_E_GW_NLEA, I_E_SW_NLEA, I_E_PEST, and I_E_GWR) are included in the
    calculation of S_E_OBI_A.
  • B_DRAIN no longer has a default value and must be supplied when useClassicOBI = FALSE
  • M_GREEN is set to TRUE for potato and maize on sandy soils by add_management(). This
    means that M_GREEN is overwritten for such cultivations when using one of the wrapper
    functions.
  • renamed I_H_NGW to I_E_GW_NLEA
  • renamed I_H_NSW to I_E_SW_NLEA
  • renamed I_H_PEST to I_E_PEST
  • renamed I_H_GWR to I_E_GWR
  • renamed I_E_NGW to I_E_GW_NRET, I_E_NGW is still part of the obic_field() and
    obic_farm() outputs but its use is deprecated, switch over to I_E_GW_NRET
  • renamed I_E_NSW to I_E_SW_NRET, I_E_NSW is still part of the obic_field() and
    obic_farm() outputs but its use is deprecated, switch over to I_E_SW_NRET
  • calc_psp() no longer changes makkink factors for specific months in a rotation.
    Instead, makkink factors are adjusted within a single year. For example, if in 2015
    potato is grown followed by a green manure and grassland in 2016, the makkink factors
    in 2015 for months 1,2 3, 10, 11, and 12 are set to 0.6 (even tough the green manure
    partially grows in 2016). One can now indicate in which months a green manure is
    grown, default is from 10 up to and including 3. Lastly, the makkink factor for green
    manure is only set to 0.6, and only when this is higher than the non-green manure
    factor. The makkink factor for month 10 used to be 0.74
  • Introduced argument B_AREA_DROUGHT for obic_field() and as possible column in
    obic_field_dt() and obic_farm(). This argument is passed on to ind_gw_recharge()
    which is only called when useClassicOBI == FALSE. When B_AREA_DROUGHT is missing
    but required, it is assigned a value in by obic_field() based on B_SOILTYPE_AGR
    and B_AER_CBS whilst raising a warning.

Fixed

  • B_FERT_NORM_FR and B_DRAIN can now be supplied when using obic_field_dt() or
    obic_farm(). The value is set to 1 when not supplied.

OBIC 4.1.0 2025-08-04

Added

  • BRP crop codes for 2025: 7137, 7138, 7135, 7134

Version 4.0.0

30 Jul 08:35
15d0e1c

Choose a tag to compare

What's Changed

BREAKING CHANGES

Changed

  • the format of groundwater class values (B_GWL_CLASS) that are accepted by OBIC
    functions and recorded in OBIC tables. Acceptable input values for B_GWL_CLASS are now:
    "I", "Ia", "Ic", "II", "IIa", "IIb", "IIc", "III", "IIIa", "IIIb", "IV",
    "IVc", "IVu", "sV", "sVb", "V", "Va", "Vad", "Vao", "Vb", "Vbd", "Vbo", "VI",
    "VId", "VII", "VIId", "VIII", "VIIId", "VIIIo", "VIIo", "VIo".
  • OBIC no longer supports B_GWL_CLASS value "-". For fields with groundwater class "-", the user is advised to use expert judgment on
    what the most suitable groundwater class is. Fields with "-" are typically found
    in locations with very variable or very deep groundwater levels such as flood plains
    or hills.
  • In the table nleach_table, column B_GT is renamed B_GWL_CLASS for consistency.
    The values in this column have also been modified to no longer have the prefix "Gt"
    to align with the rest of the package.
  • In the table waterstress.obic, column gt is renamed B_GWL_CLASS for consistency.
    The values in this column have also been modified to no longer have the prefix "Gt"
    to align with the rest of the package.

Added

  • The table waterstress.obic now supports more groundwaterclasses. Classes such as
    IIIb are now included in waterstress.obic$B_GWL_CLASS. The new classes with
    prefixes and suffixes have the same values as rows with the same roman numeral.
    So, with the same cropname and soilunit, III and IIIb have the same values for
    the different stresses.
  • additional B_GWL_CLASS values to nleach_table ("Ia", "Ic", "IIa", "IIc", "IIIa",
    "IVu", "IVc", "Va", "Vao", "Vad", "Vbo", "Vbd", "sV", "sVb", "VIo", "VId", "VIIo", "VIId", "VIIIo", "VIIId")

Removed

  • function format_gwt(). OBIC now supports groundwater classes with prefixes and suffixes.
    For fields with groundwater class "-", the user is advised to use expert judgment on
    what the most suitable groundwater class is. Fields with "-" are typically found
    in locations with very variable or very deep groundwater levels such as flood plains
    or hills.

Version 3.0.3

10 Sep 07:11
608bbac

Choose a tag to compare

OBIC 3.0.3 2024-08-12

Added

  • Adds the new cultivations from 2024 [PL-33]

Version 3.0.2

05 Mar 12:55
636a586

Choose a tag to compare

Fixed

  • Fixes error in validation of B_LU_BRP by enabling calculations with brp codes of 2023 [OBI-28]
  • Fixes classification of grasland met/zonder herinzaai in crops.obic

Changed

  • B_LU_WATERSTRESS_OBIC of 265 (grasland blijvend), 331, and 3718 from 'grasland met herinzaai' to 'grasland zonder herinzaai' in crops.obic

Removed

  • Removes urls to bodemconsult.nl due to invalid SSL certificate, which is not accepted by CRAN

Version 2.0.4

11 Jan 13:22
50ef0c2

Choose a tag to compare

Fixed

  • Fixes calculation of field capacity at calc_waterretention

Version 2.0.3

11 Jan 11:40
4b97216

Choose a tag to compare

Fixed

Fixes plotting of regime curve in workability vignette #149

Version 2.0.1

13 Apr 07:16
6618d32

Choose a tag to compare

Changed

  • The function ind_sulpher is renamed to ind_sulfur in documentation

Added

  • all functions are extended with examples and return

Changed

  • standardize output variables of pedotransfer parameters Wosten

Fixed

  • Fixes many spelling errors in the documentation
  • Set title in decription to title case
  • Fix links to external websites
  • Fix duplicated indicator in recom.obic (in dev/ppr_maatregel.r), issue #164
  • Fix setorder after merge in calc_n_effieciency
  • Fix setorder after merge in calc_som_balance

Removed

  • Removes /docs as the documentation website is now automatically generated by GitHub Actions

Deprecated

  • The function ind_sulpher is deprecated due to renaming