@@ -1170,7 +1170,7 @@ subroutine SetServices ( GC, RC )
11701170 VERIFY_(STATUS)
11711171 ENDIF
11721172
1173- IF (DO_OBIO /= 0 ) THEN
1173+ IF (DO_OBIO /= 0 ) THEN
11741174 call MAPL_AddConnectivity ( GC, &
11751175 SHORT_NAME = (/ ' DROBIO' , ' DFOBIO' / ), &
11761176 SRC_ID = RAD, &
@@ -1215,8 +1215,8 @@ subroutine SetServices ( GC, RC )
12151215 call MAPL_AddConnectivity ( GC, &
12161216 SHORT_NAME = (/ ' RL ' , ' QL ' , ' QLTOT ' , ' DQLDT ' , &
12171217 ' RI ' , ' QI ' , ' QITOT ' , ' DQIDT ' , &
1218- ' QLCN ' , ' PFL_CN ' , ' PFL_LSAN' , &
1219- ' QICN ' , ' PFI_CN ' , ' PFI_LSAN' , &
1218+ ' QLCN ' , ' PFL_CN ' , ' PFL_LSAN' , ' ZLCL ' , &
1219+ ' QICN ' , ' PFI_CN ' , ' PFI_LSAN' , ' ZLFC ' , &
12201220 ' FCLD ' , ' QCTOT ' , ' CNV_QC ' , &
12211221 ' REV_LS ' , ' REV_AN ' , ' REV_CN ' , ' TPREC ' , &
12221222 ' Q ' , ' DQDT ' , ' DQRL ' , ' DQRC ' , &
@@ -1245,7 +1245,7 @@ subroutine SetServices ( GC, RC )
12451245
12461246 call MAPL_AddConnectivity ( GC, &
12471247 SHORT_NAME = (/ ' LWI ' , ' FRLAND ' , ' FRLANDICE' , &
1248- ' FROCEAN ' , ' FRLAKE ' , ' WET1 ' , &
1248+ ' FROCEAN ' , ' FRLAKE ' , &
12491249 ' GRN ' , ' USTAR ' , ' U10M ' , &
12501250 ' V10M ' , ' SH ' , ' Z0H ' , &
12511251 ' LAI ' , ' TSOIL1 ' , ' FRACI ' , &
@@ -1262,6 +1262,18 @@ subroutine SetServices ( GC, RC )
12621262 RC= STATUS )
12631263 VERIFY_(STATUS)
12641264
1265+ ! NOTE: GOCART's dust code expects WET1 to have all the cells with MAPL_UNDEF
1266+ ! (aka not land) to be replaced with 1.0. We want WET1 to have
1267+ ! MAPL_UNDEF over non-land points, so we need a separate export to pass
1268+ ! to GOCART which is WET1 with all non-land points set to 1.0.
1269+ call MAPL_AddConnectivity ( GC, &
1270+ SRC_NAME = [ ' WET1_FOR_CHEM' ], &
1271+ SRC_ID = SURF, &
1272+ DST_NAME = [ ' WET1' ], &
1273+ DST_ID = CHEM, &
1274+ RC= STATUS )
1275+ VERIFY_(STATUS)
1276+
12651277 if (DO_CO2CNNEE == 1 ) then
12661278 call MAPL_AddConnectivity ( GC, &
12671279 SHORT_NAME = (/ ' CNNEE' / ), &
@@ -1432,7 +1444,7 @@ subroutine SetServices ( GC, RC )
14321444 CHILD = TURBL, &
14331445 RC= STATUS )
14341446 VERIFY_(STATUS)
1435- endif
1447+ endif
14361448
14371449 call MAPL_TerminateImport ( GC, &
14381450 SHORT_NAME = (/ ' TR ' ,' TRG' ,' DTG' / ), &
@@ -1981,10 +1993,10 @@ subroutine Initialize ( GC, IMPORT, EXPORT, CLOCK, RC )
19811993! The original 3D increments:
19821994
19831995 call Initialize_IncBundle_init(GC, GIM(MOIST), EXPORT, MTRIinc, __RC__)
1984-
1996+
19851997#ifdef PRINT_STATES
19861998 call ESMF_StateGet(EXPORT, ' MTRI' , iBUNDLE, rc= STATUS)
1987- VERIFY_(STATUS)
1999+ VERIFY_(STATUS)
19882000
19892001 call WRITE_PARALLEL ( trim (Iam)// " : MTRI - Convective Transport and Scavenging 3D Tendency Bundle" )
19902002 if ( MAPL_am_I_root() ) call ESMF_FieldBundlePrint ( iBUNDLE, rc= STATUS )
@@ -1996,7 +2008,7 @@ subroutine Initialize ( GC, IMPORT, EXPORT, CLOCK, RC )
19962008
19972009#ifdef PRINT_STATES
19982010 call ESMF_StateGet(EXPORT, ' MCHEMTRI' , iBUNDLE, rc= STATUS)
1999- VERIFY_(STATUS)
2011+ VERIFY_(STATUS)
20002012
20012013 call WRITE_PARALLEL ( trim (Iam)// " : MCHEMTRI - Convective Transport and Scavenging 2D Tendency Bundle" )
20022014 if ( MAPL_am_I_root() ) call ESMF_FieldBundlePrint ( iBUNDLE, rc= STATUS )
0 commit comments