📝 | Link to this page: https://tinyurl.com/assim-intro |
---|
Required software:
-
You need to install Julia available from https://julialang.org/downloads/. The exercise is tested with the versions 1.9 or later of Julia (on Linux and Windows 10) and Mac OS should work too.
-
In addition, you need to install some Julia packages. Once you start julia, you need to type (or better copy-paste) these commands:
using Pkg
Pkg.add(["NCDatasets","PyPlot","Interpolations","DataAssim","IJulia","GeoMapping"])
using PyPlot
using IJulia
notebook()
For Windows, please have a look here on how to use copy-paste in the Windows terminal.
These commands will also install matplotlib
and jupyter
.
Confirm the installation of jupyter
with conda. The installation can take a while and should be done before the lecture.
On some older laptops, some steps can take quite a long time. It is not adviced to interrupt the installation process.
If the installation of PyPlot
fails, one can also use the package PythonPlot
.
PythonPlot
can be install by the following Julia commands:
using Pkg
Pkg.add("PythonPlot")
using PythonPlot
If for some reason, the installation fails and the problem cannot be resolved, one can try to use Binder (see below) as an alternative. More information about the installation is available here.
Click on the "launch binder" icon to start the notebooks. Setting-up the working environement on the binder service can take a couple of minutes. Binder will automatically shut down user sessions that have more than 10 minutes of inactivity. This will lead to the error message "Not Connected". If you use binder, you need to avoid any inactivity during a binder session. Binder might not be always available and therefore it is recommended to install all software on your computer.
- Get the code for the exercise by extract the zip file or by using git:
git clone https://github.com/Alexander-Barth/HF-radar-assim-exercise.git
This create the folder HF-radar-assim-exercise