diff --git a/R/Utils.R b/R/Utils.R index 9dfcaa7337a39e6546fa77cf6cfa717b37d836af..afe075cbcc8b4c2af00fa6938a00659254e68b72 100644 --- a/R/Utils.R +++ b/R/Utils.R @@ -322,11 +322,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