Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sen2cor config issue with "di.SPACEC RAFT_NAME.text" #14

Open
ValentinaHutter opened this issue Aug 9, 2024 · 2 comments
Open

sen2cor config issue with "di.SPACEC RAFT_NAME.text" #14

ValentinaHutter opened this issue Aug 9, 2024 · 2 comments

Comments

@ValentinaHutter
Copy link

I have been trying to make use of sen2cor3 in sen2like, where I first downloaded sen2cor and then updated my sen2like config.ini to include the path to sen2cor3 and use_sen2cor = True as well as sen2cor_topographic_correction = True.

I am running into this error:

File "/sen2cor_3.1.0_python_3.10/SEN2COR_3/L2A_Process.py", line 760, in main

    L2A_TILES = config.updateTiles()

  File "/sen2cor_3.1.0_python_3.10/SEN2COR_3/L2A_Config.py", line 4044, in updateTiles

    if self.create_L2A_Tile():

  File "/sen2cor_3.1.0_python_3.10/SEN2COR_3/L2A_Config.py", line 4069, in create_L2A_Tile

    self.getEntriesFromDatastrip()

  File "/sen2cor_3.1.0_python_3.10/SEN2COR_3/L2A_Config.py", line 3997, in getEntriesFromDatastrip

    self.spacecraftName = di.SPACECRAFT_NAME.text

AttributeError: 'bool' object has no attribute 'SPACECRAFT_NAME'

Does anyone know how to resolve it?

@ValentinaHutter
Copy link
Author

@jeromemblouis I saw you added the README and download script, do you know who's maintaining sen2cor3? I would really appreciate it, if you could forward this :)

@ValentinaHutter
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant