Exemplo n.º 1
0
Arquivo: cice.py Projeto: 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()
Exemplo n.º 2
0
Arquivo: cice.py Projeto: 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()