Sen2Cor-02.05.05-win64 - AttributeError: 'L2A_Tables' Object has no attribute '_L2A_Tile_PVI_File'


#1

Hello,

I am trying to process at 10 m and I continue to get this error:
AttributeError: ‘L2A_Tables’ Object has no attribute ‘_L2A_Tile_PVI_File’
Is anyone familiar with this/ have any solutions?

Thanks in advance,

Addy


SEN2COR tool
Sen2Cor process error
Sen2cor 2.4.0 on SNAP 6.0
#2

Hi,

I got the same error, and solved it by processing 20 m first.

Some parameters seems to be messed up when the 10 m function tries to call the 20 m one.

Cheers,
Nils


#3

Hello,

Thank you for the reply. Would you mind explaining to me how I might do this? When I attempt to include the 20 m into the processing I get an error asking for the L1C and that it doesn’t fit a certain mask.

Thank you again,

Ashley


#4

Dear Users,

In order to run Sen2Cor 2.5.5 at 10m resolution, you do not have to specify the ‘–resolution’ field.

Please perform the following steps to process Sen2Cor at 10m resolution:

  1. go in the folder containing the ‘L2A_Process.bat’ (e.g. “C:\Sen2Cor-02.05.05-win64”)
  2. digit “L2A_Process.bat [directory_name]”
    –> e.g. "L2A_Process.bat C:\S2A_MSIL1C_20170316T094021_N0204_R036_T33SVB_20170316T094506.SAFE

To run Sen2Cor at 20m resolution:
“L2A_Process.bat --resolution 20 [directory_name]”
–> e.g. “L2A_Process.bat --resolution 20 C:\S2A_MSIL1C_20170316T094021_N0204_R036_T33SVB_20170316T094506.SAFE”

To run Sen2Cor at 60m resolution:
“L2A_Process.bat --resolution 60 [directory_name]”
–> e.g. “L2A_Process.bat --resolution 60 C:\S2A_MSIL1C_20170316T094021_N0204_R036_T33SVB_20170316T094506.SAFE”

Best Regards,
Fabrizio


Problem with sen2cor 2.5.5 version
Sen2Cor does not process 10m bands
Error using sen2cor v2.5.5-- No such file or directory: 'nul'
Sen2Cor 2.5.5 Error
Is there any requirements about the the computer memory when using sen2cor to process the sentinel-2 data
Sen2cor 2.5.5: L2A tables error
Sen2cor run error L2A_ProcessTile.py
Sen2Cor 10m output lost
Sen2cor parameters
After Sen2cor atmospheric correction some bands are missing
#5

There is no way to generate the 10 m on its own? Thank you. This was helpful!


#6

Is that the solution of the problem with 10m resolution?. It would be important to know I think @OHagolle


#7

I do confirm that running sen2cor standalone without specifying the resolution will return the 10m level2 product with no errors.


#8

Hi, I can confirm it works. Thanks for the answers !
Olivier


#9

I did not specify any resolution but it processed all. My machine is Ubuntu.


#10

Hi Fabrizio,

In my practice, your solution for 10m resolution generates all three resolution. Is it possible to only generate 10m and 20m resolutions?

Thank you.
Steve


#12

Hello what does it mean make option ‘all’ in paramaters résolution when runing sen2cor


#13

Sentinel-2 has bands of different resolution:
https://earth.esa.int/web/sentinel/user-guides/sentinel-2-msi/resolutions/spatial


#14

Yes i understand but when i run sen2cor with all or 60 or 20 m the attmosferic correction done correctely but when i run sen2cor with directley 10 m in paramaters he start processing but for a few second he stop working bug
What ils the problem here
Thanks


#15

did you try it from the command line as suggested by @Fabrizio_Ramoino a couple of posts above?


#16

For processing of the 10m images, data from the 20/60m images are needed as input. That is, for 10m L2A products one anyways has to process the 20/60m data. It seems there is a bug (at least in the SNAP plugin), that doesn’t trigger the 20/60m (pre-)processing correctly when 10m resolution is selected.

workaround #1 (as suggested here): choose ‘all’ for resolutions to process.

workaround #2 (haven’t tried that yet, though): do the 20m (and maybe 60m, too. just test…) processing first, then the 10m after without moving or renaming the L2A output folder. This way the 10m processing should recognize that there is (the required pre-processing) data in the L2A output folder and apply this.


#17

When i shoose all i got a result of all résolution 10 20 60


#18

In fact i dont use command line
Si i will run sen2cor with 60 m when processus finshed i will run sen2cor with 20 m when finish i will run sen2cor with 10 m withaut changing name of output. Product


#19

yes, that’s the definition of ‘all’. Anything wrong with that?


#20

yes, like that. you can probably leave out the separate 60m processing. just try it out…


#21

Thanks helping me