in3Utils.geoTrans.rotateRaster

rotateRaster(rasterDict, theta, deg=True)[source]

rotate clockwise a raster arround (0, 0) with theta angle

Parameters
  • rasterDict (dict) – raster dictionary

  • theta (float) – rotation angle of the vector from start point to end point - degree default

  • deg (bool) – if true theta is converted to rad from degree

Returns

rotatedRaster – rotated raster dictionary

Return type

dict