How to upload data from laptop to the Maap - Help
How to upload data from laptop to the Maap
To upload a data in the maap, you need first to login and create a workspace. If you don't know how to login or create a workspace, please see the documention refering to this process.
Upload small data:
Data large less than 250Mo can be drag and drop inside the Jupyter, or the upload button
Upload large data:
When he data exceed 250Mo, you have to use the maap-s3 script we provided in order to facilitate the upload in the maap platform.
Download the maap-s3 script from Gitlab, using git clone https://repo.uat.maap-project.org/esa-common/maap-s3.git command or by downloading the zip of the project
Extract the zip file, open a terminal, set the env variables, and install requests using pip. Please check this documentation in order to set the env variables: https://liferay.val.esa-maap.org/web/guest/help/-/wiki/Main/Use+Maap+S3+script+in+che+Theai?p_r_p_http%3A%2F%2Fwww.liferay.com%2Fpublic-render-parameters%2Fwiki_nodeName=Main&p_r_p_http%3A%2F%2Fwww.liferay.com%2Fpublic-render-parameters%2Fwiki_title=Use%20Maap%20S3%20script%20in%20che%20Theai
Step 3: Upload your data using the API upload.
The command is maap-s3.py upload "the/path/of/your/data/locally" "maap-scientific-data/shared/tkossoko/the-name-of-your-file"
Step 4: Download the data from your workspace by using the maap-s3 script and download API.
The command is maap-s3.py download "maap-scientific-data/shared/tkossoko/the-name-of-your-file" "/projects"