improved resampling to country-based grids