preserve dtype when regridding