diff --git a/da/tools/initexit.py b/da/tools/initexit.py index ff15ab4f77522f88cb8b23c81a17843bbbaf8340..6a2aeea547f1edf9ef12d81b113f55aee6b2bbe2 100755 --- a/da/tools/initexit.py +++ b/da/tools/initexit.py @@ -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')) diff --git a/template.rc b/template.rc index cddffbeb474c6096264960ab1248fe204b9be5e7..38b7ecf98f917b420ecf4e9aea6f75f6b06cd842 100644 --- a/template.rc +++ b/template.rc @@ -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