if cr.match(ln): return 1
return 0
AdjointOperatorInNS.info = u"The Python file has to contain explicitly an \\"AdjointOperator\\" function definition with only one pair of vectors as argument."
-"""%(module_version.name,module_version.version)
+"""%(module_version.name,module_version.cata)
# Important : validators=[...] pour que les conditions soient traitees simultanement, en "ET", et pas en "OU" (choisi dans le cas du tuple a la place de la liste)
# validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)]
#
# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-name = "ADAO"
-version = "V8_5_0" # Version pour catalogue, avec des "_" entre les numeros
-date = ""
-year = "2018" # Annee de copyright
+"""
+ Version
+"""
+__author__ = "Jean-Philippe ARGAUD"
+__all__ = []
+
+name = "ADAO"
+version = "8.5.0"
+year = "2018"
+date = "mardi 27 mars 2018, 12:12:12 (UTC+0100)"
+
+longname = name + ", a module for Data Assimilation and Optimization"
+cata = "V" + version.replace(".","_")
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.append(os.path.abspath('.'))
-sys.path.append(os.path.abspath("../../bin"))
-import module_version
+try:
+ sys.path.append(os.path.abspath("../../bin"))
+ import module_version
+ print("Import du module_version de bin...")
+except:
+ pass
+try:
+ sys.path.append(os.path.abspath("../../adao/adao/daCore"))
+ import version as module_version
+ print("Import du module_version de daCore...")
+except:
+ pass
# -- General configuration -----------------------------------------------------
#
# The short X.Y version.
# version = '7\_main'
-version = '%s'%module_version.version.replace('_','.')
+version = '%s'%module_version.version
# The full version, including alpha/beta/rc tags.
# release = '7\_main'
-release = '%s'%module_version.version.replace('_','.')
+release = '%s'%module_version.version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
-html_title = "Documentation %s %s"%(module_version.name,module_version.version.replace('_','.'))
+html_title = "Documentation %s %s"%(module_version.name,module_version.version)
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None
# -- Options for LaTeX output --------------------------------------------------
# The paper size ('letter' or 'a4').
-latex_paper_size = 'a4'
+latex_paper_size = 'letter'
# The font size ('10pt', '11pt' or '12pt').
latex_font_size = '10pt'
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.append(os.path.abspath('.'))
-sys.path.append(os.path.abspath("../../bin"))
-import module_version
+try:
+ sys.path.append(os.path.abspath("../../bin"))
+ import module_version
+ print("Import du module_version de bin...")
+except:
+ pass
+try:
+ sys.path.append(os.path.abspath("../../adao/adao/daCore"))
+ import version as module_version
+ print("Import du module_version de daCore...")
+except:
+ pass
# -- General configuration -----------------------------------------------------
#
# The short X.Y version.
# version = '7\_main'
-version = '%s'%module_version.version.replace('_','.')
+version = '%s'%module_version.version
# The full version, including alpha/beta/rc tags.
# release = '7\_main'
-release = '%s'%module_version.version.replace('_','.')
+release = '%s'%module_version.version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
-html_title = "Documentation %s %s"%(module_version.name,module_version.version.replace('_','.'))
+html_title = "Documentation %s %s"%(module_version.name,module_version.version)
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None
__author__ = "Jean-Philippe ARGAUD"
__all__ = []
-name = "ADAO, a module for Data Assimilation and Optimization"
-version = "8.5.0"
-date = "mardi 27 mars 2018, 12:12:12 (UTC+0100)"
+name = "ADAO"
+version = "8.5.0"
+year = "2018"
+date = "mardi 27 mars 2018, 12:12:12 (UTC+0100)"
+
+longname = name + ", a module for Data Assimilation and Optimization"
+cata = "V" + version.replace(".","_")
"EnsembleBlue",
"KalmanFilter",
"ExtendedKalmanFilter",
+ "EnsembleKalmanFilter",
"UnscentedKalmanFilter",
"LinearLeastSquares",
"NonLinearLeastSquares",
AlgoDataRequirements["KalmanFilter"] = [
"Background", "BackgroundError",
"Observation", "ObservationError",
+ "ObservationOperator",
]
AlgoDataRequirements["ExtendedKalmanFilter"] = [
"Background", "BackgroundError",
"Observation", "ObservationError",
"ObservationOperator",
]
+AlgoDataRequirements["EnsembleKalmanFilter"] = [
+ "Background", "BackgroundError",
+ "Observation", "ObservationError",
+ "ObservationOperator",
+ ]
AlgoDataRequirements["UnscentedKalmanFilter"] = [
"Background", "BackgroundError",
"Observation", "ObservationError",
AlgoType["EnsembleBlue"] = "Optim"
AlgoType["KalmanFilter"] = "Optim"
AlgoType["ExtendedKalmanFilter"] = "Optim"
+AlgoType["EnsembleKalmanFilter"] = "Optim"
AlgoType["UnscentedKalmanFilter"] = "Optim"
AlgoType["LinearLeastSquares"] = "Optim"
AlgoType["NonLinearLeastSquares"] = "Optim"