We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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)
calc_nleach()
B_AER_CBS
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]
# 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]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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]
The text was updated successfully, but these errors were encountered: