Idepix.Meris cannot read subset output

I’m having issues processing MERIS files in Idepix that have previously been through the subset operator in more recent versions of SNAP. In old versions it worked. it now gives the error:

INFO: org.esa.snap.idepix.core.util.IdepixUtils: Input sensor must be either Landsat-8, MERIS, AATSR, AVHRR, OLCI, colocated OLCI/SLSTR, MODIS/SeaWiFS, PROBA-V or VGT! done. org.esa.snap.core.gpf.graph.GraphException: [NodeId: idepix_snap] Selected cloud screening algorithm cannot be used with given input product. Supported sensors are: MERIS, SPOT VGT, MODIS, Landsat-8, SeaWiFS, Sentinel-2 MSI, Sentinel-3 OLCI, PROBA-V, VIIRS. ​

I believe this is due to this commit Update subset tool to include 'derived from' in some of the metadata … · senbox-org/snap-engine@8e9218c · GitHub which marks the output as “Derived from”. Idepix MERIS has quite strict rules about what it considers a MERIS product snap-idepix/idepix-core/src/main/java/org/esa/snap/idepix/core/util/IdepixIO.java at v13.0.0 · bcdev/snap-idepix · GitHub

However, Idepix for OLCI reads this fine as it has a fairly relaxed product identification:

Hello,

thanks a lot for the report.

Could you please let us know if your MERIS L1b input products are from 3rd or 4th reprocessing, or both?

The change of product type of the subset product could be considered easily in the validity check, but we may need to check possible further impacts during the Idepix processing.

Cheers,
Olaf

Hi Olaf,

Thanks for the reply. This is with 4th reprocessing, we’ve not tested 3rd reprocessing with any recent versions.

Cheers, Nick

Hi Nick,

I had a closer look and found that unfortunately the change of product type in Subsets has further impacts, not only for Idepix.Meris, but maybe also for other MERIS processors which worked well with subsets in older SNAP versions. Fixing this requires some changes in SNAP core code. We will consider this for a next intermediate SNAP update and keep you informed.

For the moment, we can only recommend to apply Idepix on the full product and then do the subsetting, or do the Idepix.Meris processing on subsets with the old SNAP version you used before. We are sorry for this inconvenience.

Cheers,
Olaf

Thanks Olaf