This problem happens when your splitted master image name contains “IW1”. I think it was the case for you ?
===========For less details, users can skip this part=========
For me, whene i splitted the master i named it : /home/abdel/INSAR/XXX/S1/master/S1A_IW_SLC__1SDV_20180416T145733_20180416T145800_021494_025070_1812_IW1.dim
This what will happen, i just figure the cause now :
On the project.conf file you will have something like this :
##################################
PROCESSING PARAMETERS
IW1=IW1
MASTER=/home/abdel/INSAR/XXX/S1/master/S1A_IW_SLC__1SDV_20180416T145733_20180416T145800_021494_025070_1812_IW1.dim
##################################
When you run splitting_slaves.py project.conf, this part of code :
Getting configuration variables from inputfile
try:
in_file = open(inputfile, ‘r’)
for line in in_file.readlines():
if “PROJECTFOLDER” in line:
PROJECT = line.split(’=’)[1].strip()
print PROJECT
if “IW1” in line:
IW = line.split(’=’)[1].strip()
print IW
Will read project.conf line by line and check if this line contain IW1 !!
But we have two lines that contain “IW1”
In the end the variable IW value will contain : “/home/abdel/INSAR/XXX/S1/master/S1A_IW_SLC__1SDV_20180416T145733_20180416T145800_021494_025070_1812_IW1.dim”
instead of “IW1”
This value will be passed to the graph slave_split_applyorbit.xml here :
<subswath>IWs</subswath>
By this line in splitting_slaves.py
filedata = filedata.replace(‘IWs’,IW)
And the graph that will be run for spliting the slaves splitgraph2run.xml will contain this line :
<subswath>/home/abdel/INSAR/XXX/S1/master/S1A_IW_SLC__1SDV_20180416T145733_20180416T145800_021494_025070_1812_IW1.dim</subswath>
instead of
<subswath>IW1</subswath>
Which is not accepted by the GPT and give you Error: [NodeId: TOPSAR-Split] -1
===========Solution==================
To to sum up :
Try to not use IW1 in the name of your splitted master (for the image file and project.conf)
Or change the parameter IW1’s name in project.conf to smothing like IWs and specially not IW because all sentinel-1 images contain this. And then change this also in splitting_slaves.py :
if “IWs” in line:
IW = line.split(’=’)[1].strip()
print IW