Problem with Sen2Cor under SNAP - Ubuntu, cannot find file

Ubuntu 14.04 LTS on a Dell R815 server… used by several people. It seemed as though sen2cor v 2.3.0 was working with SNAP 4.0. Then people complained it did not work at all; sen2cor under snap that is… they used snap for other processing OK. Does not have a graphics card installed, but we’re using Cygwin X server and Exceed for gui displays of SNAP, Qgis, Rstudio, Grass.

Seemed like a good time to try upgrades, so I installed snap version 5.0 and sen2cor 2.3.1 (uses anaconda). No improvement.

Here is the end of my log file, can anyone decipher & find a clue what’s going on please? I’m just the sysadmin, trying to keep thins goind. Thanks in advance.

Dave
Snap log file messages.log:

dstrom@afsisdata2:log$ tail -f messages.log
INFO [org.esa.snap]: Executing tool ‘org.esa.s2tbx.sen2cor’ with command line: ‘/usr/bin/python /home/dstrom/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.1-py2.7.egg/sen2cor/L2A_Process.py --resolution 60 /data1/sentinel2/raws/tanzania/2016s1/davetest’
INFO [org.esa.snap]: Traceback (most recent call last):
INFO [org.esa.snap]: File “/home/dstrom/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.1-py2.7.egg/sen2cor/L2A_Process.py”, line 7, in
INFO [org.esa.snap]: from tables import *
SEVERE [org.esa.snap]: ImportError: No module named tables
INFO [org.esa.snap]: Process exited with value 1
INFO [org.esa.snap]: Finished tool execution in 0 seconds
INFO [org.esa.snap]: Trying to open /data1/sentinel2/raws/tanzania/2016s1/davetest/S2A_USER_MTD_SAFL2A_PDMC_20160101T161459_R035_V20160101T082628_20160101T082628.xml
WARNING [org.esa.snap]: Opening target product by guessing the plugin failed [File not found: /data1/sentinel2/raws/tanzania/2016s1/davetest/S2A_USER_MTD_SAFL2A_PDMC_20160101T161459_R035_V20160101T082628_20160101T082628.xml]. Trying by extension.
INFO [org.esa.snap]: Building product reader - EPSG:32734
INFO [org.esa.snap]: Building product reader - EPSG:32735
INFO [org.esa.snap]: Skipping tile S2A_OPER_MTD_L1C_TL_SGS__20160101T115610_A002749_T36LTP.xml because it has crs EPSG:32736 instead of requested EPSG:32735
INFO [org.esa.snap]: Skipping tile S2A_OPER_MTD_L1C_TL_SGS__20160101T115610_A002749_T36LTQ.xml because it has crs EPSG:32736 instead of requested EPSG:32735
INFO [org.esa.snap]: Skipping tile S2A_OPER_MTD_L1C_TL_SGS__20160101T115610_A002749_T36LTR.xml because it has crs EPSG:32736 instead of requested EPSG:32735
INFO [org.esa.snap]: Skipping tile S2A_OPER_MTD_L1C_TL_SGS__20160101T115610_A002749_T36LUP.xml because it has crs EPSG:32736 instead of requested EPSG:32735
INFO [org.esa.snap]: Skipping tile S2A_OPER_MTD_L1C_TL_SGS__20160101T115610_A002749_T36LUQ.xml because it has crs EPSG:32736 instead of requested EPSG:32735
INFO [org.esa.snap]: Skipping tile S2A_OPER_MTD_L1C_TL_SGS__20160101T115610_A002749_T36LUR.xml because it has crs EPSG:32736 instead of requested EPSG:32735
INFO [org.esa.snap]: Executing tool ‘org.esa.s2tbx.sen2cor’ with command line: ‘/usr/bin/python /home/dstrom/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.1-py2.7.egg/sen2cor/L2A_Process.py --resolution 60 /data1/sentinel2/raws/tanzania/2016s1/davetest’
INFO [org.esa.snap]: Traceback (most recent call last):
INFO [org.esa.snap]: File “/home/dstrom/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.1-py2.7.egg/sen2cor/L2A_Process.py”, line 7, in
INFO [org.esa.snap]: from tables import *
SEVERE [org.esa.snap]: ImportError: No module named tables
INFO [org.esa.snap]: Process exited with value 1
INFO [org.esa.snap]: Finished tool execution in 0 seconds
INFO [org.esa.snap]: Trying to open /data1/sentinel2/raws/tanzania/2016s1/davetest/S2A_USER_MTD_SAFL2A_PDMC_20160101T161459_R035_V20160101T082628_20160101T082628.xml
WARNING [org.esa.snap]: Opening target product by guessing the plugin failed [File not found: /data1/sentinel2/raws/tanzania/2016s1/davetest/S2A_USER_MTD_SAFL2A_PDMC_20160101T161459_R035_V20160101T082628_20160101T082628.xml]. Trying by extension.
INFO [org.esa.snap]: Building product reader - EPSG:32734
^C
dstrom@afsisdata2:log$ tail -f messages.log
INFO [org.esa.snap]: File “/home/dstrom/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.1-py2.7.egg/sen2cor/L2A_Process.py”, line 7, in
INFO [org.esa.snap]: from tables import *
SEVERE [org.esa.snap]: ImportError: No module named tables
INFO [org.esa.snap]: Process exited with value 1
INFO [org.esa.snap]: Finished tool execution in 0 seconds
INFO [org.esa.snap]: Trying to open /data1/sentinel2/raws/tanzania/2016s1/davetest/S2A_USER_MTD_SAFL2A_PDMC_20160101T161459_R035_V20160101T082628_20160101T082628.xml
WARNING [org.esa.snap]: Opening target product by guessing the plugin failed [File not found: /data1/sentinel2/raws/tanzania/2016s1/davetest/S2A_USER_MTD_SAFL2A_PDMC_20160101T161459_R035_V20160101T082628_20160101T082628.xml]. Trying by extension.
INFO [org.esa.snap]: Building product reader - EPSG:32734
INFO [org.esa.snap.rcp.SnapApp]: Request to stop SNAP Desktop
INFO [org.esa.snap.rcp.SnapApp]: Stopping SNAP Desktop

Me again(OP)… I wonder if the “Import Error: No module named tables” is the critical piece?

INFO [org.esa.snap]: Executing tool ‘org.esa.s2tbx.sen2cor’ with command line: ‘/usr/bin/python /home/dstrom/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.1-py2.7.egg/sen2cor/L2A_Process.py --resolution 60 /data1/sentinel2/raws/tanzania/2016s1/davetest’
INFO [org.esa.snap]: Traceback (most recent call last):
INFO [org.esa.snap]: File “/home/dstrom/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.1-py2.7.egg/sen2cor/L2A_Process.py”, line 7, in
INFO [org.esa.snap]: from tables import *
SEVERE [org.esa.snap]: ImportError: No module named tables
INFO [org.esa.snap]: Process exited with value 1
INFO [org.esa.snap]: Finished tool execution in 0 seconds
INFO [org.esa.snap]: Trying to open /data1/sentinel2/raws/tanzania/2016s1/davetest/S2A_USER_MTD_SAFL2A_PDMC_20160101T161459_R035_V20160101T082628_20160101T082628.xml
WARNING [org.esa.snap]: Opening target product by guessing the plugin failed [File not found: /data1/sentinel2/raws/tanzania/2016s1/davetest/S2A_USER_MTD_SAFL2A_PDMC_20160101T161459_R035_V20160101T082628_20160101T082628.xml]. Trying by extension.

Seems like pytables is already installed…

dstrom@afsisdata2:~$ conda install tables
Fetching package metadata …

PackageNotFoundError: Package missing in current linux-64 channels:

  • tables

Close matches found; did you mean one of these?

tables: pytables, tabulate, r-xtable

dstrom@afsisdata2:~$ conda install pytables
Fetching package metadata …
Solving package specifications: .

Package plan for installation in environment /home/dstrom/anaconda2:

The following packages will be UPDATED:

pytables: 3.2.3.1-np111py27_0 --> 3.3.0-np111py27_0

Proceed ([y]/n)? y

pytables-3.3.0 100% |#####################################################################################################| Time: 0:00:00 38.58 MB/s
dstrom@afsisdata2: