I have made a graph(.xml) in which I want to collocate Sentinel-1 and Sentinel-3 RBT images. It does not work, and I wondered if anyone could help out:
I couldn’t make the graph using the graph-builder for some reason, so I made it by writing in notepad and copy-paste, the graph is attached here.
I want to load both a Sentinel-1, and a Sentinel-3 image, I then want to process the S1 image slightly, and then collocate them, with S1 as Master, and write it out as a GeoTiff. My inputs in the graph are the sentinel-1 GRDH image, the sentinel-3 SL-1-RBT image and my targetfile. s1_s3_collocate_step_forum5.xml (5.2 KB)
I am calling it in the cmd as so:
it keeps on giving me errors, e.g. “Error: [NodeId: Subset] Operator ‘SubsetOp’: Mandatory source product (field ‘sourceProduct’) not set.”
In actuality, I would like to take a subset of the S3 bands. Can this be done by this snippet for each band, or would I have to write it afterwards? If yes, how to I send all the subsets to be collated? Would it be better to take a subset of the bands after I have collated?
Thanks for the quick reply! I have put in two read nodes.
I still get the same error though.
When I try to edit my graph using the grapbuilder (with my files loaded) it takes like 5 min to change one single thing. Is that normal? (it’s not the case when I’m only working with s1 files).
This is my updated graph s1_s3_collocate_step_forum6.xml (5.6 KB)
I ran the the command with the -e option, and the extensive error message is attached
Obviosly, I can see that the error is in the ReadNode2, and that it’s not reading the file. I’m just too green to see why.
This is my exact command:
gpt “C:\Users\krist.snap\graphs\s1_s3_collocate_step_forum6.xml” -e -PtargetFile=C:\Users\krist\Documents\Syntese\data\collocate_testfolder\xfdumanifest.xml_collated -SsourceProduct_s1=“C:\Users\krist\Documents\Syntese\data\collocate_testfolder\S1A_IW_GRDH_1SDV_20180721T053041_20180721T053106_022888_027B77_8EC0.zip” -SsourceProduct_s3=“C:\Users\krist\Documents\Syntese\data\collocate_testfolder\S3A_SL_1_RBT____20180721T200909_20180721T201209_20180723T011520_0180_033_342_0900_LN2_O_NT_003.SEN3”