I’ve been using a java maven project I developed in NetBeans which calls on the operators I need from SNAP and S1TBX to do the processing I need. I usually run it from the IDE with no problems, but I’m trying to use it on another computer (specifically a HPC system).
The program is here : https://gitlab.com/sdufourbeausejour/java-snap , in branch AddMultiTemporalClassif.
I’ve succeeded in building a jar file containing all dependencies by adding the maven-assembly-plugin to the pom file.
All operations which run on librairies like java.io or java.utils succeed, as well as reading a .dim product, but we run into a problem with the first call to CreateProduct :
$ java -jar java-snap-jar-with-dependencies.jar "input.txt" Input ... (info on the products that have been read) Exception in thread "main" org.esa.snap.core.gpf.OperatorException : Unkown operator 'Subset'. Note that operator aliases are case-sensitive. at org.esa.snap.core.gpf.GPF.CreateProduct
Your help would be greatly appreciated, I’m participating in a hackathon and hope to get it working before tomorrow !