示例#1
0
文件: cice.py 项目: coecms/payu
 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
文件: cice.py 项目: nicjhan/payu
 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()