Skip to content

CMCC-Foundation/ETICO

Repository files navigation

ETICO -- EstuarIO Thalweg Identification Code

A python software to identify the thalweg in a river

Preparation

Before running the script, you have to (create and) activate the proper environment. The creation can be done with:

$ conda create -n etico
$ conda activate etico
$ conda install python xarray cartopy termcolor matplotlib scipy
$ conda install -c conda-forge geopy

NOTE: on some systems, one of the dependencies (libxcb) may cause problems. In case, remove it with:

$ conda uninstall libxcb

Invoking the script

To invoke the script:

$ python etico.py <NETCDF_FILE> <CONFIG_FILE>

Please remember to check that settings in the config file are correct. See sample_tolle.conf for an example.

Tests

Po Goro

The following are the results of determining the thalweg of Po Goro branch.

Po Gnocca

For Po Gnocca river:

Po Dritta

For Po Dritta river:

Po Maistra

For Po Maistra river:

Po Tolle

The following picture shows the result of running the algorithm on the Po Tollo branch of Po river.

About

A python software to identify the thalweg in a river

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages