Hi unnic,
I did a series on tests in order to reproduce the problems you described, but I’m sorry I cannot reproduce the problems you describe:
I performed following tests on a windows 64 bit machine in the order as listed:
-
Started Sen2Cor 2.2.1 as it was initially installed at the state of release date – worked.
-
Upgraded anaconda with ‘conda update anaconda’ receiving following info afterwards:
packages in environment at C:\Users\umuellerwilm\AppData\Local\Continuum\Anaconda2:
anaconda 4.2.0 np111py27_0
-
Tested the already installed sen2Cor Version after upgrade of Anaconda - worked.
-
Removed the Sen2Cor version 2.2.1 with pip uninstall, confirmed that it was uninstalled from anaconda afterwards and started a new installation from scratch using the sen2cor version as it is provided on the ESA webpage – worked.
I will now place the full trace of my final installation and a test so that you can compare with your situation:
Installed c:\users\umuellerwilm\appdata\local\continuum\anaconda2\lib\site-packages\sen2cor-2.2.1-py2.7.egg
Processing dependencies for sen2cor==2.2.1
Finished processing dependencies for sen2cor==2.2.1
Fetching package metadata …
Solving package specifications: …
Package plan for installation in environment C:\Users\umuellerwilm\AppData\Local\Continuum\Anaconda2:
The following packages will be downloaded:
package | build
---------------------------|-----------------
glymur-0.8.4 | py27_0 2.8 MB sunpy
The following packages will be UPDATED:
glymur: 0.8.3-py27_0 sunpy --> 0.8.4-py27_0 sunpy
Fetching packages …
glymur-0.8.4-p 100% |###############################| Time: 0:00:02 1.09 MB/s
Extracting packages …
[ COMPLETE ]|##################################################| 100%
Unlinking packages …
[ COMPLETE ]|##################################################| 100%
Linking packages …
[ COMPLETE ]|##################################################| 100%
Fetching package metadata …
Solving package specifications: …
Warning: 2 possible package resolutions (only showing differing packages):
- curl-7.49.0-vc9_0.tar.bz2, libnetcdf-4.3.3.1-vc9_4.tar.bz2
- curl-7.45.0-vc9_1.tar.bz2, libnetcdf-4.3.3.1-vc9_5.tar.bz2
Package plan for installation in environment C:\Users\umuellerwilm\AppData\Local\Continuum\Anaconda2:
The following packages will be downloaded:
package | build
---------------------------|-----------------
geos-3.5.0 | vc9_0 3.6 MB
proj4-4.9.2 | vc9_0 568 KB
xerces-c-3.1.4 | vc9_0 1.4 MB
hdf4-4.2.12 | vc9_0 1004 KB
kealib-1.4.6 | vc9_0 203 KB
libnetcdf-4.3.3.1 | vc9_4 423 KB
libgdal-2.1.0 | vc9_0 6.1 MB
Total: 13.2 MB
The following packages will be UPDATED:
geos: 3.4.2-vc9_0 [vc9] --> 3.5.0-vc9_0 [vc9]
hdf4: 4.2.11-0 --> 4.2.12-vc9_0 [vc9]
kealib: 1.4.5-vc9_0 [vc9] --> 1.4.6-vc9_0 [vc9]
libgdal: 2.0.0-vc9_2 [vc9] --> 2.1.0-vc9_0 [vc9]
proj4: 4.9.1-vc9_0 [vc9] --> 4.9.2-vc9_0 [vc9]
xerces-c: 3.1.2-vc9_0 [vc9] --> 3.1.4-vc9_0 [vc9]
The following packages will be DOWNGRADED due to dependency conflicts:
libnetcdf: 4.3.3.1-vc9_5 [vc9] --> 4.3.3.1-vc9_4 [vc9]
Fetching packages …
geos-3.5.0-vc9 100% |###############################| Time: 0:00:06 578.04 kB/s
proj4-4.9.2-vc 100% |###############################| Time: 0:00:02 272.35 kB/s
xerces-c-3.1.4 100% |###############################| Time: 0:00:04 333.56 kB/s
hdf4-4.2.12-vc 100% |###############################| Time: 0:00:01 800.21 kB/s
kealib-1.4.6-v 100% |###############################| Time: 0:00:00 320.60 kB/s
libnetcdf-4.3. 100% |###############################| Time: 0:00:00 479.30 kB/s
libgdal-2.1.0- 100% |###############################| Time: 0:00:03 1.75 MB/s
Extracting packages …
[ COMPLETE ]|##################################################| 100%
Unlinking packages …
[ COMPLETE ]|##################################################| 100%
Linking packages …
[ COMPLETE ]|##################################################| 100%
Fetching package metadata …
Solving package specifications: …
Package plan for installation in environment C:\Users\umuellerwilm\AppData\Local\Continuum\Anaconda2:
The following packages will be downloaded:
package | build
---------------------------|-----------------
gdal-2.1.0 | py27_0 501 KB
The following packages will be UPDATED:
gdal: 2.0.0-py27_1 --> 2.1.0-py27_0
Fetching packages …
gdal-2.1.0-py2 100% |###############################| Time: 0:00:00 558.18 kB/s
Extracting packages …
[ COMPLETE ]|##################################################| 100%
Unlinking packages …
[ COMPLETE ]|##################################################| 100%
Linking packages …
[ COMPLETE ]|##################################################| 100%
copying C:\Users\umuellerwilm\AppData\Local\Continuum\Anaconda2\Lib\site-packages\sen2cor-2.2.1-py2.7.egg/sen2cor\build\lib.win-amd64-2.7\openjp2.dll -> C:\User
s\umuellerwilm\AppData\Local\Continuum\Anaconda2\Scripts
copying C:\Users\umuellerwilm\AppData\Local\Continuum\Anaconda2\Lib\site-packages\sen2cor-2.2.1-py2.7.egg/sen2cor\build\lib.win-amd64-2.7\L2A_AtmCorr.pyd -> C:
Users\umuellerwilm\AppData\Local\Continuum\Anaconda2\Lib\site-packages\sen2cor-2.2.1-py2.7.egg/sen2cor
SEN2COR 2.2.1 setup script:
This will finish the configuration of the environment settings.
OK to continue? [y/n]: y
Please input a path for the sen2cor home directory:
default is: C:\Users\umuellerwilm\documents\sen2cor
Is this OK? [y/n]: y
copying C:\Users\umuellerwilm\AppData\Local\Continuum\Anaconda2\Lib\site-packages\sen2cor-2.2.1-py2.7.egg/sen2cor\cfg\L2A_GIPP.xml -> C:\Users\umuellerwilm\docu
ments\sen2cor\cfg
Setting environment for sen2cor …
Setting environment variable GDAL_DATA:
SUCCESS: Specified value was saved.
Setting environment variable SEN2COR_HOME:
SUCCESS: Specified value was saved.
Setting environment variable SEN2COR_BIN:
SUCCESS: Specified value was saved.
Congratulations, you are done!
- you can call the processor from everywhere via: “L2A_Process”
- you will find the default configuration called “L2A_GIPP.xml” under:
C:\Users\umuellerwilm\documents\sen2cor\cfg
Installation sucessfully performed.
tested anaconda after update:
P:\S2PMAS\Software\Testdata>conda update anaconda
Fetching package metadata …
Solving package specifications: …
All requested packages already installed.
packages in environment at C:\Users\umuellerwilm\AppData\Local\Continuum\Anaconda2:
anaconda 4.2.0 np111py27_0
cd to P:\S2PMAS\Software\Testdata and called Sen2Cor with the following commandline:
P:\S2PMAS\Software\Testdata>L2A_Process S2A_OPER_PRD_MSIL1C_PDMC_20160408T210702_R005_V20160408T055008_20160408T055008.SAFE --resolution=60
Sentinel-2 Level 2A Prototype Processor (Sen2Cor), 2.2.1, created: 2016.04.29 started …
selected resolution is 60 m.
Progress[%]: 1.60 : PID-5040, L2A_ProcessTile: processing with resolution 60 m, elapsed time[s]: 4.358
Progress[%]: 1.60 : PID-5040, L2A_ProcessTile: start of pre processing, elapsed time[s]: 0.002
Progress[%]: 1.68 : PID-5040, L2A_Tables: start import, elapsed time[s]: 0.217
Progress[%]: 2.17 : PID-5040, L2A_Tables: band B01 imported, elapsed time[s]: 1.335
Progress[%]: 14.54 : PID-5040, L2A_Tables: band B02 imported, elapsed time[s]: 33.663
Progress[%]: 27.26 : PID-5040, L2A_Tables: band B03 imported, elapsed time[s]: 34.626
Progress[%]: 40.84 : PID-5040, L2A_Tables: band B04 imported, elapsed time[s]: 36.952
Progress[%]: 44.95 : PID-5040, L2A_Tables: band B05 imported, elapsed time[s]: 11.188
Progress[%]: 48.91 : PID-5040, L2A_Tables: band B06 imported, elapsed time[s]: 10.769
Progress[%]: 52.94 : PID-5040, L2A_Tables: band B07 imported, elapsed time[s]: 10.985
Progress[%]: 57.03 : PID-5040, L2A_Tables: band B8A imported, elapsed time[s]: 11.123
Progress[%]: 57.53 : PID-5040, L2A_Tables: band B09 imported, elapsed time[s]: 1.365
Progress[%]: 57.85 : PID-5040, L2A_Tables: band B10 imported, elapsed time[s]: 0.870
Progress[%]: 61.91 : PID-5040, L2A_Tables: band B11 imported, elapsed time[s]: 11.047
Progress[%]: 66.00 : PID-5040, L2A_Tables: band B12 imported, elapsed time[s]: 11.136
Progress[%]: 66.00 : PID-5040, L2A_ProcessTile: start of Scene Classification, elapsed time[s]: 0.012
Progress[%]: 66.16 : PID-5040, Pre process , elapsed time[s]: 0.417
Progress[%]: 66.42 : PID-5040, L2A_SC init , elapsed time[s]: 0.726
Progress[%]: 66.57 : PID-5040, L2A_CSND_1_1 , elapsed time[s]: 0.387
Progress[%]: 66.69 : PID-5040, L2A_CSND_1_2 , elapsed time[s]: 0.325
Progress[%]: 66.82 : PID-5040, L2A_CSND_2_0 , elapsed time[s]: 0.378
Progress[%]: 66.90 : PID-5040, L2A_CSND_2_1 , elapsed time[s]: 0.204
Progress[%]: 66.97 : PID-5040, L2A_CSND_2_1_2, elapsed time[s]: 0.203
Progress[%]: 67.01 : PID-5040, L2A_CSND_2_2 , elapsed time[s]: 0.093
Progress[%]: 67.15 : PID-5040, L2A_CSND_2_3 , elapsed time[s]: 0.382
Progress[%]: 67.21 : PID-5040, L2A_CSND_2_4 , elapsed time[s]: 0.169
Progress[%]: 67.39 : PID-5040, L2A_CSND_2_5 , elapsed time[s]: 0.480
Progress[%]: 67.52 : PID-5040, L2A_CSND_3 , elapsed time[s]: 0.369
Progress[%]: 67.63 : PID-5040, L2A_CSND_5_1 , elapsed time[s]: 0.281
Progress[%]: 67.78 : PID-5040, L2A_CSND_5_2 , elapsed time[s]: 0.425
Progress[%]: 67.90 : PID-5040, L2A_CSND_6 , elapsed time[s]: 0.328
Progress[%]: 67.97 : PID-5040, L2A_CSND_6_2 , elapsed time[s]: 0.187
Progress[%]: 68.12 : PID-5040, L2A_CSND_7 , elapsed time[s]: 0.396
Progress[%]: 69.70 : PID-5040, L2A_SHD , elapsed time[s]: 4.301
Progress[%]: 69.78 : PID-5040, DV recovery , elapsed time[s]: 0.236
Progress[%]: 69.88 : PID-5040, WP recovery , elapsed time[s]: 0.272
Progress[%]: 69.99 : PID-5040, Snow recovery , elapsed time[s]: 0.278
Progress[%]: 70.04 : PID-5040, Soil recovery , elapsed time[s]: 0.134
Progress[%]: 70.38 : PID-5040, Post process , elapsed time[s]: 0.946
Progress[%]: 70.38 : PID-5040, L2A_ProcessTile: start of Atmospheric Correction, elapsed time[s]: 0.004
Progress[%]: 70.49 : PID-5040, L2A_AtmCorr: end of calculation terrain maps, elapsed time[s]: 0.288
Progress[%]: 70.49 : PID-5040, L2A_AtmCorr: start of AOT retrieval at 550nm, elapsed time[s]: 0.004
Progress[%]: 70.72 : PID-5040, L2A_AtmCorr: end of AOT retrieval at 550nm, elapsed time[s]: 0.616
Progress[%]: 71.62 : PID-5040, L2A_AtmCorr: end of internal classification, elapsed time[s]: 2.459
Progress[%]: 71.81 : PID-5040, L2A_AtmCorr: end of interpolation LUTs, elapsed time[s]: 0.502
Progress[%]: 71.81 : PID-5040, L2A_AtmCorr: end retrieving reference pixels for dark areas, elapsed time[s]: 0.006
Progress[%]: 72.84 : PID-5040, L2A_AtmCorr: end of check for dense bright vegetation pixels, elapsed time[s]: 2.800
Progress[%]: 73.28 : PID-5040, L2A_AtmCorr: end of receiving atmospheric functions for all altitudes and visibilities, elapsed time[s]: 1.200
Progress[%]: 73.28 : PID-5040, L2A_AtmCorr: start of WV retrieval, elapsed time[s]: 0.004
Progress[%]: 73.73 : PID-5040, L2A_AtmCorr: end of WV retrieval preparation, elapsed time[s]: 1.215
Progress[%]: 82.53 : PID-5040, L2A_AtmCorr: end of WV retrieval, elapsed time[s]: 23.957
Progress[%]: 82.53 : PID-5040, L2A_AtmCorr: start of rho retrieval, elapsed time[s]: 0.004
Progress[%]: 84.38 : PID-5040, L2A_AtmCorr: end of rho retrieval preparation, elapsed time[s]: 5.043
Progress[%]: 92.99 : PID-5040, L2A_AtmCorr: end of rho retrieval step 1, elapsed time[s]: 23.432
Progress[%]: 99.58 : PID-5040, L2A_AtmCorr: end of rho retrieval step 2, elapsed time[s]: 18.943
Progress[%]: 99.23 : PID-5040, L2A_ProcessTile: start of post processing, elapsed time[s]: 0.047
Progress[%]: 98.86 : PID-5040, L2A_Tables: start export, elapsed time[s]: 0.013
Progress[%]: 99.15 : PID-5040, L2A_Tables: band B01 exported, elapsed time[s]: 1.775
Progress[%]: 99.40 : PID-5040, L2A_Tables: band B02 exported, elapsed time[s]: 1.687
Progress[%]: 99.63 : PID-5040, L2A_Tables: band B03 exported, elapsed time[s]: 1.730
Progress[%]: 99.63 : PID-5040, L2A_Tables: band B04 exported, elapsed time[s]: 1.722
Progress[%]: 99.63 : PID-5040, L2A_Tables: band B05 exported, elapsed time[s]: 1.749
Progress[%]: 99.63 : PID-5040, L2A_Tables: band B06 exported, elapsed time[s]: 2.298
Progress[%]: 99.63 : PID-5040, L2A_Tables: band B07 exported, elapsed time[s]: 1.739
Progress[%]: 99.63 : PID-5040, L2A_Tables: band B8A exported, elapsed time[s]: 1.942
Progress[%]: 99.63 : PID-5040, L2A_Tables: band B09 exported, elapsed time[s]: 1.864
Progress[%]: 99.63 : PID-5040, L2A_Tables: band B11 exported, elapsed time[s]: 2.072
Progress[%]: 99.63 : PID-5040, L2A_Tables: band B12 exported, elapsed time[s]: 1.781
Progress[%]: 99.45 : PID-5040, L2A_Tables: band SCL exported, elapsed time[s]: 0.511
Progress[%]: 99.16 : PID-5040, L2A_Tables: band SNW exported, elapsed time[s]: 0.197
Progress[%]: 98.97 : PID-5040, L2A_Tables: band CLD exported, elapsed time[s]: 0.508
Progress[%]: 98.67 : PID-5040, L2A_Tables: band AOT exported, elapsed time[s]: 0.197
Progress[%]: 98.78 : PID-5040, L2A_Tables: band WVP exported, elapsed time[s]: 1.295
Progress[%]: 99.07 : PID-5040, L2A_Tables: preview image exported, elapsed time[s]: 1.804
Progress[%]: 98.71 : PID-5040, L2A_Tables: stop export, elapsed time[s]: 0.020
Progress[%]: 100.00 : Application terminated successfully.