I wanted to revisit an issue that myself and it seems several other people in the forum have had over the years.
There appears to be an problem when terrain correcting various types of RCM imagery. In my case, the images are ScanSAR 50 or 100 GRD images. Here is a list of various scenes that fail for me:
RCM1_OK2034581_PK2275823_1_SC100MA_20220928_081406_HH_HV_GRD
RCM1_OK2135956_PK2324192_1_SC100MA_20221103_081208_HH_HV_GRD
RCM1_OK2135956_PK2324192_2_SC100MA_20221103_081208_HH_HV_GRD
RCM1_OK2258374_PK2412317_1_SC100MA_20230111_074938_HH_HV_GRD
RCM1_OK2144244_PK2400813_1_SC100MA_20221230_074939_HH_HV_GRD
I have subsetted and calibrated previous to the terrain correction and am fairly certain it is unrelated to anything in these steps, as there are other ScanSAR scenes over my study region that successfully terrain correct. During terrain correction it seems to get hung up with CPU usage becoming very high, but progress seemingly halting. Out of 100s of scenes I have downloaded and am pre processing, the issue appears to happen approximately once for every ~5 to 10 images.
Links to unresolved threads of others who potentially have had the same issue:
Any thoughts or help appreciated. I’ve reached out to the Canadian space agency and they think it may be an issue on the software side, though I’m not convinced.
It seems I’m still encountering the issue. The progress bar looks like it might be going further, but for a scene I just tried to terrain correct again it failed to complete after several hours (usually takes less than 10 minutes). This time around CPU didn’t get to 90% plus, which it had in the past so maybe something has been changed?
Would the fix be part of the Microwave toolbox plugin update? My application is up to date.
Looking forward to the SNAP 11 release! I too am encountering this bug with certain RCM SAR scenes, and I really appreciate how quickly the bug was tracked down and fixed.
As a temporary workaround I’ve found that I can configure the snap.parallelism to some arbitrarily large value (say 1200). The processing still hangs indefinitely; however, I can see that eventually the output Geotiff stops growing in size and is valid. I then exit snap (to kill the processors stuck in the infinite loop). Opening the output Geotiff file, I can see that most of the swath product is processed–with some tiles missing. Usually, 80% of the scene data is available.