ana3AIMEC.aimecTools.checkOverlapDBXYWithData

checkOverlapDBXYWithData(rasterTransfo, pointTolerance)[source]

check if x, y coordinates of new coordinate system overlap

TODO: this check is required if folding of cooridnate system only where there is data to be analysed shall we checked

Parameters
  • rasterTransfo (dict) – dict with gridx, gridy locations of new coordinates in old coordinate system

  • pointTolerance (float) – defines the absolute tolerance used to check whether coordinate locations are affected by the intersection of coordinate grid lines (to check if overlap/folding in transformed coordinate system)

Returns

intPointsArray – boolean array used as index array for coordinate arrays (rasterTransfo: gridx, gridy) where intersections occur new coordinate system (s, l) has overlaps

Return type

numpy nd array