Пример #1
0
 def set_oasis_timestep(self, t_step):
     # TODO: Move over to access driver
     for model in self.expt.models:
         if model.model_type == 'oasis':
             namcpl_path = os.path.join(model.work_path, 'namcouple')
             namcpl = Namcouple(namcpl_path, 'access')
             namcpl.set_ice_timestep(str(t_step))
             namcpl.write()
Пример #2
0
 def set_oasis_timestep(self, t_step):
     # TODO: Move over to access driver
     for model in self.expt.models:
         if model.model_type == 'oasis':
             namcpl_path = os.path.join(model.work_path, 'namcouple')
             namcpl = Namcouple(namcpl_path, 'access')
             namcpl.set_ice_timestep(str(t_step))
             namcpl.write()