Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.
/ soil-cos-model Public archive

A model to simulate soil COS flux (legacy code)

License

Notifications You must be signed in to change notification settings

wusunlab/soil-cos-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Soil carbonyl sulfide flux model [archived]

Wu Sun ([email protected])

Overview | Usage | License | Documentation | Issues | Citation

Overview

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.

Usage

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.

License

MIT License

Documentation

There is no documentation (like most academic code), alas. Please consult the publication Sun et al. (2015).

Issues

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.

Citation

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