Sentinel-2 Level 2A Prototype Processor (Sen2Cor), 2.2.1, created: 2016.04.29 started …
Traceback (most recent call last):
File “C:\Program Files\Anaconda2\Scripts\L2A_Process-script.py”, line 9, in
load_entry_point(‘sen2cor==2.2.1’, ‘console_scripts’, ‘L2A_Process’)()
File “C:\Program Files\Anaconda2\lib\site-packages\sen2cor-2.2.1-py2.7.egg\sen2cor\L2A_Process.py”, line 221, in main
result = config.readPreferences()
File “C:\Program Files\Anaconda2\lib\site-packages\sen2cor-2.2.1-py2.7.egg\sen2cor\L2A_Config.py”, line 3258, in readPreferences
File “C:\Program Files\Anaconda2\lib\site-packages\sen2cor-2.2.1-py2.7.egg\sen2cor\L2A_XmlParser.py”, line 161, in export
objectify.deannotate(self._root, xsi_nil=True, cleanup_namespaces=True)
File “lxml.objectify.pyx”, line 1728, in lxml.objectify.deannotate (src\lxml\lxml.objectify.c:24484)
File “cleanup.pxi”, line 49, in lxml.etree.strip_attributes (src\lxml\lxml.etree.c:150012)
File “apihelpers.pxi”, line 63, in lxml.etree._rootNodeOrRaise (src\lxml\lxml.etree.c:15610)
TypeError: Invalid input object: NoneType
Actually the same error is given even if the command used is:
Hello. Please provide the OS version and the anaconda version that you installed. I can see the Sen2Cor version is 2.2.1, and the error is present using the command, so the SNAP version is not important.
I’m working on Windows 10 Build 1607 with Anaconda 4.2.9.
Later I’m testing on CentOS 6.6 with the same Anaconda version and I get another error after few minutes of elaboration (but at least it does something)
I’ve tested different configurations on Windows and it still doesn’t even start (but I think I’ll give up on this platform). On the CentOS system it always fails for the “key = columns.get” with any parameters of the Ozone_Content values.
Unfortunatly I can’t change the Anaconda version until the technician is back so I can only wait for now.
I think it’s now about the Ozone Content, with me the problem was setting Mid Latitude and Aerosol to AUTO , when you set it like that the above error pops out. Here is my L2A_GIPP.xml (4.1 KB) , working without problems (for now , because with Sen2Cor you never know).