ImperialCollegeLondon / virtual_ecosystem

This repository is the home for the codebase for the Virtual Ecosystem project.
https://virtual-ecosystem.readthedocs.io
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

Abiotic simple - atmospheric pressure and CO2 should only be filled for filled/true above ground layers #484

Open vgro opened 2 weeks ago

vgro commented 2 weeks ago

At the moment, atmospheric pressure and CO2 are copied from the reference value above the canopy to all above ground layers, including the layers that have no canopy.

The solution is the adjust the run_microclimate function so that it only fills for filled/true above ground layers.