Skip to content

Commit 4e81771

Browse files
authored
Merge pull request #928 from GEOS-ESM/develop
2 parents c13beff + db55c30 commit 4e81771

File tree

9 files changed

+156
-78
lines changed

9 files changed

+156
-78
lines changed

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSmoist_GridComp/GEOS_BACM_1M_InterfaceMod.F90

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,15 @@ subroutine BACM_1M_Run (GC, IMPORT, EXPORT, CLOCK, RC)
821821
endif
822822
endif
823823

824+
call MAPL_GetPointer(EXPORT, PTR3D, 'QRTOT', RC=STATUS); VERIFY_(STATUS)
825+
if (associated(PTR3D)) PTR3D = RAD_QR*RAD_CF
826+
827+
call MAPL_GetPointer(EXPORT, PTR3D, 'QSTOT', RC=STATUS); VERIFY_(STATUS)
828+
if (associated(PTR3D)) PTR3D = RAD_QS*RAD_CF
829+
830+
call MAPL_GetPointer(EXPORT, PTR3D, 'QGTOT', RC=STATUS); VERIFY_(STATUS)
831+
if (associated(PTR3D)) PTR3D = RAD_QG*RAD_CF
832+
824833
call MAPL_TimerOff (MAPL,"--BACM_1M")
825834

826835
end subroutine BACM_1M_Run

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSmoist_GridComp/GEOS_GFDL_1M_InterfaceMod.F90

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -962,6 +962,15 @@ subroutine GFDL_1M_Run (GC, IMPORT, EXPORT, CLOCK, RC)
962962

963963
endif
964964

965+
call MAPL_GetPointer(EXPORT, PTR3D, 'QRTOT', RC=STATUS); VERIFY_(STATUS)
966+
if (associated(PTR3D)) PTR3D = QRAIN
967+
968+
call MAPL_GetPointer(EXPORT, PTR3D, 'QSTOT', RC=STATUS); VERIFY_(STATUS)
969+
if (associated(PTR3D)) PTR3D = QSNOW
970+
971+
call MAPL_GetPointer(EXPORT, PTR3D, 'QGTOT', RC=STATUS); VERIFY_(STATUS)
972+
if (associated(PTR3D)) PTR3D = QGRAUPEL
973+
965974
call MAPL_TimerOff(MAPL,"--GFDL_1M",RC=STATUS)
966975

967976
end subroutine GFDL_1M_Run

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSmoist_GridComp/GEOS_MGB2_2M_InterfaceMod.F90

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2494,6 +2494,15 @@ subroutine MGB2_2M_Run (GC, IMPORT, EXPORT, CLOCK, RC)
24942494
endif
24952495
endif
24962496

2497+
call MAPL_GetPointer(EXPORT, PTR3D, 'QRTOT', RC=STATUS); VERIFY_(STATUS)
2498+
if (associated(PTR3D)) PTR3D = QRAIN
2499+
2500+
call MAPL_GetPointer(EXPORT, PTR3D, 'QSTOT', RC=STATUS); VERIFY_(STATUS)
2501+
if (associated(PTR3D)) PTR3D = QSNOW
2502+
2503+
call MAPL_GetPointer(EXPORT, PTR3D, 'QGTOT', RC=STATUS); VERIFY_(STATUS)
2504+
if (associated(PTR3D)) PTR3D = QGRAUPEL
2505+
24972506
call MAPL_TimerOff(MAPL,"--MGB2_2M",__RC__)
24982507

24992508
end subroutine MGB2_2M_Run

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSmoist_GridComp/GEOS_MoistGridComp.F90

Lines changed: 83 additions & 59 deletions
Large diffs are not rendered by default.

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSmoist_GridComp/GEOS_THOM_1M_InterfaceMod.F90

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,6 +1132,15 @@ subroutine THOM_1M_Run (GC, IMPORT, EXPORT, CLOCK, RC)
11321132

11331133
endif
11341134

1135+
call MAPL_GetPointer(EXPORT, PTR3D, 'QRTOT', RC=STATUS); VERIFY_(STATUS)
1136+
if (associated(PTR3D)) PTR3D = QRAIN
1137+
1138+
call MAPL_GetPointer(EXPORT, PTR3D, 'QSTOT', RC=STATUS); VERIFY_(STATUS)
1139+
if (associated(PTR3D)) PTR3D = QSNOW
1140+
1141+
call MAPL_GetPointer(EXPORT, PTR3D, 'QGTOT', RC=STATUS); VERIFY_(STATUS)
1142+
if (associated(PTR3D)) PTR3D = QGRAUPEL
1143+
11351144
call MAPL_TimerOff(MAPL,"--THOM_1M",RC=STATUS)
11361145

11371146
end subroutine THOM_1M_Run

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_ease.py

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,35 @@
2222
def make_bcs_ease(config):
2323
bin_dir = os.getcwd()
2424
if '/bin' not in bin_dir:
25-
print("please run this program in installed bin directory")
26-
return
25+
print(" ")
26+
print("******************************************************************")
27+
print("ERROR: Must run this program in installed bin directory. ")
28+
print("******************************************************************")
29+
return
2730

2831
grid_type = config['grid_type']
32+
resolution = config['resolution']
33+
GRIDNAME = grid_type+'_'+ resolution
34+
2935
if 'EASEv' not in grid_type :
30-
print('This is not a EASE grid')
36+
print(" ")
37+
print("******************************************************************")
38+
print("ERROR: " + GRIDNAME + " is not an EASE grid. ")
39+
print("******************************************************************")
3140
return
3241

33-
resolution = config['resolution']
42+
# if resolution is M01 in EASEv1 or EASEv2, do not execute
43+
# Instead, exist and print an on-screen message to the user
44+
if resolution == "M01":
45+
print(" ")
46+
print("******************************************************************")
47+
print("WARNING: Job for " + GRIDNAME + " not submitted! ")
48+
print(" EASEv[x]_M01 (~1 km) resolution requires custom process. ")
49+
print(" Contact GMAO Land Group for assistance. ")
50+
print("******************************************************************")
51+
print(" ")
52+
return
3453

35-
GRIDNAME = grid_type+'_'+ resolution
3654
now = datetime.now()
3755
tmp_dir = now.strftime("%Y%m%d%H%M%S")
3856
tmp_dir = f"{resolution}_{tmp_dir}"

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_questionary.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def ask_questions(default_grid="Cubed-Sphere"):
279279
"name": "EASEv1",
280280
"message": "Select EASEv1 grid resolution: \n ",
281281
"choices": [ \
282-
#"M01 -- 1km $34668x14688$", \
282+
"M01 -- 1km $34668x14688$", \
283283
"M03 -- 3km $11556x4896$", \
284284
"M09 -- 9km $3852x1632$", \
285285
"M25 -- 25km $1383x586$", \
@@ -292,7 +292,7 @@ def ask_questions(default_grid="Cubed-Sphere"):
292292
"name": "EASEv2",
293293
"message": "Select EASEv2 grid resolution: \n ",
294294
"choices": [ \
295-
#"M01 -- 1km $34704x14616$", \
295+
"M01 -- 1km $34704x14616$", \
296296
"M03 -- 3km $11568x4872$", \
297297
"M09 -- 9km $3856x1624$", \
298298
"M25 -- 25km $1388x584$", \

GEOSogcm_GridComp/GEOSseaice_GridComp/CICE_GEOSPlug/cice6_app/1440x1080/ice_in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
lonpnt(1) = 0.
4545
latpnt(2) = -65.
4646
lonpnt(2) = -45.
47-
histfreq = 'm','d','x','x','x'
47+
histfreq = 'm','x','x','x','x'
4848
histfreq_n = 1 , 1 , 1 , 1 , 1
4949
histfreq_base = 'zero'
5050
hist_avg = .true.
@@ -240,7 +240,7 @@
240240
iceruf_ocn = 0.03
241241
emissivity = 0.985
242242
fbot_xfer_type = 'constant'
243-
update_ocn_f = .false.
243+
update_ocn_f = .true.
244244
l_mpond_fresh = .false.
245245
tfrz_option = 'linear_salt'
246246
oceanmixed_ice = .false.

GEOSogcm_GridComp/GEOSseaice_GridComp/CICE_GEOSPlug/cice6_app/540x458/ice_in

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
lonpnt(1) = 0.
4545
latpnt(2) = -65.
4646
lonpnt(2) = -45.
47-
histfreq = 'm','d','x','x','x'
47+
histfreq = 'm','x','x','x','x'
4848
histfreq_n = 1 , 1 , 1 , 1 , 1
4949
histfreq_base = 'zero'
5050
hist_avg = .true.
@@ -101,8 +101,8 @@
101101
restart_lvl = .true.
102102
tr_pond_topo = .false.
103103
restart_pond_topo = .false.
104-
tr_pond_lvl = .false.
105-
restart_pond_lvl = .false.
104+
tr_pond_lvl = .true.
105+
restart_pond_lvl = .true.
106106
tr_snow = .false.
107107
restart_snow = .false.
108108
tr_iso = .false.
@@ -115,7 +115,7 @@
115115

116116
&thermo_nml
117117
kitd = 1
118-
ktherm = 1
118+
ktherm = 2
119119
conduct = 'bubbly'
120120
ksno = 0.3d0
121121
a_rapid_mode = 0.5e-3
@@ -174,19 +174,19 @@
174174
/
175175

176176
&shortwave_nml
177-
shortwave = 'ccsm3'
177+
shortwave = 'dEdd'
178178
albedo_type = 'ccsm3'
179179
albicev = 0.78
180180
albicei = 0.36
181181
albsnowv = 0.98
182182
albsnowi = 0.70
183183
ahmax = 0.3
184-
R_ice = 0.
185-
R_pnd = 0.
186-
R_snw = 1.5
184+
R_ice = -1.
185+
R_pnd = -1.
186+
R_snw = -1.
187187
dT_mlt = 1.5
188188
rsnw_mlt = 1500.
189-
kalg = 0.6
189+
kalg = 0.0
190190
sw_redist = .true.
191191
sw_frac = 0.9d0
192192
sw_dtemp = 0.02d0
@@ -240,7 +240,7 @@
240240
iceruf_ocn = 0.03
241241
emissivity = 0.985
242242
fbot_xfer_type = 'constant'
243-
update_ocn_f = .false.
243+
update_ocn_f = .true.
244244
l_mpond_fresh = .false.
245245
tfrz_option = 'linear_salt'
246246
oceanmixed_ice = .false.

0 commit comments

Comments
 (0)