The main codes for the desert biological soil crusts model. The work is publihsed in Biogeosciences with the title "Hydration status and diurnal trophic interactions shape microbial community function in desert biocrusts" [1].
To excute the main function (Main_BSC_biogeoscience.m), you need four input arguments;
- Time for the dynamics (examineDays)
- matric potentail for unsaturated soils (pot1, with the unit of [-kPa])
- time interval for output (plottt, with the unit of mins.)
- index for ensemble averages (indexS, any integer to indicate a simulation) For example, to get the results of 5 days of simulation with output for every 5 mins at the matric potential of -3kPa, you excute in Matlab
examineDay = 5;
pot1 = 3;
plottt = 5;
indexS = 0;
Main_BSC_biogeoscience(examineDay, pot1, plottt, indexS)
The main code include mex files that are complied for Mac and Linux systems.
[1] Kim, M. and Or, D.: Hydration status and diurnal trophic interactions shape microbial community function in desert biocrusts, Biogeosciences, 14, 5403-5424, https://doi.org/10.5194/bg-14-5403-2017, 2017.