Skip to content

Commit

Permalink
Add more updates from GEOS-Chem 12.7.0
Browse files Browse the repository at this point in the history
Add methanol emission updates from Xin Chen (UMN).

Update MEGAN extension from .F to .F90. Also add the following updates:

    1. Update initialization phase to not define certain species (ISOP, ACET,
       ALD2, C2H4, LIMO, MTPA, MTPO, PRPE, SESQ, SOAP, SOAS, EOH) when the
       OFFLINE_BIOGENICVOC option is turned on in HEMCO_Config.rc. This will
       allow use of offline biogenic VOC emissions for those species and online
       MEGAN emissions will be used for the rest of the species. Right now, just
       MOH from MEGAN will be fed back into the model and the remaining
       monoterpene species, methyl butenol, formic acid, and acetic acid will
       be used for diagnostic purposes only.

    2. Remove support for MEGAN_Mono extension and just use MEGAN extension.
       Monoterpenes are now fully implemented in all full-chemistry simulations
       and emissions for those species should always be turned on when using
       MEGAN. This also avoids confusion having two extensions within a single
       extension module.

    3. Add manual diagnostics for several monoterpene species, methyl butenol,
       formic acid, acetic acid so that they can be saved out via HEMCO_Diagn.rc.
       These manual diagnostics were formally defined in GeosCore/hcoi_gc_diagn_mod.F90
       for saving out to BPCH but were removed with BPCH removal.

    4. Move FLUX* arrays to extension instance

    5. Clean up revision history comments and remove obsolete and unused code.

Signed-off-by: Melissa Sulprizio <[email protected]>
  • Loading branch information
msulprizio committed Jan 13, 2020
1 parent 4b56f78 commit 3897f4c
Show file tree
Hide file tree
Showing 9 changed files with 5,246 additions and 5,154 deletions.
246 changes: 159 additions & 87 deletions run/HEMCO_Config.template

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
add_subdirectory(Core)
add_subdirectory(Extensions)
add_subdirectory(Interfaces)

2 changes: 1 addition & 1 deletion src/Core/hco_config_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3678,7 +3678,7 @@ SUBROUTINE Get_cID( ScalID, HcoConfig, cID, RC )
IF ( cID <= 0 ) THEN
WRITE ( strID, * ) ScalID
MSG = 'Cannot find ScalID' // TRIM(strID)
PRINT *,'cID negative for in HEMCO Get_cID'
PRINT *,'cID negative in HEMCO Get_cID'
PRINT *, TRIM(MSG)
RETURN
ENDIF
Expand Down
2 changes: 1 addition & 1 deletion src/Extensions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ add_library(HCOX STATIC EXCLUDE_FROM_ALL
hcox_gfed_mod.F90
hcox_iodine_mod.F90
hcox_lightnox_mod.F90
hcox_megan_mod.F
hcox_megan_mod.F90
hcox_paranox_mod.F90
hcox_seaflux_mod.F90
hcox_seasalt_mod.F90
Expand Down
2 changes: 1 addition & 1 deletion src/Extensions/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ hcox_lightnox_mod.o : hcox_lightnox_mod.F90 \
hcox_state_mod.o \
hcox_tools_mod.o

hcox_megan_mod.o : hcox_megan_mod.F \
hcox_megan_mod.o : hcox_megan_mod.F90 \
hcox_state_mod.o

hcox_paranox_mod.o : hcox_paranox_mod.F90 \
Expand Down
3 changes: 2 additions & 1 deletion src/Extensions/hcox_gfed_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ MODULE HCOX_GFED_MOD
! N_SPEC : Max. number of species
!=================================================================
INTEGER, PARAMETER :: N_EMFAC = 6
INTEGER, PARAMETER :: N_SPEC = 34
INTEGER, PARAMETER :: N_SPEC = 35 ! increase from 34 (v12.5.0 default)
! to 35 for MOH
!
! !PRIVATE TYPES:
!
Expand Down
5,062 changes: 0 additions & 5,062 deletions src/Extensions/hcox_megan_mod.F

This file was deleted.

Loading

0 comments on commit 3897f4c

Please sign in to comment.