![]() ![]() ![]() I asked that because I received the following error message after lauching –> i understand geouser is your username but I never found the anaconda2 folder by navigating in ubuntu… home/geouser/anaconda2/bin/python (“python” works but “which python” does not work…)Įxport SEN2COR_HOME=/home/geouser/sen2cor (is it the folder that contains the installation file?)Įxport SEN2COR_BIN=/home/geouser/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.1-py2.7.egg/sen2cor (?)Įxport GDAL_DATA=/home/geouser/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.1-py2.7.egg/sen2cor/cfg/gdal_data (?) If the process finish successfully youhave a new directory (in the same of your S2AL1C-.SAFE) with L2A productĬould you explain how to know the different paths below and precisely what they correspond ? You can try with a non-local emplacement but becarefull with file perimission on Linux…Īnd you can laucnh a commandline like that: Import a S2AL1C tile in geouser directory (or another local directory) Now you can save the L2A_GIPP.xml and quit I hope this bug will be correct in the next release of sen2cor. Mid_Latitude: Never set this parameter on AUTO (if you do that you will have an error like) :.Aerosol type: First time select MARITIME or RURAL, and when you are sure sen2cor is functionnal you can try with AUTO parameter.In Atmospheric correction, Look Up table, you have to check following paramters: In the xml you just have to set the number of cores. Sudo nano /home/geouser/sen2cor/cfg/L2A_GIPP.xmlįor the test of sen2cor we will not set all the variables, but just three of them:Ĭhange parameters for number of processorsīecarefull if you have a 6 cores VM you have to assign 24 GB of RAM (1 core =4GB), for security i put 6 cores and 30 Gb of RAM. You have to edit the “L2A_GIPP.xml” before (save a copy of this file beofre editing) Now you can check sen2cor with this command line:Īt the end of installation, you have to reboot Next you have to define environement variables:Īdd the following lines at the end of the doc, save and quitĮxport SEN2COR_HOME=/home/geouser/sen2corĮxport SEN2COR_BIN=/home/geouser/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.1-py2.7.egg/sen2corĮxport GDAL_DATA=/home/geouser/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.1-py2.7.egg/sen2cor/cfg/gdal_data When snap ask about configuration of python, do it and enter the path of python you have noted during anaconda install(in my case: /home/geouser/anaconda2/bin/python)īecarefull with the next step: if there is an error you have probably a problem with your python path… ![]() My own path is for exemple (note this path for later) It will open an interpreter with anaconda mentionned Installation of SSH (for remote access to the server)īash /home/geouser/ANACONDA/Anaconda2-4.2.0-Linux-x86_64.shįollow the differents steps, note differents paths You have to make a clear and fresh installation of Ubuntu Server 16.10 and you can follow the steps hereafter In this tuto, my username is “geouser”, you have to replace paths with your own… With this way, we obtain a functionnal Production server for L2A sentinel products I would like to share with you my experience about installation of production server ubuntu 16.10 with sen2cor 2.3.0 and Snap ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |