[S2MPC] NaN values displayed with SNAP in B10

Dear all,

It seems the NaN values displayed for B10 is an artefact of the S2TBX since I cannot see it with the QCC Viewer, see snapshots attached.

Regards,

Olivier

Example with:
S2A_OPER_PRD_MSIL1C_PDMC_20150728T215014_R051_V20150726T105903_20150726T110149.SAFE

Hi Olivier,

This is because of the “valid pixel expression” associated with the bands. Currently it does not use the GML masks (yet, in progress), but is set unconditonnally to “pixel value > 0”.

It happens that with B10, pixel value = 0 is valid… So we urgently need to handle all the masks properly.

You can edit the valid pixel expression from the band properties. Removing the expression, you will see black pixels everywhere, also in the no-data areas.

Thank you Julien,
Olivier