I was calling my python code for 2017 S1 data, and it worked fine. Then I started doing it for 2018 and it did well for first few months but then it started to have this problem:
target_4 = GPF.createProduct(“SliceAssembly”, parameters, products)
RuntimeError: org.esa.snap.core.gpf.OperatorException: java.lang.NullPointerException
The strange thing is that when I do the call in PyCharm it works fine, but when I call the batch file in Anaconda prompt I started getting this error.
I created batch file because I had memory problems when processing many images; this way I was doing it one at a time. I used this batch call already for successfully processed 2017 and 2018 data. I wonder what has happened because no change was made. Any solution, any idea?