Error [Nodeld:2-Create stack] Cannot invoke "org.esa.snap.core.datamodel.Band.getUnit()" because "mstBand" is null SNAP

Hello, I’m new to SNAP and trying to use two S1A images for flood mapping, I’m following this tutorial (https://www.youtube.com/watch?v=derOXkPCH80) I have cropped the data, apply multilooking, calibration and terrain correction. Now I want to stack the images unfortunately this error (error [Nodeld:2-Create stack] Cannot invoke “org.esa.snap.core.datamodel.Band.getUnit()” because “mstBand” is null ) appears, I’m using SNAP version 13.0 and ubuntu 22.04.

Does anyone has the same issue? how to solve that ?

Thank in advance.

Pauline D

Please provide the processing steps, including all parameter values. If you used a processing graph, please attach it as well.

Hi the data I’m using are S1A_IW_GRDH_1SSV at two different time in Myamar area.

  • First I’ve cropped the images using “Raster subset” I use the synchronize visualization to unsure that I’m cropping the same area.
  • Then I’ve apply “multilooking” to reduce the size of the images, I’ve put the looking factor equal to 3
  • I’ve then applied a radiometric calibration - calibrate with the output sigma0 band selected
  • then terrain correction (Radar→ Geometric→ Terrain Correction→ Range doppler Terrain correction) I kept the default parameters (WGS84 map projection)
  • Finally I try to do a stack (Radar→ Coresgistration→ stack Tools →create stack tabs)

I select my two corrected images and here the error appears…

Hello,

Did you also applied Linear to/from dB? (minute 9 from the tutorial)

Also, a screenshot would be helpful, to see the structure of the products you are trying to stack. (there is no “mstBand“ in the products/operations used in this tutorial)

Hello,

yes I’ve applied the linear to dB.

This is the error I get.

Thanks,

Pauline

I world suggest you run Apply Orbit File operator to both products before creating the subsets.

The issue can be reproduced in SNAP 13, but not in SNAP 12. A Jira ticket (SNAP-4106) has been created.