Index: trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/buildcmd.pro
===================================================================
--- trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/buildcmd.pro	(revision 172)
+++ trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/buildcmd.pro	(revision 226)
@@ -5,5 +5,5 @@
 ;
 ; @file_comments
-; This function send back a string which contain the reading command 
+; This function send back a string which contain the reading command
 ; and drawing's parameters.
 ;
@@ -11,11 +11,11 @@
 ;
 ; @keyword BOXZOOM
-; Vector indicating the geographic zone on which we want to cut the map. 
-; If BOXZOOM has : 
+; Vector indicating the geographic zone on which we want to cut the map.
+; If BOXZOOM has :
 ;   1 element : The extraction is made on [lon1, lon2, lat1, lat2, 0.,boxzoom[0]]
 ;   2 elements: The extraction is made on [lon1, lon2, lat1, lat2, boxzoom[0],boxzoom[1]]
 ;   4 elements: The extraction is made on [Boxzoom, 0, max([gdept, gdepw])]
 ;   5 elements: The extraction is made on [Boxzoom[0:3], 0, Boxzoom[4]]
-;   6 elements: The extraction is made on Boxzoom 
+;   6 elements: The extraction is made on Boxzoom
 ; Where lon1, lon2,lat1,lat2 are global variables defined at the last domdef!
 ;
@@ -54,5 +54,5 @@
   numdessinout = smallout[2]-1
 ;
-  options = extractatt(top_uvalue, 'options')   
+  options = extractatt(top_uvalue, 'options')
   optionsflag = extractatt(top_uvalue, 'optionsflag')
   portrait = (strtrim(optionsflag[where(options EQ 'Portrait/Landscape'), 0], 1))[0]
@@ -83,5 +83,5 @@
 ;  Search of options
 ;
-  options = extractatt(top_uvalue, 'options')   
+  options = extractatt(top_uvalue, 'options')
   optionsflag = extractatt(top_uvalue, 'optionsflag')
   flags = optionsflag[*, numdessinin]
@@ -133,5 +133,5 @@
   widcmd =  strtrim(widcmd, 2)
   IF widcmd[0] EQ '' THEN widcmd = 'zzz'
-  
+
   cutcmd, widcmd[0], toread, numberofread, prefix, nameexp, ending
 ;
@@ -158,5 +158,5 @@
 ; we complet the reading command
         oldrdcmd = extractatt(top_uvalue, 'currentreadcmd')
-        nl = n_elements(oldrdcmd) 
+        nl = n_elements(oldrdcmd)
         oldrdcmd[nl-1] = oldrdcmd[nl-1] + ' $'
         readcmd[i] = prefix + readcmd[i]
@@ -164,5 +164,5 @@
       ENDELSE
 ; exit if we have to read other fields...
-      if alreadyread+1 NE numberofread-1 THEN BEGIN 
+      if alreadyread+1 NE numberofread-1 THEN BEGIN
         *top_uvalue[1, findline(top_uvalue, 'currentreadcmd')] = readcmd
         *top_uvalue[1, findline(top_uvalue, 'alreadyread')] = alreadyread+1
@@ -171,6 +171,6 @@
       ENDIF
 ; we finalize the reading command
-      IF ending NE '' THEN BEGIN 
-        nl = n_elements(readcmd) 
+      IF ending NE '' THEN BEGIN
+        nl = n_elements(readcmd)
         readcmd[nl-1] = readcmd[nl-1] + ' $'
         readcmd = [temporary(readcmd), ending]
@@ -186,8 +186,8 @@
       tgnm = strlowcase(tag_names(exextra))
       indtmp = where(tgnm EQ 'box' OR tgnm EQ 'boxzoom', cnt)
-      IF cnt EQ 1 THEN BEGIN 
+      IF cnt EQ 1 THEN BEGIN
         boxextra = exextra.(indtmp[0])
         exextra = extractstru(exextra, ['box', 'boxzoom'])
-      ENDIF 
+      ENDIF
       extra =  mixstru(exextra, extra)
       sextra = struct2string(extra)
@@ -214,5 +214,5 @@
     'vector':BEGIN
 ; for the vectors, there is 2 components. we read u when alreadyvector
-; is a interger and v when alreadyvector is a interger+0.5
+; is a integer and v when alreadyvector is a integer+0.5
       if floor(alreadyvector)+1 EQ 0 then begin
         if floor(alreadyvector) EQ alreadyvector then begin
@@ -226,5 +226,5 @@
       ENDIF ELSE BEGIN
         oldrdcmd = extractatt(top_uvalue, 'currentreadcmd')
-        nl = n_elements(oldrdcmd) 
+        nl = n_elements(oldrdcmd)
         oldrdcmd[nl-1] = oldrdcmd[nl-1] + ' $'
         readcmd[i] = prefix + readcmd[i]
@@ -235,6 +235,6 @@
         numberofread-1:BEGIN
 ; we finalize the reading command
-          IF ending NE '' THEN BEGIN 
-            nl = n_elements(readcmd) 
+          IF ending NE '' THEN BEGIN
+            nl = n_elements(readcmd)
             readcmd[nl-1] = readcmd[nl-1] + ' $'
             readcmd = [temporary(readcmd), ending]
@@ -252,6 +252,6 @@
         numberofread-0.5:BEGIN
 ; we finalize the reading command
-          IF ending NE '' THEN BEGIN 
-            nl = n_elements(readcmd) 
+          IF ending NE '' THEN BEGIN
+            nl = n_elements(readcmd)
             readcmd[nl-1] = readcmd[nl-1] + ' $'
             readcmd = [temporary(readcmd), ending]
@@ -301,5 +301,5 @@
       ENDIF ELSE BEGIN
         oldrdcmd = extractatt(top_uvalue, 'currentreadcmd')
-        nl = n_elements(oldrdcmd) 
+        nl = n_elements(oldrdcmd)
         oldrdcmd[nl-1] = oldrdcmd[nl-1] + ' $'
         readcmd[i] = prefix + readcmd[i]
@@ -307,5 +307,5 @@
       ENDELSE
 ;
-      if alreadyover+1 NE numberofread-1 THEN BEGIN 
+      if alreadyover+1 NE numberofread-1 THEN BEGIN
 ; we still need to read some files...
         *top_uvalue[1, findline(top_uvalue, 'currentreadcmd')] = readcmd
@@ -315,6 +315,6 @@
       ENDIF
 ; we finalize the reading command
-      IF ending NE '' THEN BEGIN 
-        nl = n_elements(readcmd) 
+      IF ending NE '' THEN BEGIN
+        nl = n_elements(readcmd)
         readcmd[nl-1] = readcmd[nl-1] + ' $'
         readcmd = [temporary(readcmd), ending]
@@ -362,5 +362,5 @@
 ; For [plots in z, box must have by default 0,profmax
   if strpos(type, 'z') NE -1 then BEGIN
-; If more than 1 level is selected: 
+; If more than 1 level is selected:
     widget_control, widget_info(base, find_by_uname = 'dthlv1'), get_value = niv1
     niv1 = niv1.combobox_index
