joheras / water-masses-inference

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inference of water masses

Code for applying the model developed in the paper "Application of multi-regression machine learning algorithms to solve ocean water mass mixing in the Atlantic Ocean".

The model can be used in three different ways:

The first option does not require installation, for the latter two you need to install the packages indicated in the requirements file and clone the current repository.

The notebook contains all the instructions to download the model and use it for inference.

For the script, you need to download the model in the same folder where you cloned the repository.

Then, to execute the script you have to run:

python main.py --latitude XXX --longitude XXX --ctdprs XXX --ctdpot XXX --ctdsal XXX

where XXX should be replaced with the actual values.

For example,

python main.py --latitude -57.4997 --longitude -31.5992 --ctdprs 347.9 --ctdpot 1.8694 --ctdsal 34.587

This will print the predictions and also generate a image file called prediction.png as the following one.

Prediction

About

License:GNU General Public License v3.0


Languages

Language:Jupyter Notebook 86.5%Language:Python 13.5%