Commit 2b79af63 authored by Ingrid Luijkx's avatar Ingrid Luijkx
Browse files

minor changes for init random seed

parent 2c01c266
......@@ -252,7 +252,7 @@ class CycleControl(dict):
def read_random_seed(self, first=False):
if first:
filename = self.dasystem['random.seed.init']
filename = self['random.seed.init']
logging.info("Initialised random seed from: %s"%filename)
else:
filename = os.path.join(self['dir.restart'], 'randomseed_%s.pickle' % self['da.restart.tstamp'].strftime('%Y%m%d'))
......
......@@ -6,6 +6,7 @@ time.finish : 2000-01-03 00:00:00
time.cycle : 1
time.nlag : 2
dir.da_run : template
!datadir : /Volumes/DataRaid/CO2/carbontracker/input/ctdas_2012/
!random.seed.init : ${datadir}/randomseedinit.pickle
! info on the resources needed
......@@ -25,6 +26,7 @@ da.system.localization : CT2007
da.obsoperator : TM5
da.obsoperator.rc : ${HOME}/TM5/tm5-ctdas-ei-zoom.rc
da.obsoperator.home : ${HOME}/TM5
da.optimizer.nmembers : 150
! info on the archive task, if any
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment