Where in Github can I get the Snap Operators written in Java

Hey guys,

I have been checking the GitHub (https://github.com/senbox-org/snap-engine) of Snap, I wanted to find where are published all the Snap operators (in Java, the source code), but unfortunately I couldn’t find it. Could you tell me where are they stored?
Best
Joan

Is this what are you looking for!

senbox-org/ snap-engine

Source: https://github.com/senbox-org/snap-engine/tree/master/snap-binning/src/main/java/org/esa/snap/binning/operator

1 Like

Hello,
Go to org.esa.snap.core.gpf.Operator (within snap-engine -> snap-gpf), and then search all usages of this class in extends clauses. Like this you find all the operator classes.
Best regards,
Oana

1 Like

Thanks Oana, but what I’d like to see is the code in Java of the operator classes, I guess the best way is in Github, but where?

There is a different location for each operator…
The best way is to install an IDE (IntelliJ), git clone on snap-engine, snap-desktop, s1tbx, s2tbx, s3tbx, put them together in a project and then start to look at the code…
In github … it is difficult to discover all the locations (for example I find 215 usages of Operator in extends clauses)

3 Likes

Thanks a lot!! I think I will try with S1 so far!

Best!
Joan

Thanks Oana, I hope this advice is also in the FAQ and instructions for developers…

Hello,
On STEP website, under Community -> Developers ( http://step.esa.int/main/community/developers/ ), we have a link towards Developers Wiki:
https://senbox.atlassian.net/wiki/spaces/SNAP/pages/8847381/Developer+Guide
where in the Cookbook of SNAP development, we have sections like “How to build SNAP from sources”, “How to run and debug SNAP from an IDE” and “How to integrate a new processor”.

2 Likes