isce2 icon indicating copy to clipboard operation
isce2 copied to clipboard

UAVSAR cropping fixes for stackStripmapApp

Open sssangha opened this issue 4 years ago • 0 comments

Hello team, I am working to process UAVSAR data with stackStripmapApp.py and ran into a few issues when attempting to crop my scenes. Below I detail the simple changes I have made to address them:

  1. frame.image.filename and frame.image.width were empty in ‘cropFrames.py’, which led to crashes. Thus ‘prepareUAVSAR_coregStack.py’ was updated to populate these fields in the shelve file.

  2. In cropFrames.py, numpy.int is depreciated so I replaced all np.int calls with int

  3. Finally in cropFrames.py, I adjusted the min/max check for each dimension so only <0 differences are flagged… Important because with long inclined swaths like UAVSAR, the user may want to only crop in one dimension, and the check fails if the other isn’t cropped.

Please let me know if any further clarification/information is needed.

sssangha avatar Oct 25 '21 19:10 sssangha