I’m also experiencing identical issues on the Mac and have tried it on two differently configured Macs an receive the same problem. Is anyone having success running sen2cor on a mac or does anyone know of a workaround/solution to this problem. For help please find below my full error message:
> L2A_Process --resolution 60 S2A_OPER_PRD_MSIL1C_PDMC_20160128T092947_R108_V20160126T104630_20160126T104630.SAFE/
Sentinel-2 Level 2A Prototype Processor (Sen2Cor), 2.0.6, created: 2015.12.02 started ...
Validating metadata file S2A_OPER_MTD_L1C_TL_SGS__20160126T161251_A003108_T31UGQ.xml against scheme ...
Metadata file is valid.
L2A_Process: processing with resolution 60 m, elapsed time[s]: 5.150
Progress[%]: 5.15 : L2A_Process: start of pre processing, elapsed time[s]: 0.008
Progress[%]: 5.16 : Validating metadata file S2A_OPER_MTD_SAFL1C_PDMC_20160128T092947_R108_V20160126T104630_20160126T104630.xml against scheme ...
Metadata file is invalid, see logfile for details.
Validating metadata file S2A_OPER_MTD_L1C_TL_SGS__20160126T161251_A003108_T31UGQ.xml against scheme ...
Metadata file is valid.
Validating metadata file S2A_OPER_MTD_L1C_DS_SGS__20160126T161251_S20160126T103555.xml against scheme ...
Metadata file is valid.
L2A_Tables: start import, elapsed time[s]: 2.491
Progress[%]: 2.49 : L2A_Tables: band B01 imported, elapsed time[s]: 1.093
Progress[%]: 3.58 : L2A_Tables: band B02 imported, elapsed time[s]: 7.154
Progress[%]: 10.74 : L2A_Tables: band B03 imported, elapsed time[s]: 7.075
Progress[%]: 17.81 : L2A_Tables: band B04 imported, elapsed time[s]: 7.265
Progress[%]: 25.08 : L2A_Tables: band B05 imported, elapsed time[s]: 2.348
Progress[%]: 27.43 : L2A_Tables: band B06 imported, elapsed time[s]: 2.486
Progress[%]: 29.91 : L2A_Tables: band B07 imported, elapsed time[s]: 2.521
Progress[%]: 32.43 : L2A_Tables: band B8A imported, elapsed time[s]: 2.534
Progress[%]: 34.97 : L2A_Tables: band B09 imported, elapsed time[s]: 0.991
Progress[%]: 35.96 : L2A_Tables: band B10 imported, elapsed time[s]: 0.618
Progress[%]: 36.58 : L2A_Tables: band B11 imported, elapsed time[s]: 2.375
Progress[%]: 38.95 : L2A_Tables: band B12 imported, elapsed time[s]: 2.414
Progress[%]: 41.37 : L2A_Tables: stop import, elapsed time[s]: 0.004
Progress[%]: 41.37 : L2A_Process: start of Scene Classification, elapsed time[s]: 0.001
Progress[%]: 41.37 : Pre process , elapsed time[s]: 0.125
Progress[%]: 41.50 : L2A_SC init , elapsed time[s]: 0.099
Progress[%]: 41.60 : L2A_CSND_1_1 , elapsed time[s]: 0.148
Progress[%]: 41.74 : L2A_CSND_1_2 , elapsed time[s]: 0.166
Progress[%]: 41.91 : Traceback (most recent call last):
File "/Users/username/anaconda/bin/L2A_Process", line 9, in <module>
load_entry_point('sen2cor==2.0.6', 'console_scripts', 'L2A_Process')()
File "/Users/username/anaconda/lib/python2.7/site-packages/sen2cor-2.0.6-py2.7.egg/sen2cor/L2A_Process.py", line 283, in main
result = processor.selectAndProcess(tile)
File "/Users/username/anaconda/lib/python2.7/site-packages/sen2cor-2.0.6-py2.7.egg/sen2cor/L2A_Process.py", line 117, in selectAndProcess
self._processed60 = self.process()
File "/Users/username/anaconda/lib/python2.7/site-packages/sen2cor-2.0.6-py2.7.egg/sen2cor/L2A_Process.py", line 140, in process
if(sc.process() == False):
File "/Users/username/anaconda/lib/python2.7/site-packages/sen2cor-2.0.6-py2.7.egg/sen2cor/L2A_SceneClass.py", line 645, in process
if(self.tables.sceneCouldHaveSnow() == True):
File "/Users/username/anaconda/lib/python2.7/site-packages/sen2cor-2.0.6-py2.7.egg/sen2cor/L2A_Tables.py", line 1754, in sceneCouldHaveSnow
lonMin, latMin, dummy = self.transform_utm_to_wgs84(xy[1,0], xy[1,1], zone1, zone2)
File "/Users/username/anaconda/lib/python2.7/site-packages/sen2cor-2.0.6-py2.7.egg/sen2cor/L2A_Tables.py", line 923, in transform_utm_to_wgs84
return utm_to_wgs84_geo_transform.TransformPoint(easting, northing, 0) # returns lon, lat, altitude
File "/Users/username/anaconda/lib/python2.7/site-packages/osgeo/osr.py", line 795, in TransformPoint
return _osr.CoordinateTransformation_TransformPoint(self, *args)
NotImplementedError: Wrong number of arguments for overloaded function 'CoordinateTransformation_TransformPoint'.
Possible C/C++ prototypes are:
TransformPoint(OSRCoordinateTransformationShadow *,double [3])
TransformPoint(OSRCoordinateTransformationShadow *,double [3],double,double,double)