def __init__(self, src_grid_file_name, dst_grid_file_name, online_flag, realdata_file_name, k, pole_flag): Interp.__init__(self, src_grid_file_name, dst_grid_file_name, online_flag, realdata_file_name) self.power = 1 self.eps = 1.0e-6 self.nearest_k = k self.idw_obj = Search(self.stree_base_obj, self.stree) self.pole_flag = pole_flag
def __init__(self, src_grid_file_name, dst_grid_file_name, online_flag, realdata_file_name): Interp.__init__(self, src_grid_file_name, dst_grid_file_name, online_flag, realdata_file_name) self.bilinearbox_obj = Bilinearbox(self.stree_base_obj, self.stree)