semiautomaticgit / SemiAutomaticClassificationPlugin

https://fromgistors.blogspot.com/p/semi-automatic-classification-plugin.html
Other
136 stars 50 forks source link

Pixel size changes when processing Sentinel 2 band 12 data #65

Closed BiggusDaveus closed 4 years ago

BiggusDaveus commented 4 years ago

Hi there,

I am trying to use SCP to download Sentinel 2 data and convert to indices. I want to create both NDVI using Band 4 and 8 and STR (using band 12). The resolutions of these bands are 10m for 4 and 8 and 20m for Band 12.

I do the processing using DOS1 as per instructions, however I then want to align the rasters to resample band 12 to 10m to match with bands 4 and 8. I noted that the pixel and image size for Band 12 was now the same as Band 4 and 8, however the pixels are still the full 20m (when measured).

Perhaps I am doing something wrong in the conversion/preprocessing but I don't see where I am making a mistake.

Any help with this matter would be greatly appreciated!

Thanks,

Dave O'Leary

semiautomaticgit commented 4 years ago

Hello Dave O'Leary, bands with 20m spatial resolution are resampled to 10m resolution without changing the original pixel value (i.e. one 20m pixel is divided in four 10m pixels with the same value). This allows calculations without changing original values. Best

BiggusDaveus commented 4 years ago

Thanks alot,

Thats all cleared up now!!

Cheers for the quick response.

Dave

On Sat, 17 Aug 2019 at 09:34, Luca Congedo notifications@github.com wrote:

Hello Dave O'Leary, bands with 20m spatial resolution are resampled to 10m resolution without changing the original pixel value (i.e. one 20m pixel is divided in four 10m pixels with the same value). This allows calculations without changing original values. Best

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/semiautomaticgit/SemiAutomaticClassificationPlugin/issues/65?email_source=notifications&email_token=AIHHTUGNJADFGWCKD44X3KLQE6ZYHA5CNFSM4IMHQ4WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4QGOVQ#issuecomment-522217302, or mute the thread https://github.com/notifications/unsubscribe-auth/AIHHTUA3OJTLPP55NELOAEDQE6ZYHANCNFSM4IMHQ4WA .