Skip to content

Commit 8c51a88

Browse files
authored
Merge pull request #1717 from knutfrode/dev
[run-ex] Updated installation instructions for WEkEO and EDITO
2 parents 3b7e4c1 + d2de9d9 commit 8c51a88

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

docs/source/install.rst

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,25 @@ If you later want to edit the OpenDrift source code, or be able to update from r
6565
6666
$ pip install --no-deps -e .
6767
68-
Install and use on WEkEO
69-
++++++++++++++++++++++++
68+
Install and use on WEkEO and EDITO
69+
++++++++++++++++++++++++++++++++++
7070

71-
To install and use OpenDrift in the JupyterHub workspace on https://wekeo.copernicus.eu, type the following in a workspace terminal window
71+
To install and use OpenDrift in the JupyterHub workspace on https://wekeo.copernicus.eu or https://datalab.dive.edito.eu, type the following in a workspace terminal window
7272

7373
.. code-block:: bash
7474
7575
$ mamba install opendrift
7676
7777
By installing in the base environment, you can use the default Python kernel for notebooks, and there is no risk of conflict with existing environment.
7878

79-
If you want to use copernicus products as forcing, you can store your credentials in a file .env in the same folder as your notebooks:
79+
If you want to use copernicus products as forcing, you can set your credentials as environment variables from the same terminal.
80+
81+
.. code-block:: bash
82+
83+
$ export COPERNICUSMARINE_SERVICE_USERNAME=<your CMEMS username>
84+
$ export COPERNICUSMARINE_SERVICE_PASSWORD=<your CMEMS password>
85+
86+
Alternatively, you can store your credentials in a file .env in the same folder as your notebooks:
8087

8188
.. code-block:: bash
8289

0 commit comments

Comments
 (0)