This repository contains the code used for the analysis in the paper:
Zhang et al. Global patterns and controls of top- and subsoil organic carbon turnover times (in revision).
- Python3
- numpy
- pandas
- scipy
- scikit-learn
- cartopy
- xarray
- rioxarray
- seaborn
- matplotlib
- jupyterlab
- sample_data_processing: The folder contains codes for preprocess the original soil sample datasets (WoSIS and NCSCD data). The procedure includes data screening, cleaning and transformation/complement.
- covariate_collection: The folder contains codes for collecting environmental covariate data from Google Earth Engine. The covariates mainly include four categories: climate, topography, soil physical and chemical properties.
- modelling: The folder contains codes for generating the machine learning model to predictive mapping of the global SOC turnover time, and includes the understanding the environmental effects (controlling factors) on the SOC turnover.
- mapping_and_uncertainty: The folder contains codes for visualize the global maps of SOC turnover times at top- and subsoil layers with their distribution of estimation uncertainty. It also contains codes for illustrating the key results in this study.
- datasets: The folder contains the data (includes the open access soil profile datasets, environmental covariate data derived from ground-sourced and satelliate-based observations, and the compiled SOC turnover time data at sample locations across the globe) for the analysis in this study.
The code and data shared in this study by Lei Zhang are licensed under CC BY-NC 4.0
For questions and more details of our study please contact the author: Lei Zhang 张磊 ([email protected])
Lei Zhang's Homepage