I’ve found a problem with GPT and I’m not sure if it’s being dealt with yet but I cannot find a solution on here.
I have a GPT that includes ProductSet-Reader > SliceAssembly > Write (attached)
This has been working for me for products in 2015/2016/2017, but when I come to use products from 2018, the ProductSet-Reader appears to throw an error (attached)
I have been working on this problem for over 3 days now only to find it seems to be related to handling of the current Sentiel-1 GRD products.
Can anyone tell me what the problem is and what I should do?
I wrote out the code in long hand. The file capture was in Win so I have to go look with linux toolbar, but I think it was a class
define at “Slice Assembly”
Thanks so much for replying.
I dont understand from your post what you think the problem is, could you explain this to me please.
My code works for products taken before 2018 but not after.
I looked at your code and it is exactly the same as mine, although there are a lot of typos in it so I cant work out if any changes are true or not.
@lveci
I tried it with SNAP 5.0.0, 6.0.0 and 6.0.4. I get the same problem with all of these versions.
The products I used inside $indir that didn’t work were these: S1A_IW_GRDH_1SDV_20180911T045738_20180911T045806_023646_0293B6_B844 S1A_IW_GRDH_1SDV_20180911T045713_20180911T045738_023646_0293B6_686E
Have you tried doing all processing in the internal BEAM-DIMAP format and exporting into GeoTIFF in a separate step? That is the recommended way of using SNAP as other formats can cause strange issues…
I am having trouble using the slice assembly step on tiff files though both in the GUI and in command line. I am getting a ‘java lang null pointer exception’ each time.
If I output the thermal noise removed file as a .dim instead then I get a 'I/O error while reading tie-point grid ‘latitude’
Doesn’t look like you’re actually inputting a product, that’s why it isn’t reading it. Assuming ‘split’ is a directory? you may have to put a ‘/’ on the end and explicitly write the file name e.g.