Skip to content
Thomas Nipen edited this page Jun 17, 2020 · 3 revisions

The approach will give box like fields if the output field is much higher resolution than the input field.

The advantage of the method is that if the values in the input field are physically realistic, then the values in the output field are also realistic.

Library example

ovalues = gridpp.nearest(igrid, ogrid, temp_analysis[:, :, 0])

Command-line example

gridpp input.nc output.nc -v air_temperature_2m -d nearestNeighbour
Clone this wiki locally