Skip to content

Practical sessions of data assimilation with a shallow water model.

License

Notifications You must be signed in to change notification settings

cerea-daml/adomo-mocis-wape-daml-tutorial

Repository files navigation

Data assimilation applied to a shallow water model: practical sessions

Tobias Finn, CEREA, [email protected]

DOI

During these sessions, you will apply two classical data assimilation methods to a shallow water model. The objective for you is to better understand these methods, figure out their practical implementations and identify their key parameters.

These practical sessions, originally designed by Vivien Mallet and Alban Farchi , are part of the data assimilation course by Marc Bocquet.

Installation

You have two options to execute the tutorial.ipynb: you could either use Google Colab or you could install it locally.

Google Colab

To use the notebook with the shared resources from Google Colab, you need a Google account.

Click on: Open In Colab

For that notebook, you have only reading rights. To execute the notebook, you need to save the notebook in your own Google Drive: File -> Save a copy in Drive, a new tab will open with the copied notebook.

After accessing your own copy, you have to connect to the runtime. On the top right, there is a button connect, when you click on it, you instantiate your own runtime. Afterwards, you're ready to go with the notebook. All needed git clone and python import are performed for you in the notebook.

Local installation

Install conda, for example through miniconda or through mamba.

Clone the repertory:

$ git clone [email protected]:cerea-daml/adomo-mocis-wape-daml-tutorial.git

Go to the repertory. Once there, create a dedicated anaconda environment for the sessions:

$ conda env create -f environment.yaml

Activate the newly created environment:

$ conda activate tutorial

[Optional] Update the environment:

$ conda update --all

[Optional] Test the environment (this may take up to one minute):

$ python test_import.py

Open the notebook (e.g. with Jupyter) and follow the instructions:

$ jupyter-notebook tutorial.ipynb