UAVSAR cropping fixes for stackStripmapApp
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:
-
frame.image.filenameandframe.image.widthwere empty in ‘cropFrames.py’, which led to crashes. Thus ‘prepareUAVSAR_coregStack.py’ was updated to populate these fields in the shelve file. -
In
cropFrames.py,numpy.intis depreciated so I replaced allnp.intcalls withint -
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.