@@ -32,19 +32,23 @@ https://github.com/ESA-PhiLab/OST_Notebooks for getting started.
3232
3333### Docker
3434
35- A docker image is available from docker hub that contains the full package,
35+ ** Update!**
36+
37+ Dockerhub is not permitting automatic builds. Therefore you need to
38+ build your own docker image using the DOCKERFIlE https://raw.githubusercontent.com/ESA-PhiLab/OpenSarToolkit/main/Dockerfile
39+
40+ The resulting docker image contains the full package,
3641including ESA's Sentinel-1 Toolbox, Orfeo Toolbox, Jupyter Lab as well
37- as the Open SAR Toolkit the tutorial notebooks.
42+ as the Open SAR Toolkit tutorial notebooks.
3843
3944Docker installation is possible on various OS. Installation instructions can be
4045found at https://docs.docker.com/install/
4146
4247After docker is installed and running, launch the container with
43- (adapt the path to the shared host folder):
48+ (adapt the path to the shared host folder and the name of the docke rimage at the very end ):
4449
4550```
46- docker pull buddyvolly/opensartoolkit
47- docker run -it -p 8888:8888 -v /shared/folder/on/host:/home/ost/shared buddyvolly/opensartoolkit
51+ docker run -it -p 8888:8888 -v /shared/folder/on/host:/home/ost/shared docker/image
4852```
4953
5054The docker image automatically executes the jupyter lab and runs it on
@@ -68,6 +72,8 @@ If you install SNAP into the standard directory, OST should have no problems
6872to find the SNAP command line executable. Otherwise you need to define the path
6973to the gpt file on your own during processing.
7074
75+ ** Make sure to use SNAP 8 with the latest updates installed.**
76+
7177##### Orfeo Toolbox
7278
7379If you want to create mosaics between different swaths, OST will rely on the
@@ -78,79 +84,25 @@ https://www.orfeo-toolbox.org/download/
7884Make sure that the Orfeo bin folder is within your PATH variable to allow
7985execution from command line.
8086
81- #### OST installation
82-
83- OST is developed under Ubuntu 18.04 OS in python 3.6. It has not been tested
84- much on other OS and python versions, but should in principle work on any OS
85- and any python version >= 3.5.
86-
87- ##### Ubuntu/Debian Linux (using pip)
88-
89- Before installation of OST, run the following line on the terminal to
90- install further dependencies:
91-
92- ```
93- sudo apt install python3-pip git libgdal-dev python3-gdal libspatialindex-dev nodejs npm
94- ```
95-
96- then install OST as a global package (for all users, admin rights needed):
87+ ##### Further dependencies (libs etc)
9788
89+ Ubuntu 18.04 and later:
9890```
99- sudo pip3 install git+https://github.com/ESA-PhiLab/OpenSarToolkit. git
91+ sudo apt install python3-pip git libgdal-dev python3-gdal libspatialindex-dev nodejs npm libgfortran5
10092```
10193
102- or as local package within your home folder (no admin rights needed):
103-
104- ```
105- pip3 install --user git+https://github.com/ESA-PhiLab/OpenSarToolkit.git
106- ```
94+ Any Operating system using (mini)conda https://www.anaconda.com/ :
10795
108- run those commands to enable the correct display of progress bars
10996```
110- sudo pip3 install jupyterlab
111- # this is needed for the progress bar when downloading
112- sudo jupyter-labextension install @jupyter-widgets/jupyterlab-manager
113- sudo jupyter nbextension enable --py widgetsnbextension
114- ```
115-
116- ##### Mac OS (using homebrew/pip)
117-
118- If not already installed, install homebrew as explained on https://brew.sh
119-
120- After installation of homebrew, open the terminal and install
121- further dependecies:
122-
123- ```
124- brew install python3 gdal2 gdal2-python git
125- ```
126-
127- then install OST with python pip:
128- ```
129- pip3 install git+https://github.com/ESA-PhiLab/OpenSarToolkit.git
130-
131- # this is needed for the progress bar when downloading data
132- jupyter labextension install @jupyter-widgets/jupyterlab-manager
133- jupyter nbextension enable --py widgetsnbextension
97+ conda install pip gdal jupyter jupyterlab git matplotlib numpy rasterio imageio rtree geopandas fiona shapely matplotlib descartes tqdm scipy joblib retrying pytest pytest-cov nodejs
13498```
13599
136- ##### Conda Installation (Windows, Mac, Linux)
137-
138- Follow the installation instructions for conda (Miniconda is sufficient) at:
139- https://docs.conda.io/projects/conda/en/latest/user-guide/install/
140-
141- Then run the conda command to install OST's dependencies:
142- ```
143- conda install pip gdal jupyter jupyterlab git matplotlib numpy rasterio imageio rtree geopandas fiona shapely matplotlib descartes tqdm scipy joblib retrying pytest pytest-cov nodejs
100+ #### OST installation
144101
145- # this is needed for the progress bar when downloading
146- jupyter labextension install @jupyter-widgets/jupyterlab-manager
147- jupyter nbextension enable --py widgetsnbextension
148- ```
102+ You can use then use pip to install Open SAR Toolkit:
149103
150- Finally get the OST by using pip
151- (we will work in future on a dedicated conda package for OST).
152104```
153- pip install git+https://github.com/ESA-PhiLab/OpenSarToolkit.git
105+ pip install opensartoolkit
154106```
155107
156108
@@ -206,5 +158,6 @@ that are developed in parallel to this core package and should help to get start
206158
207159## Author
208160
209- * Andreas Vollrath, ESA
161+ * Andreas Vollrath, FAO (ex- ESA philab)
210162* Petr Sevcik, EOX
163+ * James Wheeler, ESA philab
0 commit comments