Skip to content
Snippets Groups Projects
Commit 677b09ad authored by Peters, Wouter's avatar Peters, Wouter
Browse files

removed reference to model log file, still ro be resolved

parent 36b02c08
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ class TM5ObservationOperator(ObservationOperator): ...@@ -67,7 +67,7 @@ class TM5ObservationOperator(ObservationOperator):
self.Identifier = identifier # the identifier gives the model name self.Identifier = identifier # the identifier gives the model name
self.Version = version # the model version used self.Version = version # the model version used
msg = '%s object initialized'%self.Identifier ; logging.debug(msg) msg = '%s observation object initialized'%self.Identifier ; logging.debug(msg)
msg = '%s version: %s'%(self.Identifier,self.Version) ; logging.info(msg) msg = '%s version: %s'%(self.Identifier,self.Version) ; logging.info(msg)
def Initialize(self, DaCycle): def Initialize(self, DaCycle):
...@@ -319,7 +319,6 @@ class TM5ObservationOperator(ObservationOperator): ...@@ -319,7 +319,6 @@ class TM5ObservationOperator(ObservationOperator):
self.Status = 'Success' self.Status = 'Success'
else: else:
logging.error('Error in model executable return code: %s ' % code) logging.error('Error in model executable return code: %s ' % code)
logging.debug('Inspect [%s] to find output from model executable ' % self.ModelLogFilename)
self.Status = 'Failed' self.Status = 'Failed'
raise OSError raise OSError
...@@ -366,7 +365,7 @@ class TM5ObservationOperator(ObservationOperator): ...@@ -366,7 +365,7 @@ class TM5ObservationOperator(ObservationOperator):
if not os.path.exists(okfile): if not os.path.exists(okfile):
code = -1 code = -1
code=0
return code return code
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment