MCTF error with two sequential acquisitions of the same track

Hi all

I’m trying to generate a multitemporal composite (Radar/Radiometric/Multitemporal compositing) from a co-registered stack. It works with several acquisitions as long as I use only one acquisition per track (descending and ascending) and day. As soon as I try to generate a composite for an area of the same size but lying in transition between two sequential acquisitions and then try to include both of these acquisitions of the same track and day, the following error arises:

java.lang.ArrayIndexOutOfBoundsException: 2
at org.esa.s1tbx.sar.gpf.geometric.MultitemporalCompositingOp.computeTile(MultitemporalCompositingOp.java:165)
Caused: org.esa.snap.core.gpf.OperatorException: 2
at org.esa.snap.engine_utilities.gpf.OperatorUtils.catchOperatorException(OperatorUtils.java:432)
at org.esa.s1tbx.sar.gpf.geometric.MultitemporalCompositingOp.computeTile(MultitemporalCompositingOp.java:210)
at org.esa.snap.core.gpf.internal.OperatorImage.computeRect(OperatorImage.java:82)
at javax.media.jai.SourcelessOpImage.computeTile(Unknown Source)
Caused: org.esa.snap.core.gpf.OperatorException: 2
at org.esa.snap.core.gpf.internal.OperatorExecutor$GPFImagingListener.errorOccurred(OperatorExecutor.java:381)
at com.sun.media.jai.util.SunTileScheduler.sendExceptionToListener(Unknown Source)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(Unknown Source)
at javax.media.jai.OpImage.getTile(Unknown Source)
at javax.media.jai.PlanarImage.getData(Unknown Source)
at com.bc.ceres.glevel.MultiLevelImage.getData(MultiLevelImage.java:64)
at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:449)
at org.esa.snap.core.gpf.internal.OperatorContext.getSourceTile(OperatorContext.java:435)
at org.esa.snap.core.gpf.internal.OperatorImage.computeRect(OperatorImage.java:75)
at javax.media.jai.SourcelessOpImage.computeTile(Unknown Source)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(Unknown Source)
at javax.media.jai.OpImage.getTile(Unknown Source)
at com.sun.media.jai.util.RequestJob.compute(Unknown Source)
[catch] at com.sun.media.jai.util.WorkerThread.run(Unknown Source)

Has anybody had the same issue and found a way to solve it? Thanks for your help!

Can you please share a screenshot of the footprints which work and one of those which don’t?

Sure! The overview with the footprints definitely helps.

This one including the following products works for the subset 9.501-10.716° ; 51.309-51.829°:

S1B_IW_GRDH_1SDV_20180107T170720_20180107T170745_009068_010357_7F0F.zip
S1A_IW_GRDH_1SDV_20180110T053331_20180110T053356_020088_0223E7_C778.zip
S1A_IW_GRDH_1SDV_20180113T170803_20180113T170828_020139_022586_BBB5.zip
S1B_IW_GRDH_1SDV_20180116T053252_20180116T053317_009192_010769_54AA.zip

And this one including these acquisitions doesn’t work for the same subset as above:

S1A_IW_GRDH_1SDV_20180110T053331_20180110T053356_020088_0223E7_C778.zip
S1A_IW_GRDH_1SDV_20180113T170803_20180113T170828_020139_022586_BBB5.zip
S1A_IW_GRDH_1SDV_20180113T170828_20180113T170853_020139_022586_7BF4.zip

Hey there!
Thank you for asking this question: I am experiencing the same problem with the MCTF and am keenly interested in any solution!
Cheers

Good to hear that I’m not the only one having this issue. Is there somebody that can help us? Do I need to provide more specific information on the case?

Thanks!

Hi there,
Quite a very powerful tool this multi-temporal compositing: Thanks for including this in SNAP! It would be even more fantastic, if we could overcome this footprint-combination-challenge.
I am also happy to provide more information on my research sites, if it helps to find a solution.
Thank you in advance for any assistance!

I don’t think I understand what the issue is, could you try to explain it again?

Dear Mengdahl
Thank you for the fast reply! Let me try to reformulate the problem:

So, the multi-temporal compositing function (MTCF) seems to work as long as the research site is covered completely in exactly one footprint in both flight directions - ascending and descending (image 1, and MTCF image 3). However, as soon as the research site is situated in an area, where the combinations of two footprints in at least one of the tracks is required, it does not work anymore (image 2 - in my example the combination is even required in both tracks - and error MTCF image 4: same as scuol recieved, I believe). The same happens, when the research site is too large to fit into one footprint, and therefore one needs to combine (at least) two images in both ascending and descending tracks.

I also tried preparing a mosaic from the SAR images before applying the MTCF. However, this did not work out either, for then the MTCF does not recognize the mosaic data as SAR data anymore.

So, I am looking for a possibility to make the MTCF recognize a SAR mosaic as SAR data and/or that we can automatically include some sort of mosaiking function in the MTCF.

Does that make the problem clearer? Otherwise please don’t hesitate to ask for more details on the problem. Cheers!


And here are the other two images I mentioned:
img3_single_stack_MCTF_ok

Thanks for the detailed report. @jun_lu could you investigate?

A JIRA ticket ([SITBX-912] - JIRA) has been created to track the issue. We will look into it. Thank you for reporting the issue.

2 Likes

The problem has been fixed and the fix should be in the next release. Thanks for reporting the issue.

3 Likes

Great, thank you! Is there a timeline when to expect the next release?

Superb! Thank you for your support!