hi trying to execute L2A_Process --help this is the output
ImportError: dlopen(//anaconda/lib/python2.7/site-packages/osgeo/_gdal.so, 2): Library not loaded: @rpath/./liblzma.5.dylib
Referenced from: /anaconda/lib/libgdal.20.dylib
Reason: Incompatible library version: libgdal.20.dylib requires version 8.0.0 or later, but liblzma.5.dylib provides version 6.0.0
I already tried to update gdal but is up to date
I did search for the liblzma.5.dylib or the libgdal.20.dylib libraries but nothing happened.
It’s a (new occurring) dependency problem from libgdal wich is described here:
The solution which is described there worked for me as well:
execute: conda update xz from the command line.
Seems like libgdal should have a version dependency on xz.
after following this procedure L2A_Process runs again:
Referenced from: /Users/XXX/anaconda/lib/libgdal.20.dylib
Reason: Incompatible library version: libgdal.20.dylib requires version 8.0.0 or later, but liblzma.5.dylib provides version 6.0.0
positional arguments:
directory Directory where the Level-1C input files are located
optional arguments:
-h, --help show this help message and exit
–resolution {10,20,60}
Target resolution, can be 10, 20 or 60m. If omitted,
all resolutions will be processed
–sc_only Performs only the scene classification at 60 or 20m
resolution
–cr_only Performs only the creation of the L2A product tree, no
processing
–refresh Performs a refresh of the persistent configuration
before start
–GIP_L2A GIP_L2A Select the user GIPP
–GIP_L2A_SC GIP_L2A_SC
Select the scene classification GIPP
–GIP_L2A_AC GIP_L2A_AC
Select the atmospheric correction GIPP