-
Notifications
You must be signed in to change notification settings - Fork 0
copy route and issm restarts #202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -461,15 +461,15 @@ def __init__(self, cmdLineArgs): | |||
| landiceRstFile=self.in_rstdir+'/'+tmpFile | ||||
| assert os.path.isfile(landiceRstFile), 'landice_internal_rst file [%s] does not exist!' %(landiceRstFile) | ||||
|
|
||||
| if self.run_route > 0: | ||||
| tmpFile=self.ExeInputs['RESTART_ID']+'.route_internal_rst.'+y4m2d2_h2m2 | ||||
| routeRstFile=self.in_rstdir+'/'+tmpFile | ||||
| assert os.path.isfile(routeRstFile), 'route_internal_rst file [%s] does not exist!' %(routeRstFile) | ||||
| #if self.run_route > 0: | ||||
| # tmpFile=self.ExeInputs['RESTART_ID']+'.route_internal_rst.'+y4m2d2_h2m2 | ||||
| # routeRstFile=self.in_rstdir+'/'+tmpFile | ||||
| # assert os.path.isfile(routeRstFile), 'route_internal_rst file [%s] does not exist!' %(routeRstFile) | ||||
|
|
||||
| if self.with_issm: | ||||
| tmpFile=self.ExeInputs['RESTART_ID']+'.issm_internal_rst.'+y4m2d2_h2m2 | ||||
| issmRstFile=self.in_rstdir+'/'+tmpFile | ||||
| assert os.path.isfile(issmRstFile), 'issm_internal_rst file [%s] does not exist!' %(issmRstFile) | ||||
| #if self.with_issm: | ||||
| # tmpFile=self.ExeInputs['RESTART_ID']+'.issm_internal_rst.'+y4m2d2_h2m2 | ||||
| # issmRstFile=self.in_rstdir+'/'+tmpFile | ||||
| # assert os.path.isfile(issmRstFile), 'issm_internal_rst file [%s] does not exist!' %(issmRstFile) | ||||
|
|
||||
| # DEAL WITH mwRTM input from exec | ||||
| self.assim = True if self.ExeInputs.get('LAND_ASSIM', 'NO').upper() == 'YES' and self.with_land else False | ||||
|
|
@@ -1042,6 +1042,8 @@ def createLnRstBc(self) : | |||
| landiceRstFile = rstpath+ensdir +'/'+ y4m2+'/'+self.ExeInputs['RESTART_ID']+'.'+'landice_internal_rst.'+y4m2d2_h2m2 | ||||
| if self.with_issm: | ||||
| issmRstFile = rstpath+ensdir +'/'+ y4m2+'/'+self.ExeInputs['RESTART_ID']+'.'+'issm_internal_rst.'+y4m2d2_h2m2 | ||||
| if not os.path.isfile(issmRstFile) : | ||||
| issmRstFile = '/discover/nobackup/projects/gmao/bcs_shared/restarts/surface/issm/v202609/issm_internal_rst' | ||||
|
Comment on lines
+1045
to
+1046
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same comment as above. For RESTART=1, we should not backfill from the bcs_shared directory. Backfilling requires spin-up, and that would contradict the instructions encoded here: GEOSldas_GridComp/GEOSldas_App/setup_utils.py Line 158 in d6c59f1
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
@@ -1086,8 +1088,8 @@ def createLnRstBc(self) : | |||
| if RESTART_str in ['1', '2'] : | ||||
| routeRstFile = rstpath+ensdir +'/'+ y4m2+'/'+self.ExeInputs['RESTART_ID']+'.'+'route_internal_rst.'+y4m2d2_h2m2 | ||||
| if not os.path.isfile(routeRstFile) : | ||||
| exit("Please copy a route restart from /discover/nobackup/projects/gmao/bcs_shared/restarts/surface/route/ \ | ||||
| to " + routeRstFile) | ||||
| routeRstFile = '/discover/nobackup/projects/gmao/bcs_shared/restarts/surface/route/v202605/route_internal_rst.0101_0000' | ||||
|
|
||||
|
Comment on lines
+1091
to
+1092
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as comment above |
||||
| if RESTART_str == 'M': | ||||
| exit(" RUN_ROUTE does not support MERRA 2 option") | ||||
|
|
||||
|
|
||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit confused about the logic here. We get into this block if RESTART=1. In this case, it is expected that the user has provided an LDAS experiment ID, path, & domain that contains a complete set of restarts. At least in the case of RESTART=1, we need to then copy that restart into the (new) experiment directory, just like the catch and landice restarts above