Skip to content

Commit 4bc3e1e

Browse files
authored
Merge pull request #1716 from knutfrode/dev
Dev
2 parents 49da86e + a6c59d1 commit 4bc3e1e

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

docs/source/install.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,27 @@ 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+
++++++++++++++++++++++++
70+
71+
To install and use OpenDrift in the JupyterHub workspace on https://wekeo.copernicus.eu, type the following in a workspace terminal window
72+
73+
.. code-block:: bash
74+
75+
$ mamba install opendrift
76+
77+
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.
78+
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:
80+
81+
.. code-block:: bash
82+
83+
COPERNICUSMARINE_SERVICE_USERNAME=<your CMEMS username>
84+
COPERNICUSMARINE_SERVICE_PASSWORD=<your CMEMS password>
85+
86+
OpenDrift can now be imported and used in the JupyterHub notebooks.
87+
88+
6889
Building and using the Docker image
6990
+++++++++++++++++++++++++++++++++++
7091

opendrift/models/basemodel/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
logging.getLogger('botocore').setLevel(logging.INFO)
2222
logging.getLogger('urllib3').setLevel(logging.INFO)
2323
logging.getLogger('PIL').setLevel(logging.INFO)
24+
logging.getLogger('fiona').setLevel(logging.INFO)
2425

2526
try:
2627
from dotenv import load_dotenv

0 commit comments

Comments
 (0)