Skip to main content

Differential calibrator of the vertical ocean turbulence closures.

Project description

Python PyPi Documentation Status Tests License: CC-BY-NC

Description

This package provides a framework for calibrating the parameters of vertical physics schemes of ocean circulation models using variational optimization. The parameters are calibrated through the minimization of an 'objective function' which compares model predictions with 'Large Eddy Simulations' (LES). Tunax is written in JAX in order to use automatic differentiation for computing the gradient of the objective function with respect to model parameters.

Repository organisation

Sources

The source code of tunax is in the folder tunax/. The two main modules are tunax/model.py which contains the implementation of the forward Single Column Model and tunax/fitter.py which contains the implementation of the calibration part. The various physical closures equations that Tunax can calibrate are implemented in the folder tunax/closures/. The other modules implement the object used by the model and the callibrator and they are described in the documentation.

Notebooks

The folder notebooks/ contains some notebooks of demonstration of tunax.

Installation

Tunax is installed by default with JAX on CPU.

Stable version

Tunax is pip installable the following command will install the lastest stable release :

pip install tunax

Development release

The most recent additions to Tunax since the last release are implemented in the main branch of this repository. To benefit from them one can clone or fork this repository and install Tunax with the package manager poetry :

poetry install --no-dev

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tunax-0.1.1.tar.gz (35.1 kB view details)

Uploaded Source

Built Distribution

tunax-0.1.1-py3-none-any.whl (39.0 kB view details)

Uploaded Python 3

File details

Details for the file tunax-0.1.1.tar.gz.

File metadata

  • Download URL: tunax-0.1.1.tar.gz
  • Upload date:
  • Size: 35.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.6 Darwin/23.4.0

File hashes

Hashes for tunax-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fc10844b59cd680e343b23b2a373c7fbe3ad50491c1a12fa1f515f3ebebb9e6e
MD5 b599db68e1af8b56d88b5d7ebeaea452
BLAKE2b-256 09f6a367e59d7b92b161e83b49163fdf6d286cf801e3bc718a48f8715fe4ac5d

See more details on using hashes here.

File details

Details for the file tunax-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tunax-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 39.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.6 Darwin/23.4.0

File hashes

Hashes for tunax-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 05ad01f1986c3764e9d0e2f14cbdb7fe4502027cd481209e4a64ac68b6f61015
MD5 af9006315f893de12fefc79fcb308a62
BLAKE2b-256 c9564532f76433be4c6746c71251579198a548bb7fa2520aca1870a168561da3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page