What is the solution of atmospheric correction procedure if I don't want to download 6G sentinel xml file?

Hi.
I am tring to convert sentinel-2 data from 1C level to 2A level. I check online , config and install sen2cor, which is official software for atmosphere correction.

But the problem is, I have to download the huge sentinel xml file data, but I only need small part of it. The 1st question is, is it a proper way to cut this xml ‘image’ according to given geographical coordinates?

I tried to do atmosphere correction using anaconda python, but it seems that the processing went quite slow (3% in about 20min)! Did I do something wrong, or it should be this kind of slow?

Besides, sentinel amazon provides .jp2 data to download. But it seems that sen2cor only supports .xml data instead of .jp2 data, isn’t it?

I also tried ATCOR model in ERDAS, but the problem is they don’t provide Sentinel-2 satellite…

So, in summary, I basically don’t know how to deal with this problem. I just want to convert TOA to BOA conveniently and efficiently. Anyone has some ideas??

Thanks!

processing whole S2 scenes (as delivered before July 2015) can take quite a lot of time, especially at 10m resolution. So 20 minutes for 3% is still realistic.
And yes, data from AMazon Web Service is currently not supported by sen2cor.

You can process single tiles in this product with a little trick. Go into the GRANULE folder and rename all folders with data you don’t need. For example
S2A_OPER_MSI_L1C_TL_SGS__20160721T154816_A005639_T32TMT_N02.04 to
NO_S2A_OPER_MSI_L1C_TL_SGS__20160721T154816_A005639_T32TMT_N02.04

If you then run L2A_Process it should only work on the remaining tiles.

Thanks a lot. Problem solved. : )

Hi,
it is not necessary to rename the folders to launch Sen2cor on individual tiles. You just need to address individual tiles just like below :

L2A_Process --resolution 10 /mnt/data/SENTINEL2/L1C_PDGS/S2A_OPER_PRD_MSIL1C_PDMC_20160416T225749_R121_V20160416T082220_20160416T082220.SAFE/GRANULE/S2A_OPER_MSI_L1C_TL_SGS__20160416T122809_A004265_T36RXV_N02.01

Best regards,
Olivier

1 Like