Add new layer in SNAP

How can add new layer(Slope or aspect or …) to SNAP band(displacement ,…)??
In the figure below, Add the slope to the upper band(under elevation)?

You can only calculate it outside SNAP and import it as a new product.
If both have the same extent and pixel numbers, you can simply add it to the first product under Band Maths

It is also possible to do it with GPT commands quite easily by

gpt Merge -SmasterProduct=yourImageToBeUpdated.dim -SsourceProducts=slope-zone-38/slope.hdr -PgeographicError=NaN -t yourImageToBeUpdated.dim
1 Like