copy route and issm restarts - #202
weiyuan-jiang wants to merge 2 commits into
Conversation
| #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) |
There was a problem hiding this comment.
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
| if not os.path.isfile(issmRstFile) : | ||
| issmRstFile = '/discover/nobackup/projects/gmao/bcs_shared/restarts/surface/issm/v202609/issm_internal_rst' |
There was a problem hiding this comment.
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
| routeRstFile = '/discover/nobackup/projects/gmao/bcs_shared/restarts/surface/route/v202605/route_internal_rst.0101_0000' | ||
|
|
There was a problem hiding this comment.
same as comment above
|
Closing after in-person discussion |
No description provided.