Skip to content

Commit

Permalink
Add bug fix for saving offline biogenic emissions to bpch
Browse files Browse the repository at this point in the history
The HEMCO category number was incorrect in hcoi_gc_diagn_mod.F90 for the
offline biogenic emissions, resulting in zero values being saved out to
bpch. This is now fixed by changing CATEGORY_NATURAL to CATEGORY_BIOGENIC.

Signed-off-by: Melissa Sulprizio <[email protected]>
  • Loading branch information
msulprizio committed Jul 11, 2019
1 parent 93e8ad8 commit 1a86673
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions GeosCore/hcoi_gc_diagn_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3898,7 +3898,7 @@ SUBROUTINE Diagn_Biogenic( am_I_Root, Input_Opt, HcoState, ExtState, RC )
ELSE
! Use offline biogenic emissions
ExtNr = 0
Cat = CATEGORY_NATURAL
Cat = CATEGORY_BIOGENIC
ENDIF

#if ! defined ( TOMAS )
Expand Down Expand Up @@ -4244,7 +4244,7 @@ SUBROUTINE Diagn_Biogenic( am_I_Root, Input_Opt, HcoState, ExtState, RC )
ELSE
! Use offline biogenic emissions
ExtNr = 0
Cat = CATEGORY_NATURAL
Cat = CATEGORY_BIOGENIC
ENDIF

!%%% For ND46 diagnostic %%%
Expand Down Expand Up @@ -4453,7 +4453,7 @@ SUBROUTINE Diagn_Biogenic( am_I_Root, Input_Opt, HcoState, ExtState, RC )
HcoState = HcoState, &
cName = TRIM( DiagnName ), &
ExtNr = ExtNr, &
Cat = CATEGORY_BIOGENIC, &
Cat = CATEGORY_NATURAL, &
Hier = -1, &
HcoID = HcoID, &
SpaceDim = 2, &
Expand All @@ -4480,7 +4480,7 @@ SUBROUTINE Diagn_Biogenic( am_I_Root, Input_Opt, HcoState, ExtState, RC )
HcoState = HcoState, &
cName = TRIM( DiagnName ), &
ExtNr = ExtNr, &
Cat = CATEGORY_BIOGENIC, &
Cat = CATEGORY_NATURAL, &
Hier = -1, &
HcoID = HcoID, &
SpaceDim = 2, &
Expand Down

0 comments on commit 1a86673

Please sign in to comment.