Skip to main content

Advertisement

Log in

Mapping specific groundwater vulnerability to nitrate using random forest: case of Sais basin, Morocco

  • Original Article
  • Published:
Modeling Earth Systems and Environment Aims and scope Submit manuscript

Abstract

The objective of this study was to assess the groundwater vulnerability to nitrate (NO3) pollution in the Sais basin, based on the drinking threshold (50 mg/L), using the random forest (RF) model. A spatial dataset consists of the nitrate concentrations observed in 154 water samples and 14 explanatory variables was considered in this research. These variables are rainfall, texture (sand, silt, and clay), lithology, organic matter, piezometric level, altitude, land use, calcium carbonate (CaCO3), carbon/nitrogen ratio (C/N), slope, hydraulic gradient, and soil classification. 80% of the dataset was randomly selected for training and validation, and the remaining 20% for testing the RF model. The RF model was validated and tested using out-of-bag (OOB) error and receiver operating characteristic (ROC) curve. The error computed and the area under the curve for success rate were 0.11 and 82.2%, respectively. In addition, the RF result revealed that rainfall, sand content, clay content, piezometric level, organic matter, and lithology are the key factors determining groundwater vulnerability to NO3 in the Sais basin. However, using only these most important factors as RF inputs, the prediction accuracy was found to be slightly similar to that obtained using all variables. The groundwater vulnerability maps were created using the groundwater vulnerability indexes predicted. The most reliable groundwater vulnerability maps to NO3 showed that about 48 and 63% of the surface area of the basin are under high to very high vulnerability level, using all and most important explanatory variables, respectively. This study serves to determine the most vulnerable areas and to identify the factors affecting NO3 pollution in the Sais basin, to properly control and protect groundwater.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13

Similar content being viewed by others

References

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Abdelhakim Lahjouj.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Lahjouj, A., El Hmaidi, A., Bouhafa, K. et al. Mapping specific groundwater vulnerability to nitrate using random forest: case of Sais basin, Morocco. Model. Earth Syst. Environ. 6, 1451–1466 (2020). https://doi.org/10.1007/s40808-020-00761-6

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s40808-020-00761-6

Keywords

Navigation