Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calc_nleach() uses wrong topography in determining N use norms #174

Open
BrentWHR opened this issue Dec 9, 2022 · 0 comments
Open

Calc_nleach() uses wrong topography in determining N use norms #174

BrentWHR opened this issue Dec 9, 2022 · 0 comments

Comments

@BrentWHR
Copy link
Contributor

BrentWHR commented Dec 9, 2022

In calc_nleach(), B_AER_CBS is used to determine the effective N dose (N-gebruiksnorm). This is wrong as the N-use norms are determined by province, not per statistical region (https://www.rvo.nl/sites/default/files/2018/03/Tabel-1-Stikstofgebruiksnormen-2018.pdf)

Relevant code:
# select the allowed effective N dose (in Dutch: N-gebruiksnorm), being dependent on soil type and region sand.south <- c('Zuid-Limburg','Zuidelijk Veehouderijgebied','Zuidwest-Brabant') dt[grepl('zand|dal',B_SOILTYPE_AGR), n_eff := nf_sand.other] dt[grepl('zand|dal',B_SOILTYPE_AGR) & B_AER_CBS %in% sand.south, n_eff := nf_sand.south] dt[grepl('klei',B_SOILTYPE_AGR), n_eff := nf_clay] dt[grepl('veen',B_SOILTYPE_AGR), n_eff := nf_peat] dt[grepl('loess',B_SOILTYPE_AGR), n_eff := nf_loess]

@BrentWHR BrentWHR added invalid This doesn't seem right and removed invalid This doesn't seem right labels Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant