ana3AIMEC.aimecTools.assignData

assignData(fnames, rasterTransfo, interpMethod)[source]

Transfer data from old raster to new raster

Loops through paths in fnames and calls transfom Transform affects values to the points of the new raster (after domain transormation)

Parameters
  • fnames (list of str) – list of path to rasterfile to transform

  • rasterTransfo (dict) – transformation information

  • interpMethod (str) – interpolation method to chose between ‘nearest’ and ‘bilinear’

Returns

newData – new_data = z, pressure or thickness… corresponding to fname on the new raster

Return type

2D numpy array