Tags:
create new tag
, view all tags

RAPPORT DE TEST

Fichier de contraintes (marsiaa.cots)


01 AxisShortcut SPATIAL: Axis[ucd="pos"]
02 AxisShortcut FLUX: Axis[independantAxis="false"]
03
04 # 1. Verifier que tous les Ik ont une resolution spatiale proche et exprimee dans la meme unite:
05 # NEAR(:SPATIAL.Resolution.resolutionRefVal, 0.3)

06 EQUAL(:SPATIAL.Resolution.unit)
07
08 # 2. Verifier que les tailles sont identiques:
09 EQUAL(:SPATIAL.numBins) OR [ EQUAL(:SPATIAL.numBins2.I1) AND EQUAL(:SPATIAL.numBins2.I2) ] OR [ EQUAL(:SPATIAL.numBins3.I1) AND EQUAL(:SPATIAL.numBins3.I2) AND EQUAL(:SPATIAL.numBins3.I3) ]
10
11 # 3. Verifier que toutes les images sont superposables:
12 EQUAL(:SPATIAL.Coverage.location.unit)
13 EQUAL(:SPATIAL.Coverage.location.coordsystem)
14
15 # 4. Observables: (min-max)>=100 sinon WARNING:
16 EQUAL(:FLUX.coverage.bounds.unit)
17 IF (:FLUX.bounds.limitHi - :FLUX.bounds.limitLo >= 100)
18     WARNING("(Observables: min-max < 100) Il faut faire une normalisation en niveau de gris !")
19 FI
20
22 # 5. ...
23 EQUAL(:FLUX.ucd)
24 :FLUX.bounds.extent < 100
25 # MASK: Verifier que le mask est donne en entree:
26 IF (EXISTS ("2"))
27     # 1. ObservableAxis: min=0, max=1:
28     #2:FLUX.ucd = meta.code.class

29     2:FLUX.bounds.extent = 2
30
31     # 2. SpatialAxis: numbins = numbins INPUT:
32     # line 8 !

33 *FI
*

Fichier Characterisation utilise pour le test

http://cds.unistra.fr/twiki/pub/Stages/ManteletReunion6RapportTest/characTest.xml


Resultats du test

Pour ce test, le fichier de Characterisation donne n'a pas ete valide. Voici les messages d'erreur de validation obtenus:

1 Contrainte EQUAL(:SPATIAL.resolution.unit)
Message ALERT! CONTRAINTE NON VALIDEE (ligne: 6; colonne: 1): EQUAL(:axis[ucd = pos].resolution.unit) ! => OPERANDE NON EVALUE (ligne: 6; colonne: 7), surement inexistant: ':axis[ucd = pos].resolution.unit' => Impossible de donner le resultat de cette propriete si elle n'a pas ete valuee ! (cf Property.valuate)
Commentaire DONE Comportement normal ! Le fichier donne ne contient pas de champs "Resolution".
2 Contrainte EQUAL(:SPATIAL.coverage.location.unit)
Message ALERT! CONTRAINTE NON VALIDEE (ligne: 12; colonne: 1): EQUAL(:axis[ucd = pos].coverage.location.unit) ! => OPERANDE NON EVALUE (ligne: 12; colonne: 7), surement inexistant: ':axis[ucd = pos].coverage.location.unit' => Impossible de donner le resultat de cette propriete si elle n'a pas ete valuee ! (cf Property.valuate)
Commentaire DONE Comportement normal ! Apres le champs "location" il n'y a pas de champs "unit" dans ce fichier.
3 Contrainte EQUAL(:SPATIAL.coverage.location.coordsystem)
Message ALERT! CONTRAINTE NON VALIDEE (ligne: 13; colonne: 1): EQUAL(:axis[ucd = pos].coverage.location.coordsystem) ! => OPERANDE NON EVALUE (ligne: 13; colonne: 7), surement inexistant: ':axis[ucd = pos].coverage.location.coordsystem' => Impossible de donner le resultat de cette propriete si elle n'a pas ete valuee ! (cf Property.valuate)
Commentaire DONE Comportement normal ! Il n'existe pas de champs "coordsystem" dans "location"...en realite "coordsystem" est un attribut. HELP Faut-il egalement gerer les valeurs des attributs dans les contraintes ?
4 Contrainte EQUAL(:axis[independantaxis = false].coverage.bounds.unit)
Message ALERT! CONTRAINTE NON VALIDEE (ligne: 16; colonne: 1): EQUAL(:axis[independantaxis = false].coverage.bounds.unit) ! => OPERANDE NON EVALUE (ligne: 16; colonne: 7), surement inexistant: ':axis[independantaxis = false].coverage.bounds.unit' => Impossible de donner le resultat de cette propriete si elle n'a pas ete valuee ! (cf Property.valuate)
Commentaire DONE Comportement normal ! Dans ce fichier, aucun axe a son champs "independantAxis" egal a "false".
5 Contrainte EQUAL(:axis[independantaxis = false].ucd)
Message ALERT! CONTRAINTE NON VALIDEE (ligne: 22; colonne: 1): EQUAL(:axis[independantaxis = false].ucd) ! => OPERANDE NON EVALUE (ligne: 22; colonne: 7), surement inexistant: ':axis[independantaxis = false].ucd' => Impossible de donner le resultat de cette propriete si elle n'a pas ete valuee ! (cf Property.valuate)
Commentaire DONE Comportement normal ! Dans ce fichier, aucun axe a son champs "independantAxis" egal a "false".
6 Contrainte :axis[independantaxis = false].bounds.extent < 100
Message ALERT! CONTRAINTE NON VALIDEE (ligne: 23; colonne: 1): :axis[independantaxis = false].bounds.extent < 100 ! => OPERANDE NON EVALUE (ligne: 23; colonne: 1), surement inexistant: ':axis[independantaxis = false].bounds.extent' => Impossible de donner le resultat de cette propriete si elle n'a pas ete valuee ! (cf Property.valuate)
Commentaire DONE Comportement normal ! Dans ce fichier, aucun axe a son champs "independantAxis" egal a "false".
Topic revision: r4 - 2007-12-07 - AndreSchaaff
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback