There is a newer version of the record available.

Published June 12, 2023 | Version 0.1
Journal article Open

Carbon Dioxide Exchange in Complex Topography

Authors/Creators

  • 1. Department of Atmospheric and Cryospheric Sciences, University of Innsbruck, Austria

Description

Data and programs provided for the paper: "Carbon Dioxide Exchange in Complex Topography"

Here you can download programs and data to plot all the figures shown in "Carbon Dioxide Exchange in Complex Topography" and recreate the source code by using a .patch file.


For Fig. 1 and 2 can be created withou input data. 

  •  Fig_1_topo.m

Plots the idealized valley and the flat reference plain.

The output for Fig. 2 is based on the soubroutine "stomata" of the CLM module in WRF.

  • Fig_2a_Stomata_GPP_of_Temp.m
  • Fig_2b_Stomata_GPP_of_VPD.m
  • Fig_2c_Stomata_GPP_of_CO2.m

For Fig. 3 and 4 the raw output of one set of runs (valley and flat) of the ensemble ist stored in the folder "raw_WRF_output" for each PFT (hence one can plot 4 PFTs not just the two shown in the paper). In these folders you can also find initial soundings and namelists of these WRF runs.

  •  Fig_3_contour_CO2_and_Theta.m
  •  Fig_4_ridge_bottom_flat.m

For Fig. 5 to 9 the output of the ensemble simulations has around 1TB of data, hence only the plotted variables were extracted and were convertet in .mat files

  • extract_raw_to_mat.m

and are provided in Plot_Data.zip. To plot Fig. 5 to 9 use:

  • Fig5_6_9_scatter_plots_means_and_Table2.m
  • Fig_7_8_Ensemble_scatter_plots_Tref.m

 

Changes to the WRF code

All the changes of the WRF source code are documented in the file changes_WRF_CLM.patch. All changes which are specifically for CO2 exchange are marked with cmr (changes matthias reif), additionally there are changes from johannes wagner with the tag cjw, which define the topography and several other changes for diagnostics for LES simulations which do not affect the results. Tests have been made with LES and some of these diagnostic variables but were not relevant to the results.

To get the changes into the code, download WRF version 3.5 and insert the changes into the original code:

  •  patch -ruN -d WRFV3.5 < changes_WRF_CLM.patch

Files

Plot_Data.zip

Files (15.6 GB)

Name Size Download all
md5:92024e582a5ea13b915a955d535c40be
299.9 kB Download
md5:cb227e128fe6823d9c544153a11c252f
2.1 kB Download
md5:6f4fa0abfe000278c3d6c6f9ed73b214
1.9 kB Download
md5:f16938e8354fb7046f56c89c7c66ca54
17.8 kB Download
md5:d70f0e31555fabc26c8cea0185d9e3e7
17.9 kB Download
md5:1bbffee6905506d4be26be07c8e6af3e
10.4 kB Download
md5:c55246008133f6381c6681d03c5d8be8
16.0 kB Download
md5:41375074954ca05a65bae3eb43e08d82
6.9 kB Download
md5:63ef777ed7800f4f3ae449eee2f90fe6
10.4 kB Download
md5:f01c4ac7fdfaecca533dd77b73b16d87
24.8 kB Download
md5:d519e9ceb4c9c473103262f8bc6038bf
28.2 kB Download
md5:b78252e961116b868d9508901ccd3227
17.9 kB Download
md5:1350009223e608f3b9097469c8187ea4
13.7 GB Preview Download
md5:e634fdcb0156f14d4e76337f01007570
1.4 MB Preview Download
md5:0913fa40b970f844efc228a336daf27b
2.7 kB Download
md5:d7d9960605ce4a698aca0dc63b11e611
1.8 GB Preview Download
md5:101f2c4796c3e485c4f57b1dd033a2b1
1.8 kB Preview Download