I am trying to learn how to use gpt which is very useful but sometimes i do not understand the error messages. So, I have another question about GPT tool.
I have five images which were a result of interferometric processing and I want to create a stack using the
CreateStack command. So, I look at the command usage to see how it works. Below, the picture on the left shows information about CreateStack command and on the right is the graph i have created in SNAP.
When I execute the graph, it works smoothly and I get the images stacked as i expected. On the other hand, When i run the
CreateStack in gpt i get he following error.
Error: Value for 'Slave Bands' is invalid: '/home/john/Desktop/InSAR/output_product/S1A_IW_SLC_20161112_20170228.dim'
I do not understand what it means by
slave Bands. Looking at he graph (on the right) there is nothing related to
slave bands. For gpt, I used exactly the same files used in the graph.
here is my attempt:
snap/bin/gpt CreateStack -Pextent='Master' -PinitialOffsetMethod='Orbit' -PresamplingType='NONE' -PsourceBands=/home/john/Desktop/InSAR/output_product/S1A_IW_SLC_20161112_20170228.dim,/home/john/Desktop/InSAR/output_product/S1A_IW_SLC_20160913_20161112.dim,/home/john/Desktop/InSAR/output_product/S1A_IW_SLC_20160808_20160913.dim -t /home/john/Desktop/InSAR/output_product/STACK.dim
Also, i do not understand what
-Pmasterbands is. It looks like its exactly the same with