diff --git a/R/Utils.R b/R/Utils.R index 11bebc599d15e91b31864db8f6911305f9ecafeb..e0e1f91fddd2bcd61460149d49060ec65ab4d018 100644 --- a/R/Utils.R +++ b/R/Utils.R @@ -327,11 +327,9 @@ if ((grid_lons != common_grid_lons) || (grid_lats != common_grid_lats) || (grid_type != common_grid_type) || - ((lon[1] != first_common_grid_lon) - && !work_piece[['single_dataset']])) { + (lon[1] != first_common_grid_lon)) { if (grid_lons == common_grid_lons && grid_lats == common_grid_lats && - grid_type == common_grid_type && lon[1] != first_common_grid_lon && - !work_piece[['single_dataset']]) { + grid_type == common_grid_type && lon[1] != first_common_grid_lon) { remove_shift <- TRUE } remap_needed <- TRUE