File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -973,11 +973,11 @@ def createLnRstBc(self) :
973973
974974 landiceRstFile = ''
975975 if self .with_landice :
976- if self . ExeInputs [ 'RESTART' ]. isdigit () :
977- if int ( self . ExeInputs [ ' RESTART' ]) == 0 :
978- print ( "RESTART=0 not supported for landice tiles. Please use RESTART=M (MERRA-2) or RESTART=2." )
976+ if RESTART_str == '0' :
977+ exit ( " RESTART=0 not supported for landice tiles. Please use RESTART=M, 1, or 2" )
978+ if RESTART_str == '1' :
979979 landiceRstFile = rstpath + ensdir + '/' + y4m2 + '/' + self .ExeInputs ['RESTART_ID' ]+ '.' + 'landice_internal_rst.' + y4m2d2_h2m2
980- else :
980+ if RESTART_str == '2' or RESTART_str == 'M' :
981981 landiceRstFile = glob .glob (self .exphome + '/' + exp_id + '/mk_restarts/*' + 'landice_internal_rst.' + YYYYMMDD + '*' )[0 ]
982982
983983 if os .path .isfile (landiceRstFile ) :
You can’t perform that action at this time.
0 commit comments