Skip to content
Snippets Groups Projects
user avatar
7366050f

Demo Scripts

Recently, we did some updates in our stacks. We corrected the error raised during the use of the maap-s3.py script for which I sent you some workaround few weeks ago.

          Please find the new script here and integrate it in the stack if you need to use it : https://repo.uat.maap-project.org/esa-common/maap-s3-laptop
  • Be careful with the shebang. Replace #!/usr/local/bin/python by #!/opt/conda/bin/python to make it work in Jupyter.

Please find attached notebooks.

  • The Compute ratio provides an example to push and retrieve data from S3 to your workspace and also ingest data in the back end in order to visualize it in the front end.

  • The “edav_example_of_data_access_v0.1.1” notebook in the directory edav allow you to select a data from the back end catalog, and to transfer a subset in your workspace.

    • To make it work the, you need at least to install the version 2.3.3 of GDAL.
  • The “edav_make_subset_from_catalogue_data” notebook in the directory edav allow you to make subset from all catalogues.

Configuration

  • On the terminal launch the init.sh to initialize values with the next command (replace'myemail' 'mypassword' with your credentials) :

        $HOME/demo-scripts/init.sh 'myemail' 'mypassword'

Don’t hesitate if you face any difficulties to call us.