regridding of varying coordinate