Salome HOME
bug
[tools/eficas.git] / Adao / monCode_Cata.py
1 # -*- coding: utf-8 -*-
2 from Accas import *
3
4 JdC = JDC_CATA (code = 'ADAO',
5                 execmodul = None,
6                 )
7 JdC = JDC_CATA (code = 'ADAO',
8                 execmodul = None,
9                 regles = ( AU_MOINS_UN ('ASSIMILATION_STUDY','CHECKING_STUDY'), AU_PLUS_UN ('ASSIMILATION_STUDY','CHECKING_STUDY')),
10                )
11
12
13 ASSIMILATION_STUDY = PROC(nom="ASSIMILATION_STUDY", op=None, repetable           = "n",
14         Study_name          = SIMP(statut="o", typ = "TXM"),
15         Study_repertory     = SIMP(statut="f", typ = "Repertoire", min=1, max=1),
16         Debug               = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0),
17         Algorithm           = SIMP(statut="o", typ = "TXM", into=("3DVAR", "Blue", "EnsembleBlue", "KalmanFilter", "LinearLeastSquares", "NonLinearLeastSquares", "ParticleSwarmOptimization", "QuantileRegression", )),
18         Background          = FACT(statut="o",
19                      regles=(UN_PARMI('SCRIPT_DATA_FILE','VECTOR_STRING'),),
20                      Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"),
21                      SCRIPT_DATA_FILE = SIMP(statut = "f", typ = "FichierNoAbs", validators=(OnlyStr()), fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing the definition of an internal variable of the same name as the parent concept"),
22                      VECTOR_STRING = SIMP(statut = "f", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"),
23                               ),
24
25 )