Skip to content

Bayesian modelling of CH4 and N2O fluxes from Ränskälänkorpi clearcut one year after the harvest

License

Notifications You must be signed in to change notification settings

LukeEcomod/FI-Ran_GHG_2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproduce results of "Eddy-covariance fluxes of CO2, CH4 and N2O in a drained peatland forest after clear-cutting" by Tikkasalo et al.

The data that is needed to run the notebooks is in the data folder. To run model parameter estimation the inference data csvs are needed. The netcdf files and TA_soil_moisture_2022.csv are needed to reproduce Fig. 2 of the manuscript. The data does not include water table depth data or EC flux wind direction and for that matter the model comparison results cannot be reproduced.

To reproduce the modelled surface-type-specific flux estimates

  1. Create python virtual environment with requirements either from requirements.txt or from pyproject.toml e.g. on mac,
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
  1. Create folder "models"
  2. Check the prior selection is adequate at GHG_models_prior_selection.ipynb
  3. Fit statistical models for CH4 and N2O
  4. Run model comparison GHG_model_comparison_all.ipynb
  5. Run detailed model comparison for $\theta$ models GHG_model_comparison_theta.ipynb
  6. Run create_annual_predictions.ipynb to get model simulations for surface type specific fluxes and annual GHG budget
  7. Visualize the surface type specific fluxes and annual GHG budget GHG_st_T_response.ipynb
  8. Calculate annual GHG emission balance GHG_site_level_annual_flux.ipynb
  9. Visualize the measured fluxes plot_measured_flux_time_series.ipynb