Index: trunk/SRC/ToBeReviewed/LECTURE/read_ncdf.pro
===================================================================
--- trunk/SRC/ToBeReviewed/LECTURE/read_ncdf.pro	(revision 177)
+++ trunk/SRC/ToBeReviewed/LECTURE/read_ncdf.pro	(revision 181)
@@ -561,6 +561,6 @@
       ncdf_attget, cdfid, 'hc', hc, /global
 ; look for all variables names
-      allvarnames = strarr(varcontient.nvars)
-      FOR i = 0, varcontient.nvars-1 DO BEGIN
+      allvarnames = strarr(contient.nvars)
+      FOR i = 0, contient.nvars-1 DO BEGIN
         tmp = ncdf_varinq( cdfid, i)
         allvarnames[i] = tmp.name
@@ -568,5 +568,5 @@
       CASE 1 OF
         keyword_set(hfilename):  $
-           hroms = read_ncdf('h', 0, 0, FILENAME = hfile $
+           hroms = read_ncdf('h', 0, 0, FILENAME = hfilename $
                              , /TIMESTEP, /NOSTRUCT, CONT_NOFILL = CONT_NOFILL $
                              , GRID = vargrid, /CALLITSELF, _EXTRA = ex)
@@ -583,5 +583,5 @@
                             , /TIMESTEP, /NOSTRUCT, CONT_NOFILL = CONT_NOFILL $
                             , GRID = vargrid, /CALLITSELF, _EXTRA = ex)
-        (where(allvarnames EQ 'h'))[0] NE -1: $
+        (where(allvarnames EQ 'zeta'))[0] NE -1: $
            zeta = read_ncdf('zeta', firsttps, lasttps, FILENAME = filename $
                             , /TIMESTEP, /NOSTRUCT, CONT_NOFILL = CONT_NOFILL $
Index: trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltv.pro
===================================================================
--- trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltv.pro	(revision 177)
+++ trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltv.pro	(revision 181)
@@ -127,4 +127,5 @@
 ;------------------------------------------------------------
   determineminmax, z2d, msk, truemin, truemax, MININ = min, MAXIN = max, NAN = nan
+  z2d = min > temporary(z2d) < max
 ;------------------------------------------------------------
 ; apply other keywords (nointerp, c_nan, c_mask) 
@@ -132,6 +133,6 @@
   IF NOT keyword_set(nointerp) THEN BEGIN
 ; interpolation between bottom and bottom+ncolors-1
-    m = 1.*(ncolors-1)/(truemax-truemin)
-    p = bottom - 1.*truemin*m
+    m = 1.*(ncolors-1)/(max-min)
+    p = bottom - 1.*min*m
     z2d = m * temporary(z2d) + p
   ENDIF
Index: trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/loadgrid.pro
===================================================================
--- trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/loadgrid.pro	(revision 177)
+++ trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/loadgrid.pro	(revision 181)
@@ -64,8 +64,14 @@
 ; add the arguments and keywords if necessary
   IF n_elements(meshfile) GT 1 AND strmid(listing, 0, 1) NE '@' THEN BEGIN 
-    FOR i = 1+(filepro NE 'NOT FOUND'), n_elements(meshfile)-1 DO listing = listing + ', ' + meshfile[i]
+    FOR i = 1, n_elements(meshfile)-1 DO BEGIN
+      IF strpos(meshfile[i], '.') NE -1 THEN str = isnumber(meshfile[i]) ELSE str = createfunc('n_elements('+meshfile[i]+')')
+      IF str EQ 0 THEN listing = listing + ', ''' + meshfile[i] + '''' ELSE listing = listing + ', ' + meshfile[i]
+    ENDFOR
   ENDIF
 
   IF strmid(listing, 0, 1) NE '@' THEN listing = listing + ', strcalling = ''' + meshfilein + ''', _extra = ex'
+
+print, listing
+
 
   createpro, listing, filename = myuniquetmpdir +'for_createpro.pro', _extra = ex
Index: trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/scanfile.pro
===================================================================
--- trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/scanfile.pro	(revision 177)
+++ trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/scanfile.pro	(revision 181)
@@ -231,10 +231,10 @@
         dummy = report('the file '+fullname+' has no time axis.!C we create a fake calendar ...')
         fakecal = 1
-        time = date0fk + lindgen(jpt)
+        time = date0fk + lindgen(1>jpt)
       END
       invar.natts EQ 0:BEGIN 
         dummy = report('the variable '+invar.name+' has no attribut.!C we create a fake calendar ...')
         fakecal = 1
-        time = date0fk + lindgen(jpt)
+        time = date0fk + lindgen(1>jpt)
       END
       ELSE:BEGIN
@@ -247,5 +247,5 @@
           dummy = report('Attribut ''units'' not found for the variable '+invar.name+'!C we create a fake calendar ...')
           fakecal = 1
-          time = date0fk + lindgen(jpt)
+          time = date0fk + lindgen(1>jpt)
         ENDIF ELSE BEGIN 
 ; we read the time axis
@@ -271,5 +271,5 @@
             dummy = report('attribut units of time has not the good format: [^ ]* since ([0-9]){4}-([0-9]){2}-([0-9]){2}.*')
             fakecal = 1
-            time = date0fk + lindgen(jpt)
+            time = date0fk + lindgen(1>jpt)
           ENDIF ELSE BEGIN 
             debut = str_sep(mots[2], '-')
@@ -325,5 +325,5 @@
             IF max(histogram([long(time-time[0])])) GT 1 THEN fakecal = 1 ELSE fakecal = 0
             date0fk = date2jul(19000101)
-            IF keyword_set(fakecal) THEN time = date0fk+lindgen(jpt) $
+            IF keyword_set(fakecal) THEN time = date0fk+lindgen(1>jpt) $
             ELSE time = long(time)
 ;
Index: trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/selectfile.pro
===================================================================
--- trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/selectfile.pro	(revision 177)
+++ trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/selectfile.pro	(revision 181)
@@ -258,5 +258,5 @@
   based = widget_base(base, /row, /align_center, uname = 'arg base', sensitive = 0)
   dummyid = widget_label(based, value = 'procedure arguments')
-  agrbase = widget_text(based, value = '', uvalue = {name:'argtxt'} $
+  argbase = widget_text(based, value = '', uvalue = {name:'argtxt'} $
                         , uname = 'argtxt', xsize = 45, /EDITABLE)
 ; keyword informations
