CNES / MAJA

Level-2A processor used for atmospheric correction and cloud-detection. The active repository is the one below, this one is kept to leave access to the older issues.
https://gitlab.orfeo-toolbox.org/maja/maja
Apache License 2.0
137 stars 25 forks source link

python3 compatibility, fix some bug #19

Closed EkicierNico closed 3 years ago

olivierhagolle commented 5 years ago

Thanks, I'll try to find some time to test these changes. Did you manage to have start-maja running on Python 3 with these changes ? Does it still run in Python 2 ? Regards, Olivier

EkicierNico commented 5 years ago

Hello, thanks for your answer. Start-maja is running on Python 3 in my side and it works with these changes. I think it still run on Python 2, I modified only the function "file" to "open" in start_maja.py. Concerning others scripts, mainly I put brackets in print function so it will work but the behavior of print will be different perhaps. I did not run it on Python 2. Maybe it's a good idea to create a "Python 3 branch" meanwhile the end of support for Python 2...