- Timestamp:
- 01/15/13 17:08:28 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
geisa/web/initGeisa_script.jsp
r690 r694 906 906 switch (this.selectDatabase2.getValue()) { 907 907 case 'GEISA2003': 908 paramBase2 = " - dirin "+this.pathProcess+" -dirout "+this.LongPathImages+this.NomRepFileOut+" -filein2 "+this.pathProcess+"line_GEISA2003_bin_gs08_v1.0 -database_name2 GEISA2003";908 paramBase2 = " -filein2 "+this.pathProcess+"line_GEISA2003_bin_gs08_v1.0 -database_name2 GEISA2003"; 909 909 break; 910 910 case 'GEISA2011': 911 paramBase2 = " - dirin "+this.pathProcess+" -dirout "+this.LongPathImages+this.NomRepFileOut+" -filein2 "+this.pathProcess+"line_GEISA2009_bin -database_name2 GEISA2011 -database_type gs08";911 paramBase2 = " -filein2 "+this.pathProcess+"line_GEISA2009_bin -database_name2 GEISA2011 -database_type gs08"; 912 912 break; 913 913 case 'HITRAN2009': 914 paramBase2 = " - dirin "+this.pathProcess+" -dirout "+this.LongPathImages+this.NomRepFileOut+" -filein2 "+this.pathProcess+"HITRAN_2009_bin -database_name2 HITRAN2009";914 paramBase2 = " -filein2 "+this.pathProcess+"HITRAN_2009_bin -database_name2 HITRAN2009"; 915 915 break; 916 916 } … … 969 969 this.nbCourbe = this.nbMolecules; 970 970 if (this.nbCourbe > 8) { 971 alert("Too much molecules selected to draw one curve for each molecule selected ");971 alert("Too much molecules selected to draw one curve for each molecule selected (>8)"); 972 972 return; 973 973 } … … 978 978 this.nbCourbe = this.nbIsotopes; 979 979 if (this.nbCourbe > 8) { 980 alert("Too much isotopologues selected to draw one curve for each isotopologues selected ");980 alert("Too much isotopologues selected to draw one curve for each isotopologues selected (>8)"); 981 981 return; 982 982 } … … 986 986 this.nbGraph = this.nbMolecules; 987 987 if (this.nbGraph > 20) { 988 alert("Too much molecules selected to draw one graph for each molecules selected ");988 alert("Too much molecules selected to draw one graph for each molecules selected (>20)"); 989 989 return; 990 990 } … … 994 994 this.nbGraph = this.nbIsotopes; 995 995 if (this.nbGraph > 20) { 996 alert("Too much isotopologues selected to draw one graph for each isotopologues selected ");996 alert("Too much isotopologues selected to draw one graph for each isotopologues selected (>20)"); 997 997 return; 998 998 } … … 1265 1265 } 1266 1266 1267 1268 1267 1269 //sélection du type d'échelle pour le parametre Y2 (il y a une valeur pour ce champ que si logaritmic est choisi et si l'option est activée) 1268 1270 if (this.selectScaleY2.getValue() == '-log_scale2' && this.selectScaleY2.isDisable == false) … … 1289 1291 //choix du type de sortie pour l'option graphique 'databases comparison" 1290 1292 var diffStep=""; 1291 this.selectOutputDatabasecomparison.getValue()1292 1293 switch (this.selectOutputDatabasecomparison.getValue()) { 1293 1294 case 'def': … … 1318 1319 1319 1320 //construction du nom du fichier (exemple GEISA2011-0_100) 1320 this.nomFichier=this.selectDatabase.getValue()+"-"+$("#rangeLower").val()+"_"+$("#rangeUpper").val(); 1321 1321 //this.nomFichier=this.selectDatabase.getValue()+"-"+$("#rangeLower").val()+"_"+$("#rangeUpper").val(); 1322 switch ($("#graphicOptionChoice").val()) { 1323 //(exemple GEISA2011-0_100) 1324 case 'contents': 1325 this.nomFichier=this.selectDatabase.getValue()+"-"+$("#rangeLower").val()+"_"+$("#rangeUpper").val(); 1326 break; 1327 case 'global': 1328 this.nomFichier=this.selectDatabase.getValue()+"-"+$("#rangeLower").val()+"_"+$("#rangeUpper").val(); 1329 break; 1330 //(exemple GEISA2011_GEISA2003-0_100) 1331 case 'comparison': 1332 this.nomFichier=this.selectDatabase.getValue()+"_"+this.selectDatabase2.getValue()+"-"+$("#rangeLower").val()+"_"+$("#rangeUpper").val(); 1333 break; 1334 } 1322 1335 1323 1336 //Submit pour l'option graphique "Database contents" … … 1376 1389 if ($("#graphicOptionChoice").val() =="comparison" ) 1377 1390 { 1391 //sélection du type de tracé pour pour la 2Úme base de données pour l'option "database comparison" 1392 var lineType2="-line_type2 "+this.selectTypeTraceDatabase2.getValue(); 1378 1393 1379 1394 1380 1395 //construction de la requête Fortran 1381 1396 var parameters = "&fortranRequest="+paramBase+" "+paramBase2+" "+isotopesSelectedName+" "+rangeLower+" "+rangeUpper+" "+samplingStep+" "+intensityLower+" "+intensityUpper+" "+ 1382 meanValue+" "+nbCourbes+" "+field+" "+logScale+" "+lineType+" "+ diffStep;1397 meanValue+" "+nbCourbes+" "+field+" "+logScale+" "+lineType+" "+lineType2+" "+diffStep; 1383 1398 1384 1399
Note: See TracChangeset
for help on using the changeset viewer.