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

extra filter to not copy all restart files each cycle

parent eb2222a5
No related branches found
No related tags found
No related merge requests found
...@@ -341,7 +341,7 @@ class TM5ObservationOperator(ObservationOperator): ...@@ -341,7 +341,7 @@ class TM5ObservationOperator(ObservationOperator):
sourcedir = self.dacycle['dir.restart'] sourcedir = self.dacycle['dir.restart']
targetdir = self.tm_settings['restart.write.dir'] targetdir = self.tm_settings['restart.write.dir']
filterlist = '%s' % self.dacycle['time.sample.start'] filterlist = '%s' % self.tm_settings['timerange.start']
for f in os.listdir(sourcedir): for f in os.listdir(sourcedir):
fpath = os.path.join(sourcedir, f) fpath = os.path.join(sourcedir, f)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment