Skip to main content

ADAO: A module for Data Assimilation and Optimization

Project description

About ADAO: A module for Data Assimilation and Optimization

The ADAO module provides data assimilation and optimization features in Python or SALOME context (see http://www.salome-platform.org/). Briefly stated, Data Assimilation is a methodological framework to compute the optimal estimate of the inaccessible true value of a system state, eventually over time. It uses information coming from experimental measurements or observations, and from numerical a priori models, including information about their errors. Parts of the framework are also known under the names of calibration, adjustment, state estimation, parameter estimation, parameter adjustment, inverse problems, Bayesian estimation, optimal interpolation, mathematical regularization, meta-heuristics for optimization, model reduction, data smoothing, etc. More details can be found in the full ADAO documentation (see https://www.salome-platform.org/ User Documentation dedicated section).

Only the use of ADAO text programming interface (API/TUI) is introduced here. This interface gives ability to create a calculation object in a similar way than the case building obtained through the graphical interface (GUI). When one wants to elaborate directly the TUI calculation case, it is recommended to extensively use all the ADAO module documentation, and to go back if necessary to the graphical interface (GUI), to get all the elements allowing to correctly set the commands.

A simple setup example of an ADAO TUI calculation case

To introduce the TUI interface, lets begin by a simple but complete example of ADAO calculation case. All the data are explicitly defined inside the script in order to make the reading easier. The whole set of commands is the following one:

from numpy import array, matrix
from adao import adaoBuilder
case = adaoBuilder.New()
case.set( 'AlgorithmParameters', Algorithm = '3DVAR' )
case.set( 'Background',          Vector = [0, 1, 2] )
case.set( 'BackgroundError',     ScalarSparseMatrix = 1.0 )
case.set( 'Observation',         Vector = array([0.5, 1.5, 2.5]) )
case.set( 'ObservationError',    DiagonalSparseMatrix = '1 1 1' )
case.set( 'ObservationOperator', Matrix = '1 0 0;0 2 0;0 0 3' )
case.set( 'Observer',            Variable = "Analysis", Template = "ValuePrinter" )
case.execute()

The result of running these commands in SALOME (either as a SALOME “shell” command, in the Python command window of the interface, or by the script execution entry of the menu) is the following:

Analysis [ 0.25000264  0.79999797  0.94999939]

More advanced examples of ADAO TUI calculation case

Real cases involve observations loaded from files, operators explicitly defined as generic functions including physical simulators, time dependant information in order to deal with forecast analysis in addition to calibration or re-analysis. More details can be found in the full ADAO documentation (see documentation on the reference site https://www.salome-platform.org/, with https://docs.salome-platform.org/latest/gui/ADAO/en/index.html for english or https://docs.salome-platform.org/latest/gui/ADAO/fr/index.html for french, both being equivalents).

License and requirements

The license for this module is the GNU Lesser General Public License (Lesser GPL), as stated here and in the source files:

<ADAO, a module for Data Assimilation and Optimization>

Copyright (C) 2008-2024 EDF R&D

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

See http://www.salome-platform.org/

In addition, it is requested that any publication or presentation, describing work using this module, or any commercial or non-commercial product using it, cite at least one of the references below with the current year added:

The documentation of the module is also covered by the license and the requirement of quoting.

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

adao-9.13.0.1.tar.gz (365.7 kB view details)

Uploaded Source

File details

Details for the file adao-9.13.0.1.tar.gz.

File metadata

  • Download URL: adao-9.13.0.1.tar.gz
  • Upload date:
  • Size: 365.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for adao-9.13.0.1.tar.gz
Algorithm Hash digest
SHA256 a96b8df553031cc201c24155a1d53ef1394f9e7ccfbb1539174a66669e84ccf9
MD5 e9ba3aa49e179a8621481a01eb146447
BLAKE2b-256 e4d1d83a58f75d010e833aac9bd1b0ba52c5429f0ed5ad6f3880cddafc9b9f0b

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