Per-pixel geocoding drops large portions of scenes

I’ve turned on per-pixel geo-coding as seen in the following figure:

And when I do so, and then reproject images with GPT, large portions are cut off. The following figure shows a small sliver between two scenes on the right, and the lower portion of the two scenes on the left.

If I uncheck all of the per-pixel geocoding checkboxes and run the same GPT code, everything stitches together just fine. In the following figure I only show the right two, but the left two scenes are non-cropped, and appear similar to those shown here: Snappy or GPT? advanced BandMaths

Are these slivers also visible in the lat/lon bands of the source product?
Can you tell me the name of the product where you have found this?

Yes all bands appear cropped.

I can recreate this in all OLCI EFR products. For example, using the following S3A EFR products:

S3A_OL_1_EFR____20170601T125556_20170601T125856_20170602T172603_0179_018_195_1620_LN1_O_NT_002.zip
S3A_OL_1_EFR____20170601T125856_20170601T130156_20170602T172623_0179_018_195_1800_LN1_O_NT_002.zip
S3A_OL_1_EFR____20170601T130156_20170601T130456_20170602T172644_0179_018_195_1980_LN1_O_NT_002.zip
S3A_OL_1_EFR____20170601T143655_20170601T143955_20170602T190330_0179_018_196_1619_LN1_O_NT_002.zip
S3A_OL_1_EFR____20170601T143955_20170601T144255_20170602T190354_0179_018_196_1799_LN1_O_NT_002.zip
S3A_OL_1_EFR____20170601T161754_20170601T162054_20170602T204642_0179_018_197_1619_LN1_O_NT_002.zip

And the following command (on each unzipped folder)

gpt S3_proc.xml -Ssource=/path/to/xfdumanifest.xml -PtargetFolder=./tmp/

Where S3_proc.xml is attached.

S3_proc.xml (8.6 KB)

Related topic: Bands and Tie Grids are not aligned

Indeed this is a bug. It can happen that the boundary is not correctly computed when using the pixel-based geo-coding. This is now fixed for the upcoming SNAP release.

1 Like

Great news! Thank you. I look forward to PREVIEW 6.

Salutations Marco,

I just wanted to verify Snap version 6 available since 15 Jan resolves per pixel geolocation issues? I have a note from 7 Dec, 2017 “PREVIEW-7 solves border issue when using PP geolocation.”

best,

Jason

Hi Jason,

Yes, this is fixed in the release.