Skip to content

Commit b798b8f

Browse files
committed
Merge branch 'develop' into feature/zhaobin74/merge-main-post650
2 parents 90b0e93 + 38a76a2 commit b798b8f

File tree

6 files changed

+39
-21
lines changed

6 files changed

+39
-21
lines changed

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.

GEOSogcm_GridComp/GEOSseaice_GridComp/GEOSdataseaice_GridComp/GEOS_DataSeaIceGridComp.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ subroutine RUN ( GC, IMPORT, EXPORT, CLOCK, RC )
539539
! In atmospheric forecast mode we do not have future Sea Ice Conc
540540
!---------------------------------------------------------------
541541

542-
call MAPL_GetResource(MAPL,IFCST,LABEL="IS_FCST:",default=0, RC=STATUS)
542+
call MAPL_GetResource(MAPL,IFCST,LABEL="OGCM_IS_FCST:",default=0, RC=STATUS)
543543
VERIFY_(STATUS)
544544

545545
FCST = IFCST==1

GEOSogcm_GridComp/GEOSseaice_GridComp/GEOSdataseaice_GridComp/GEOS_DataSeaIceGridComp_ExtData.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ subroutine RUN ( GC, IMPORT, EXPORT, CLOCK, RC )
318318
! In atmospheric forecast mode we do not have future Sea Ice Conc
319319
!----------------------------------------------------------------
320320

321-
call MAPL_GetResource(MAPL,IFCST,LABEL="IS_FCST:",default=0, _RC )
321+
call MAPL_GetResource(MAPL,IFCST,LABEL="OGCM_IS_FCST:",default=0, _RC )
322322
FCST = IFCST==1
323323

324324
! Get relaxation time

0 commit comments

Comments
 (0)