It may introduce a bug by commenting out this block. The next if-else block will never goes to else branch.
|
self.rqdExeInp['RST_FROM_GLOBAL'] = 1 |
|
# skip checking. It is users' reponsibility to make it right! |
|
#if self.rqdExeInp['RESTART'].isdigit() : |
|
# if int(self.rqdExeInp['RESTART']) == 1 : |
|
# _numg = int(linecache.getline(self.rqdExeInp['CATCH_DEF_FILE'], 1).strip()) |
|
# _numd = _numg |
|
# ldas_domain = self.rqdExeInp['RESTART_PATH']+ \ |
|
# self.rqdExeInp['RESTART_ID'] + \ |
|
# '/output/'+self.rqdExeInp['RESTART_DOMAIN']+'/rc_out/'+self.rqdExeInp['RESTART_ID']+'.ldas_domain.txt' |
|
# if os.path.isfile(ldas_domain) : |
|
# _numd = int(linecache.getline(ldas_domain, 1).strip()) |
|
# |
|
# if _numg != _numd : |
|
# self.rqdExeInp['RST_FROM_GLOBAL'] = 0 |
It may introduce a bug by commenting out this block. The next if-else block will never goes to else branch.
GEOSldas_GridComp/GEOSldas_App/ldas_setup
Lines 384 to 397 in 55528a5