in3Utils.geoTrans.remeshData¶
- remeshData(rasterFile, cellSize)[source]¶
compute raster data on a new mesh with cellSize using scipy RectBivariateSpline
the new mesh is as big or smaller as the original mesh
- Parameters
rasterFile (str) – path to raster file
cellSize (float) – mesh size of new mesh
- Returns
data – remeshed data dict with data as numpy array and header info
- Return type
dict