Wu Sun (wusun@protonmail.com)
Overview | Usage | License | Documentation | Issues | Citation
This repository stores legacy code of a model that simulates soil-atmosphere flux of carbonyl sulfide (COS) — an exotic trace gas that is of interest to sulfur cycling and ecosystem photosynthesis studies (Whelan et al., 2018). The model solves a 1D diffusion–reaction equation of COS in the soil column. Details of the model structure have been described in Sun et al. (2015). A case of model application is demonstrated in Sun et al. (2016).
There are two implementation of the model, one in IDL (a proprietary high-level
scripting language), the other in Python 3. The Python 3 version is the more
updated version and to it requires numpy
, scipy
, and matplotlib
to run.
Warning: The coding style of the Python version does not adhere to the PEP8 standard. Moreover, some scripts lack documentation and have not been sufficiently tested. Use with caution.
Since the model is provided as scripts not a package, you can just clone this git repository
git clone https://github.com/wusunlab/soil-cos-model.git
The IDL version is in src/IDL
, whereas the Python version is in src/python
.
There is no documentation (like most academic code), alas. Please consult the publication Sun et al. (2015).
Development has been discontinued as of 2016. I would not be able to provide further maintenance or support. However, a new framework is currently being developed to run in land biosphere models.
If the model is of use to your research and does not crash your computer, consider citing our work:
Sun, W., Maseyk, K., Lett, C., and Seibt, U. (2015). A soil diffusion–reaction model for surface COS flux: COSSM v1. Geosci. Model Dev., 8, 3055–3070. https://doi.org/10.5194/gmd-8-3055-2015