Skip to content

Commit

Permalink
Merge pull request #968 from bhutzell/sulfurTracking_v5.4_fixes
Browse files Browse the repository at this point in the history
Fix Sulfur Tracking Model (STM)
  • Loading branch information
fisidi authored Jul 7, 2023
2 parents 8d67a79 + 96a52f3 commit 1959200
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CCTM/src/aero/aero6/AERO_DATA.F
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,10 @@ Subroutine map_aero()
aso4emis_idx = findAero( req_so4emis, .True. )
aso4icbc_idx = findAero( req_so4icbc, .True. )
If ( ( ae6isoa ) .OR.
& ( Index( mechname, 'CRACMM1_' ) .Gt. 0 ) .OR.
& ( Index( mechname, 'CRACMM1AMORE_' ) .Gt. 0 ) .OR.
& ( Index( mechname, 'CB6R3_AE7' ) .Gt. 0 ) .OR.
& ( Index( mechname, 'CB6R5_AE7' ) .Gt. 0 ) .OR.
& ( Index( mechname, 'CB6R5M_AE7' ) .Gt. 0 ) ) Then
oso4_idx = findAero( req_oso4, .True. )
oso4aqh2o2_idx = findAero( req_oso4aqh2o2, .True. )
Expand Down
2 changes: 1 addition & 1 deletion CCTM/src/driver/sciproc.F
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ END SUBROUTINE SA_WRAP_AE
CALL SA_WRAP_AE( CGRID0, CGRID, JDATE, JTIME, TSTEP )
#endif
IF ( CKSUM ) CALL CKSUMMER ( 'AERO', CGRID, JDATE, JTIME )
IF ( BUDGET_DIAG .OR. LIPR ) CALL PA_UPDATE_AERO ( CGRID, SDATE, STIME )
IF ( STM ) CALL STM_WRAP_AE ( CGRID, JDATE, JTIME )
IF ( BUDGET_DIAG .OR. LIPR ) CALL PA_UPDATE_AERO ( CGRID, SDATE, STIME )
IF ( PRINT_PROC_TIME ) CALL TIMING_SPLIT ( CPU_TIME_START, 1, 'AERO' )

CALL NEXTIME ( JDATE, JTIME, TSTEP( 2 ) )
Expand Down
3 changes: 3 additions & 0 deletions CCTM/src/spcs/cgrid_spcs_nml/CGRID_SPCS.F
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,10 @@ function cgrid_spcs_init() result ( success )

If ( ( Index( mechname, 'SAPRC07TIC_AE6I' ) .Gt. 0 ) .OR.
& ( Index( mechname, 'SAPRC07TIC_AE7I' ) .Gt. 0 ) .OR.
& ( Index( mechname, 'CRACMM1_' ) .Gt. 0 ) .OR.
& ( Index( mechname, 'CRACMM1AMORE_' ) .Gt. 0 ) .OR.
& ( Index( mechname, 'CB6R3_AE7' ) .Gt. 0 ) .OR.
& ( Index( mechname, 'CB6R5_AE7' ) .Gt. 0 ) .OR.
& ( Index( mechname, 'CB6R5M_AE7' ) .Gt. 0 ) ) Then

ORGANOSULF = .TRUE.
Expand Down

0 comments on commit 1959200

Please sign in to comment.