Skip to content
Thomas Nipen edited this page Apr 13, 2020 · 26 revisions

The downscaling component of gridpp interpolates data on one grid to another (usually higher-resolution) grid.

If no downscaler is selected, a nearest neighbour approach is used. Also, if the input grid is equal to the output grid, then no downscaling is needed.

Library example

Downscaling methods require objects that describe the metadata of the gridpoints. The Grid object defines this and can be initialized with 2D arrays of latitude and longitudes:

grid = gridpp.Grid(lats, lons)
Clone this wiki locally