Help with sen2cor and SNAP

ok i input the folder with the image to C: the result is the same
self.logger.fatal ('wrong identifier for xml structure: ’ + product)
attribute Error : ‘None type’ object has no attribute ‘fatal’

Hello ABraun,

thank you for your brief “tutorial”! Could you tell me if there is a kind of list of the operation (which corrections) sen2cor does? Thank you!

Best regards, Piero

besides the manual there is a nice poster which summarizes the tool’s performance.

1 Like

Hello ABraun,

Thank you for the answer! It’s perfect, now I know what are the all output and I’ve one more question: I’m running sen2cor using scripts (like you) and I want to know I can set the script so as to obtain only the Bottom of atmosphere corrected (which is the only one I need).

Thank you,

Hello ABraun,

I have a problem regarding SEN2COR plugin . The output file which was obtained after processing has same DN values as the input file. I was unable to find where i was wrong. Please help me out.


are you aware of the QUANTIFICATION_VALUE?

Are the values exactly the same? You could check with the scatter plot tool.

The below image is output of band 2 of L1C product.

this is input data set plot for the same

Is the output correct?

I have changed the input file location that is the reason i got the wrong output…Now i have resolved it. The process was successful but the output files which were found in c:\documents\sen2cor folder were like as shown in image.

How or where can i get the processed image? Please help me out


yes, that is possible. They should now be S2A_USER… instead of S2A_OPER…
This means that it was successfully performed.

are you sure this is your output data? It usually lies in a folder S2A_OPER…

How do you open it?

Yes, it is the output file. I tried to open it

is there no metadata file (S2A_USER_… .xml) in the folder above?
Open this instead of the single image files. Just like you opened the original product.

hey, Mounika

You used Sen2Cor plugin? why I can not output images?

Thanks alot. It worked. why it was not opening when i was trying open by layer? And from this metadata how to identify band with 10m resolution if the bands were as shown in figure.

And have another issue with processing.for few datasets it was running properly and for few it was running only for 20m resolution and 60m even when i input only B02-B04 and B-08 bands and for one dataset it was not at all running for all the three resolutions and have shown the following dialogue box.

In product explorer, select the product which you want to export and click export under files.

Please read the sen2cor manual and use the search function of this forum. Many things like this have already been discussed in other topics.

now click sen2cor button, there is no response.
It seems like nothing happend.

you use which type of data?


I can not open the second data in SNAP.

hi, ABraun,

do you meet this problem?

hey, ABraun

It seems you are a expert in using SNAP. I have two questions to ask using Sen2Cor.

(1) I open data

image.png793x243 13.7 KB
when i process, the result show:

how should I address this problem?
(2) can you open this type of data?

image.png917x250 16.8 KB
i try to open in SNAP, but when the data was loaded, there is nothing in product Explorer.
Thank you very much for your help. I am a little urgent about the processing, please help me as soon as possible
Thanks again!