Help with sen2cor and SNAP

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!

It’s really hard to detect errors from the distance so I just can tell how sen2cor works for me:

  1. Installing sen2cor
    Download sen2cor.zip, exctract and run python setup.py install

  2. Downloading and extracting S2 data in C:\Temp\S2\S2A_MSIL1C_20170410T103021_N0204_R108_T32UMU_20170410T103020
    Keeping the full path is crucial
    Open it via File > import > Optical Sensors > Sentinel-2 > S2M-SI S2A

  3. Display in SNAP

  4. Adjusting path names under Tools > Manage external Tools > sen2cor > edit
    Make sure that you enter the full path to your python.exe for the variable PYTHON_BIN (the one you installed sen2cor for otherwise the required modules are not found)

  5. Manage external Tools > sen2cor > run
    Select input file and resolution and hit run


  6. For single tiles, the output raster is written in C:\Temp\S2A_MSIL2A_20170410T103021_N0204_R108_T32UMU_20170410T103020.SAFE
    [2] Output product is shown in the product explorer

  7. View results and compare raster values of both products
    Both statistically and visually the rasters have changed


    Before:

    After:

  8. Resample all rasters to one resolution:

  9. Export resampled files as GeoTiff (File > Export > GeoTiff) so it can be opened in a GIS

  10. The scene classification can be found under Bands > quality > quality_scene_classification

  11. If you need to undertake adjustments you can open L2A_GIPP.xml under C:\Users\_username_\Documents\sen2cor\cfg

Last but not least - have a look at the manual for the details:

1 Like

Hey, Braun,

I sent you attachment in case of open failure. Please check it.

Thanks a lot

Best regard
Xianghong Che

Xianghong Che | Global Land Cover Facility | 4321 Hartwick Building, College Park, MD 20740
E-mail:chexh.15b@gmail.com

problem.pptx (88.3 KB)