I have a funny problem with some missing abstracted metadata. I read a bunch of TIFF TerraSAR-X products and wrote them to BEAM-DIMAP. Some of these files don't have Abstracted_Metadata in their Metadata Elements. This is a problem when trying to create a stack of the products with the InSAR CreateStackOp.
However, when I open one of these problematic .dim files in the SNAP GUI, something odd happens. In the list of Metadata Elements, at first I see no Abstracted_Metadata (as expected). However, if I open the TIFF Metadata element and then collapse the Metadata folder, the missing Abstracted_Metadata element appears spontaneously when I re-expand the Metadata folder. Is it being created somehow by the SNAP GUI, and if so how can I reproduce this in a java code ?
Thank you for your help,