(Only for Linux Users at the moment)
Do you know that with 2 lines of codes, you can have TELEMAC installed on your machine?
mamba create --yes --name telemac-demo --channel conda-forge git git-lfs opentelemac inspectds
mamba activate telemac-demo
openTELEMAC has been added to conda-forge and is now available to a wider public.
Anyone (like students, post-grad students etc..) that wants to know about TELEMAC can use these 2 lines of code to have a fresh install and can start experimenting.
There is more:
we have developed a set of python routines to support Selafin formats in python:
- check datasets in the command line with inspectds
- read Selafin files in xarray with xarray-selafin
In other terms, that means that with less 10 lines of code:
mamba create --yes --name telemac-demo --channel conda-forge git git-lfs opentelemac inspectds
mamba activate telemac-demo
git clone https://gitlab.pam-retd.fr/otm/telemac-mascaret --depth 1
cd telemac-mascaret
git-lfs install
cd examples/telemac2d/cone_diffusion
telemac2d.py t2d_cone_diffusion_FE.cas
inspectds r2d_cone_diffusion.slf
you can install openTELEMAC, run a test and check results
Another on-going work is to support to Selafin for
Thalassa, an optimized visualization library using bokeh.
example for the Manche test:
I will post in the thread once support for Selafin will available on Thalassa (not more than a few weeks).
Finally, to understand the full power of xarray, xarray-selafin and bokeh, have a look at these notebooks:
1. create wind forcing from scratch:
tomsail.github.io/static/create_selafin_wind.html
2. load a 7km mesh of the global ocean (Selafin) and renumber its nodes based on global maritime sectors
tomsail.github.io/static/renumber.html
PS: to add
windows and
macOs support, collaborations are more than welcome at
github.com/conda-forge/opentelemac-feedstock