I am trying to create a processing chain using GraphBuilder, that will include C2RCC OLCI processor. However, it is not available in the drop-down list in the ‘Add’ menu.
Is there a way to include C2RCC OLCI into GraphBuilder as a node?
This will print the help for the OLCI C2RCC operator. At the end you will find a XML template. You can combine it with other templates from other operators. This is shown in the guides mentioned above.
I seem not to be able to figure out what should I replace “someGraphId” and “someNodeId” with in XML in case of c2rcc.olci
In examples that are provided via links (XML Graph File for S2 Resampling), there “someGraphId” is replaced by “Resample_Sentine-2” and “someNodeId” by “resample-2”.
Where can I find an appropriate “someGraphID” and “someNodeId” for c2rcc.olci?
You can chose any id/name you would like. Something what identifies this node it must be unique within the graph. You use it to in order to referr to another node. This way you concatenate the nodes.
As the graph XML files are intended to be applied on multiple data products it is not possible to specify the path within in this way.
I’ve modified the graph a bit.
The source product is now taken from the command line. The auxiliary files (tomsomi, ncep) are deactivated.
Thanks! I will be trying this in a moment. Also, is the target output required to be in .dim format? Previously, I think I was just placing it in an empty folder.
You can change the output format. See the option -f.
Unfortunately the possible formats are not documented. But you can use the formats which can be selected in the user interface.
: command not found: line 3:
: command not found: line 7:
: command not found: line 10:
: command not found: line 14:
: command not found: line 17:
: command not found: line 20:
: command not found: line 23:
: command not found: line 26:
: command not found: line 29:
: command not found: line 30:
: command not found: line 34:
'rocessDataset.bash: line 36: syntax error near unexpected token { 'rocessDataset.bash: line 36:function normalizePath() {
Interestingly it complains about all the empty lines.
I saw that Windows line ending was used. I converted to Mac line ending.
Maybe this solves the problem. processDataset.bash (2.1 KB)
I am also attempting to batch run c2rcc on OLCI L1 images. I have a directory of ancillary data downloaded in subfolders organized by Julian day (from running polymer AC). Is the attached .xml graph correct? Do I need to list any of the other parameters for it to work?
No, the graph and the call are both not correct.
It should look like the following.
All parameters have a default value, if I remember correctly.
So you only need to set those which differe from the defaults.
See also gpt c2rcc.olci -h
The graph should be like the attached file: c2rcc.xml (333 Bytes)
From the command line call, you need to remove the operator name ‘c2rcc.olci’. Because this is specified within the XML file.
Also, it doesn’t work to specify directories for the source and target.
If you want to batch process multiple files, please have a look on this wiki page: https://senbox.atlassian.net/wiki/spaces/SNAP/pages/70503475/Bulk+Processing+with+GPT
awesome, that worked. Right now the output is .dim and .data files. I tried changing the output in the processDataset.bash to .nc on line 52, but I’m not able to pull it into SNAP. Any ideas?