Example #1
0
 def store_results(self, name):
     folder = name + '.res'
     store_conv_results(name, folder)
     w = 'w' + str(read_grid_from_file(name+".full_res")['grid'])
     try:
         shutil.copyfile(os.path.join(name+".conv", w, "t9", "outdata", "out_SIGRES.nc"),
                         os.path.join(folder, "out_SIGRES.nc"))
     except (OSError, IOError):  # compatibility issue
         shutil.copyfile(os.path.join(name+".conv", "work_0", "task_6", "outdata", "out_SIGRES.nc"),
                         os.path.join(folder, "out_SIGRES.nc"))
Example #2
0
 def store_results(self, name):
     folder = name + '.res'
     store_conv_results(name, folder)
     w = 'w' + str(read_grid_from_file(name + ".full_res")['grid'])
     try:
         shutil.copyfile(
             os.path.join(name + ".conv", w, "t9", "outdata",
                          "out_SIGRES.nc"),
             os.path.join(folder, "out_SIGRES.nc"))
     except (OSError, IOError):  # compatibility issue
         shutil.copyfile(
             os.path.join(name + ".conv", "work_0", "task_6", "outdata",
                          "out_SIGRES.nc"),
             os.path.join(folder, "out_SIGRES.nc"))
Example #3
0
 def store_results(self, name):
     folder = name + '.res'
     store_conv_results(name, folder)
Example #4
0
 def store_results(self, name):
     folder = name + '.res'
     store_conv_results(name, folder)
     #todo copy the final file containing the qp to folder
     raise NotImplementedError
Example #5
0
 def store_results(self, name):
     folder = name + '.res'
     store_conv_results(name, folder)
Example #6
0
 def store_results(self, name):
     folder = name + '.res'
     store_conv_results(name, folder)
     #todo copy the final file containing the qp to folder
     raise NotImplementedError