8.4 Code
The calculations for methane oxidation and photolysis of water vapour are performed in subroutine METHOX.
This routine calculates the tendency of water vapour due to methane oxidation and due to photolysis following (8.8). The order of the calculations is as follows:
- find time-scale for methane oxidation following (8.6)
- solve first part of (8.8)
- find time-scale for water vapour photolysis following (8.10)
- solve second part of (8.8)
The setup of the constants used in METHOX is performed in SUMETHOX which is called from SUPHEC. The constants are kept in module YOEMETH. The controlling switch for the methane oxidation is LEMETHOX which is part of namelist NAEPHY.