Changeset 493 for trunk/SRC/ToBeReviewed
- Timestamp:
- 04/08/14 11:28:29 (10 years ago)
- Location:
- trunk/SRC/ToBeReviewed
- Files:
-
- 43 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/CALCULS/determ2.pro
r371 r493 24 24 ; 25 25 ; @returns 26 ; n elements array, the determinent of each 2*2 arr rays26 ; n elements array, the determinent of each 2*2 arrays 27 27 ; 28 28 ; @examples -
trunk/SRC/ToBeReviewed/CALCULS/fsfzpt.pro
r430 r493 9 9 ; freezing pt 10 10 ; reference : unesco tech. papers in the marine science no 28 1978 11 ; eig th report jpots11 ; eighth report jpots 12 12 ; annex 6 freezing point of seawater F.J.Millero pp.29-35 13 13 ; checkvalue: fsfzpt=-2.588567 deg.c,for s=40.0,p=500 decibars -
trunk/SRC/ToBeReviewed/CALCULS/grossemoyenne.pro
r445 r493 66 66 ; 67 67 ; @keyword SSH 68 ; array giving the sea level ele nation (in meter) that must be added68 ; array giving the sea level elevation (in meter) that must be added 69 69 ; to the thickness of the first level when computing vertical mean 70 70 ; … … 84 84 ; 85 85 ; @history 86 ; J erome Vialard (jv\@lodyc.jussieu.fr)86 ; JérÃŽme Vialard (jv\@lodyc.jussieu.fr) 87 87 ; 2/7/98 88 88 ; Sebastien Masson (smasson\@lodyc.jussieu.fr) … … 148 148 endcase 149 149 ;------------------------------------------------------------ 150 ; I.3) Obtainment of scale's factors and of the mask on the subdomain concernedby the average. 151 ; Redefinition of the domain ajusted at boxzoom (at 6 elements) 150 ; I.3) Obtainment of scale's factors and of the mask on the subdomain 151 ; concerned by the average. 152 ; Redefinition of the domain adjusted at boxzoom (at 6 elements) 152 153 ; This will allowed us to calculate only in the domain concerned by the average. 153 154 ; Domdef, followed by grid give us all arrays of the grid on the subdomain … … 272 273 if keyword_set(savedbox) THEN restoreboxparam, 'boxparam4grmoyenne.dat' 273 274 return, report('Probleme d''adequation entre les tailles du domaine nx*ny*jpt '+strtrim(nx, 1)+'*'+strtrim(ny, 1)+'*'+strtrim(jpt, 1)+' et du tableau '+strtrim(taille[1], 1)+'*'+strtrim(taille[2], 1)+'*'+strtrim(taille[3], 1)) 274 enD275 END 275 276 endcase 276 277 if keyword_set(nan) NE 0 then BEGIN … … 612 613 ENDIF 613 614 ;------------------------------------------------------------ 614 ; IV.3) We replace in the domain wh ch was defined at the entry of average615 ; IV.3) We replace in the domain which was defined at the entry of average 615 616 ;------------------------------------------------------------ 616 617 if keyword_set(savedbox) THEN restoreboxparam, 'boxparam4grmoyenne.dat' -
trunk/SRC/ToBeReviewed/GRILLE/changegrid.pro
r325 r493 33 33 if cmpgrid(newgrid) EQ 0 then return, 0 34 34 ; 35 ; update the common param aters35 ; update the common parameters 36 36 ; 37 37 ccmeshparameters = newgrid -
trunk/SRC/ToBeReviewed/GRILLE/domdef.pro
r492 r493 286 286 IF (dom[0] EQ -1) THEN BEGIN 287 287 IF keyword_set(findalways) THEN BEGIN 288 ; if t grid parameters alre day defined, we use them...288 ; if t grid parameters already defined, we use them... 289 289 CASE 1 OF 290 290 (where(gdtype eq 'T'))[0] NE -1 OR (where(gdtype EQ 'W'))[0] NE -1:BEGIN -
trunk/SRC/ToBeReviewed/GRILLE/fmask.pro
r325 r493 11 11 ; 12 12 ; @examples 13 ; Used like if fmask was a known array by substitu ing fmask by (fmask())13 ; Used like if fmask was a known array by substituting fmask by (fmask()) 14 14 ; For example: Instead of write fmask[domainef] we have to write (fmask())[domainef] 15 15 ; -
trunk/SRC/ToBeReviewed/GRILLE/grille.pro
r388 r493 345 345 ;------------------------------------------------------------ 346 346 ;------------------------------------------------------------ 347 ; Variables refer ing to the vertical dimension347 ; Variables referring to the vertical dimension 348 348 ;------------------------------------------------------------ 349 349 ;------------------------------------------------------------ -
trunk/SRC/ToBeReviewed/GRILLE/umask.pro
r370 r493 14 14 ; 15 15 ; @examples 16 ; Used like if umask was a known array by substitu ing umask by (umask())16 ; Used like if umask was a known array by substituting umask by (umask()) 17 17 ; For example: Instead of write umask[domainef] we have to write (umask())[domainef] 18 18 ; -
trunk/SRC/ToBeReviewed/GRILLE/vmask.pro
r325 r493 11 11 ; 12 12 ; @examples 13 ; Used like if vmask was a known array by substitu ing vmask by (vmask())13 ; Used like if vmask was a known array by substituting vmask by (vmask()) 14 14 ; For example: Instead of write vmask[domainef] we have to write (vmask())[domainef] 15 15 ; -
trunk/SRC/ToBeReviewed/HOPE/read_hope.pro
r371 r493 203 203 ; 204 204 ; @file_comments 205 ; Read the Hope grid file converted in NetCdfby xconv205 ; Read the Hope grid file converted in netCDF by xconv 206 206 ; 207 207 ; @categories … … 323 323 compile_opt idl2, strictarrsubs 324 324 ; 325 @common ; useful lonly for the definition of iodir325 @common ; useful only for the definition of iodir 326 326 if n_elements(filename) EQ 0 then filename = isafile(iodirectory = iodir, _extra = ex) 327 327 IF size(filename, /type) NE 7 THEN return, -1 … … 377 377 dimvar[0:res.ndims-1, varid] = res.dim 378 378 ENDFOR 379 ; we cut dimvar to select only the interes santpart379 ; we cut dimvar to select only the interesting part 380 380 dimvar = dimvar[0:max(ndimsvar)-1, *] 381 381 ; selection of the data variables which are different from the … … 453 453 base5 = widget_base(base, /row, uname = 'baset', /frame) 454 454 timename = strlowcase((tag_names(dimlist))[wathinside.recdim]) 455 ; read the time axis in julinadays455 ; read the time axis in Julian days 456 456 time = ncdf_gettime(filename, cdfid) 457 457 ; update the dimlist structure -
trunk/SRC/ToBeReviewed/IMAGE/animgif.pro
r371 r493 68 68 ; 69 69 ;---------------------------------------------------------------- 70 ; Beg gining of the part we want to change.70 ; Beginning of the part we want to change. 71 71 ;---------------------------------------------------------------- 72 72 ; -
trunk/SRC/ToBeReviewed/LECTURE/changeread.pro
r325 r493 49 49 endcase 50 50 ; 51 ; update the common param aters51 ; update the common parameters 52 52 ; 53 53 ccreadparameters = newread -
trunk/SRC/ToBeReviewed/LECTURE/litchamp.pro
r371 r493 19 19 ; -other elements are strings containing informations on the field except 20 20 ; for the one about the date. This one can be either a string to designate 21 ; a particular date (ex: 'August 1999') or a vector of julian days (of IDL)21 ; a particular date (ex: 'August 1999') or a vector of Julian days (of IDL) 22 22 ; corresponding to the calendar to be associated with the field if it is a 23 23 ; temporal series. … … 171 171 END 172 172 ELSE:BEGIN 173 ras = report('Le nom '+nomelements[i]+' ne correspon ta aucun element reconnu de la structure. cf. IDL> xhelp, ''litchamp''')173 ras = report('Le nom '+nomelements[i]+' ne correspond a aucun element reconnu de la structure. cf. IDL> xhelp, ''litchamp''') 174 174 end 175 175 endcase -
trunk/SRC/ToBeReviewed/LECTURE/read_ncdf.pro
r466 r493 46 46 ; 47 47 ; @keyword CALLITSELF {default=0}{type=scalar: 0 or 1} 48 ; For ROMS outputs. Use by read_ncdf itself to access auxil liary data48 ; For ROMS outputs. Use by read_ncdf itself to access auxiliary data 49 49 ; (h and zeta). 50 50 ; … … 403 403 ENDIF 404 404 ;--------------------------------------------------------------------- 405 ; if it is roms outputs, we need to get additional sinfos...405 ; if it is roms outputs, we need to get additional infos... 406 406 IF NOT keyword_set(callitself) THEN BEGIN 407 407 IF strmid(dimnames[0], 0, 3) EQ 'xi_' AND strmid(dimnames[1], 0, 4) EQ 'eta_' THEN BEGIN -
trunk/SRC/ToBeReviewed/LECTURE/read_ncdf_varget.pro
r491 r493 10 10 ; l''on fait et en particulier arriver a positionner la boite 11 11 ; specifiee par firstx:lastx par rapport au tableau contenu dans 12 ; le fichier NetCdf.12 ; le fichier netCDF. 13 13 ; pour s''y reperer voici un petit dessin 14 14 ; … … 29 29 ; |,,,,|--------|--------------| |........|..........|,,,,,,,,,,,| 30 30 ; 31 ; apr es il suffit de remplacer i et j par firstx ou lastx qd on31 ; aprÚs il suffit de remplacer i et j par firstx ou lastx qd on 32 32 ; ne fait pas de stride. 33 33 ; … … 54 54 ; we must read 4 points instead of 3...: +--+--+--+-- 55 55 ; This problem as an easy solution by using the keyword count with 56 ; the approp iate value!56 ; the appropriate value! 57 57 ; 58 58 key_shift = long(testvar(var = key_shift)) -
trunk/SRC/ToBeReviewed/LECTURE/xncdf_lec.pro
r378 r493 2 2 ; 3 3 ; @file_comments 4 ; Reading of a NetCdffile with widgets4 ; Reading of a netCDF file with widgets 5 5 ; 6 6 ; @categories … … 140 140 ;------------------------------------------------------------ 141 141 base1 = widget_base(base, /column, /align_center) 142 rien = widget_label(base1, value = ' NetCdffilename', /align_center)142 rien = widget_label(base1, value = 'netCDF filename', /align_center) 143 143 rien = widget_text(base1, value = name, /align_center, uvalue=1, /editable) ;File's name we can change 144 144 rien = widget_label(base1, value = ' ') ; We jump a line … … 402 402 ; 403 403 ; @uses 404 ; resultat, infovariable,indicewid_var,motcle404 ; resultat, infovariable, indicewid_var, motcle 405 405 ; 406 406 ; @version … … 434 434 if keyword_set(mcoffset) AND n_elements(mcoffset) EQ varcontient.ndims THEN $ 435 435 valinit[0,*]=mcoffset ELSE valinit[0, *] = 0 436 ; col omn 1 : counts436 ; column 1 : counts 437 437 if keyword_set(mccount) AND n_elements(mccount) EQ varcontient.ndims THEN $ 438 438 valinit[1,*]=mccount ELSE valinit[1, *] = tailledim[varcontient.dim] … … 534 534 END 535 535 2:BEGIN ; A variable is selected. 536 varid = event.index ; We recuperat its number in the file Netcdf536 varid = event.index ; We recuperate its number in the file netCDF 537 537 varcontient = ncdf_varinq(cdfid,varid) 538 538 wid_var, event.top ; We call the program which launch the second widget. See sooner. -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/plt.pro
r490 r493 434 434 endif 435 435 ENDIF ELSE BEGIN 436 ;To axes of coordinates be considerate d.436 ;To axes of coordinates be considerate. 437 437 if !x.type EQ 0 AND n_elements(contour) LE 4 then $ 438 438 plot, [0], [0], /nodata, xstyle = 5, ystyle = 5, title = '', subtitle = '', /noerase … … 526 526 if keyword_set(overplot) then GOTO, fini 527 527 ;------------------------------------------------------------ 528 ; V2) Trace the line of change of date, the equator and the greenwich meridian, ...528 ; V2) Trace the line of change of date, the equator and the Greenwich meridian, ... 529 529 ;------------------------------------------------------------ 530 530 if NOT keyword_set(map) AND key_onearth then meridienparallele, 'xy' … … 533 533 ;------------------------------------------------------------ 534 534 if keyword_set(realcont) then BEGIN 535 ; si noe ase est passe de _extra, on s''assure qu''il est a 1535 ; si noerase est passe de _extra, on s''assure qu''il est a 1 536 536 if chkstru(ex, 'NOERASE') then begin 537 537 oldnoerase = ex.noerase -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltbase.pro
r419 r493 110 110 ; $Id$ 111 111 ; 112 ; @todo seb L.172 à173112 ; @todo seb L.172 Ã 173 113 113 ; 114 114 ;- … … 162 162 label, 0, min(z2d*mask), max(z2d*mask), ncontour, levels, colors 163 163 ; attention bidouille inexplicable pour que tout se passe bien avec les 164 ; post cript ds pltz!!!164 ; postscript ds pltz!!! 165 165 if n_elements(contour) LE 4 AND !x.type EQ 0 THEN $ 166 166 plot, [0], [0], xstyle = 5, ystyle = 5, /nodata, /noerase, title = '', subtitle = '' … … 212 212 ENDIF 213 213 ; 214 ; We do not pass if we have to make different scontours...214 ; We do not pass if we have to make different contours... 215 215 ; In the case of unsur2 is activated, we reduce levels 216 216 if NOT keyword_set(nocontour) then begin -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltt.pro
r483 r493 183 183 ; Sebastien Masson (smasson\@lodyc.jussieu.fr) 184 184 ; 27/5/98 185 ; J erome Vialard (adapting plt to hovmoeller drawing)185 ; JérÃŽme Vialard (adapting plt to hovmoeller drawing) 186 186 ; 2/7/98 187 187 ; Sebastien Masson 14/8/98 (continents,barres) … … 199 199 ; 200 200 ; @todo 201 ; seb: definition of parameters, L.426 à 427, L. 492 à493201 ; seb: definition of parameters, L.426 à 427, L. 492 à 493 202 202 ; 203 203 ;- … … 331 331 ELSE tempsmin = temps[0] 332 332 ; on shift l''axe du temps pour des questions de precision sur les 333 ; dates du calend ier julien en long qui sont passes en float ds les axes333 ; dates du calendrier julien en long qui sont passes en float ds les axes 334 334 xx = temps-tempsmin 335 335 !x.range=!x.range-tempsmin … … 397 397 ;----------------------------------------------------------------------------- 398 398 ; on shift l''axe du temps pour des questions de precision sur les 399 ; dates du calend ier julien en long qui sont passes en float ds les axes399 ; dates du calendrier julien en long qui sont passes en float ds les axes 400 400 case typdes of 401 401 '1d' : begin … … 644 644 fini: 645 645 ;------------------------------------------------------------ 646 ; we reput time axis in IDL julian days and not in julian days count from tempsmin646 ; we reput time axis in IDL Julian days and not in Julian days count from tempsmin 647 647 ;------------------------------------------------------------ 648 648 if type EQ 'xt' then BEGIN … … 653 653 !x.tickv=!x.tickv+tempsmin 654 654 ENDELSE 655 ; We do a false plot to these values are considerate d655 ; We do a false plot to these values are considerate 656 656 plot, [0], [0], /nodata, /noerase, xstyle = 5, ystyle = 5 $ 657 657 , title = '', subtitle = '', ytitle = '', xtitle = '' -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltz.pro
r428 r493 114 114 ; 115 115 ; @keyword NOMASK 116 ; activate to sup ress the use of the land-sea mask when plotting the field116 ; activate to suppress the use of the land-sea mask when plotting the field 117 117 ; 118 118 ; @keyword NO_PARTIALSTEP 119 ; activate to sup ress the use of partial steps (force key_partialstep = 0 within pltz)119 ; activate to suppress the use of partial steps (force key_partialstep = 0 within pltz) 120 120 ; 121 121 ; @keyword NOTRI … … 175 175 ; 176 176 ; @todo 177 ; seb definition of param aters L.215 à221177 ; seb definition of parameters L.215 Ã 221 178 178 ; 179 179 ;- -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/scontour.pro
r472 r493 10 10 ; @keyword NOREINITPLT 11 11 ; We active it if we do not want environment variables !p, !x, !y, !z 12 ; to be reiniti lalized by the procedure <pro>reinitplt</pro>12 ; to be reinitialized by the procedure <pro>reinitplt</pro> 13 13 ; 14 14 ; @keyword _EXTRA -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/splot.pro
r370 r493 10 10 ; @keyword NOREINITPLT 11 11 ; We active it if we do not want environment variables !p, !x, !y, !z 12 ; to be reiniti lalized by the procedure <pro>reinitplt</pro>12 ; to be reinitialized by the procedure <pro>reinitplt</pro> 13 13 ; 14 14 ; @keyword _EXTRA -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/tvplus.pro
r479 r493 82 82 ; Sebastien Masson (smasson\@lodyc.jussieu.fr) 83 83 ; 18/12/98 84 ; Aug 2005: quick cleaning + english84 ; Aug 2005: quick cleaning + English 85 85 ; 86 86 ; @version -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/autoscale.pro
r325 r493 43 43 coef = [2, 2.5, 5, 10] 44 44 ; 45 ; We test different sCI (contour intervals), i.e. 1, 2, 2.5, 5 and 1045 ; We test different CI (contour intervals), i.e. 1, 2, 2.5, 5 and 10 46 46 ; until the number of contour is inferior to 30. 47 47 ; -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/restoreatt.pro
r378 r493 49 49 end 50 50 ELSE:BEGIN 51 ras = report('Le nom '+nomelements[i]+' ne correspon ta aucun element reconnu de la structure. !C cf. IDL> xhelp, ''litchamp''')51 ras = report('Le nom '+nomelements[i]+' ne correspond a aucun element reconnu de la structure. !C cf. IDL> xhelp, ''litchamp''') 52 52 end 53 53 endcase -
trunk/SRC/ToBeReviewed/PLOTS/LABEL/label_date.pro
r371 r493 111 111 112 112 x1 = x + offset 113 caldat, long(x1), month, day, year, _EXTRA = ex;Get the calendar date from julian113 caldat, long(x1), month, day, year, _EXTRA = ex;Get the calendar date from Julian 114 114 frac = x1 - long(x1) ;time of day, from 0 to 1. 115 115 -
trunk/SRC/ToBeReviewed/PLOTS/VECTEUR/vecteur.pro
r482 r493 231 231 ; What we do: 232 232 ; In a 3d cartesian reference, 233 ; a) We find coordinates of the point T (starting of the arrow) situ ed233 ; a) We find coordinates of the point T (starting of the arrow) situated 234 234 ; on the sphere. 235 235 ; b) To each point T, we determine local directions defined by the grid … … 274 274 ; Stage 1, b) 275 275 ; 276 ; Construction of a vector nu (resp. nv), vect r normed carried by the axis of276 ; Construction of a vector nu (resp. nv), vector normed carried by the axis of 277 277 ; points u[i,j] and u[i-1,j] (resp v[i,j] and v[i,j-1]) which define, for each 278 278 ; point on the sphere, local directions associated with u and v. These vectors … … 364 364 ; of changing of date... BEWARE, do not cut arrow which goes out of the 365 365 ; window! 366 ; test: If it goes out of the frame, but, thanks to +/- 360 ° it come in,366 ; test: If it goes out of the frame, but, thanks to +/- 360° it come in, 367 367 ; we modify it 368 368 ; … … 443 443 ; 444 444 ; We modify the array norme to an element having the value cm be represented 445 ; by a line of leng ht1 cm on the paper. Norme contains the norm of vectors445 ; by a line of length 1 cm on the paper. Norme contains the norm of vectors 446 446 ; we want to draw. 447 447 ; -
trunk/SRC/ToBeReviewed/PLOTS/axe.pro
r369 r493 14 14 ; @param TEMPSMIN {in}{required} 15 15 ; In the case where we do cut containing the time dimension, we have 16 ; to specify the beginning of the time's axis in julian days.16 ; to specify the beginning of the time's axis in Julian days. 17 17 ; 18 18 ; @param TEMPSMAX {in}{required} 19 19 ; In the case where we do cut containing the time dimension, we have 20 ; to specify the end of the time's axis in julian days.20 ; to specify the end of the time's axis in Julian days. 21 21 ; 22 22 ; @keyword SIN -
trunk/SRC/ToBeReviewed/PLOTS/legende.pro
r378 r493 123 123 endif 124 124 ;------------------------------------------------------------ 125 ; Shap ping of subdomain 's dimensions125 ; Shaping of subdomain 's dimensions 126 126 ;------------------------------------------------------------ 127 127 la1 = strtrim(string(format = fmt_bt, lat1), 2) -
trunk/SRC/ToBeReviewed/PLOTS/style.pro
r378 r493 54 54 ; value itself, a more general definition can be given with a scalar 55 55 ; string with the following structure: 'xxNN...NNyy' with 56 ; xx and yy correspondin dto one the following choices (with the56 ; xx and yy corresponding to one the following choices (with the 57 57 ; corresponding meaning) 58 58 ; so -> Solid -
trunk/SRC/ToBeReviewed/PLOTS/symbols.pro
r378 r493 5 5 ; 6 6 ; @param NSYM {in}{required} {type=integer} 7 ; Code of sym pbols :7 ; Code of symbols : 8 8 ; 1 = open circle 9 9 ; 2 = filled circle -
trunk/SRC/ToBeReviewed/STATISTICS/a_timecorrelate.pro
r371 r493 140 140 141 141 NAN = ( (WHERE(FINITE(X) EQ 0 ))[0] NE -1 ) ? 1 : 0 142 ;We can retrieve the matrix of real leng hts of time-series142 ;We can retrieve the matrix of real lengths of time-series 143 143 nTreal = ( (WHERE(FINITE(X) EQ 0 ))[0] NE -1 ) ? TOTAL(FINITE(X), XNDim) : nT 144 144 -
trunk/SRC/ToBeReviewed/STATISTICS/skewness_4d.pro
r378 r493 91 91 92 92 NAN = ( (WHERE(FINITE(X) EQ 0 ))[0] NE -1 ) ? 1 : 0 93 ;We can retrieve the matrix of real leng hts of time-series93 ;We can retrieve the matrix of real lengths of time-series 94 94 nTreal = ( (WHERE(FINITE(X) EQ 0 ))[0] NE -1 ) ? TOTAL(FINITE(X), XNDim) : nT 95 95 -
trunk/SRC/ToBeReviewed/STRING/isnumber.pro
r372 r493 14 14 ; 15 15 ; @returns 16 ; x = optional y returned numeric value if valid.16 ; x = optionally returned numeric value if valid. 17 17 ; i = test flag: 18 18 ; 0: not a number. … … 46 46 print,' i = isnumber(txt, [x])' 47 47 print,' txt = text string to test. in' 48 print,' x = optional y returned numeric value if valid. out'48 print,' x = optionally returned numeric value if valid. out' 49 49 print,' i = test flag: out' 50 50 print,' 0: not a number.' -
trunk/SRC/ToBeReviewed/STRING/lenstr.pro
r325 r493 1 1 ;+ 2 2 ; ROUTINE: lenstr 3 ; US EAGE:result=lenstr(str)3 ; USAGE: result=lenstr(str) 4 4 ; 5 5 ; input: -
trunk/SRC/ToBeReviewed/TRIANGULATION/dessinetri.pro
r479 r493 12 12 ; 13 13 ; @param X {in}{optional} 14 ; The x position of points to which the tr angulation refer to14 ; The x position of points to which the triangulation refer to 15 15 ; (see the x array provided in triangulate) 16 16 ; 17 17 ; @param Y {in}{optional} 18 ; The y position of points to which the tr angulation refer to18 ; The y position of points to which the triangulation refer to 19 19 ; (see the y array provided in triangulate) 20 20 ; … … 30 30 ; @keyword CHANGECOLOR 31 31 ; =n. To change the color of each triangle. n colors 32 ; will be used and repe ted if necessary.32 ; will be used and repeated if necessary. 33 33 ; 34 34 ; @uses -
trunk/SRC/ToBeReviewed/TRIANGULATION/tracecote.pro
r370 r493 61 61 if key_gridtype EQ 'e' then onemore = xf[0, 0] gT xf[0, 1] 62 62 ; We pass in normalized coordinates to be able to become independant from the projection's 63 ; type cho osen and from the support on which we do the drawing (screen or postscript)63 ; type chosen and from the support on which we do the drawing (screen or postscript) 64 64 z = convert_coord(xf[*],yf[*],/data,/to_normal) 65 65 xf = reform(z[0, *], nx, ny) -
trunk/SRC/ToBeReviewed/TRIANGULATION/tracemask.pro
r370 r493 70 70 ; The 2 first lines are identical. 71 71 mask[1:tailleentree[1], 0] = maskentree[*, 0] 72 ; We calculate the position following x of points which will serve to trace the mask. They are situated between each points of the mask, ex ept for the last column we can not calculate and so we put at max (!x.range).72 ; We calculate the position following x of points which will serve to trace the mask. They are situated between each points of the mask, except for the last column we can not calculate and so we put at max (!x.range). 73 73 xrange = !x.range[sort(!x.range)] ; if REVERSE_X is used 74 74 xentree = .5*(xentree+shift(xentree, -1, 0)) -
trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/buildreadcmd.pro
r370 r493 97 97 98 98 if procedure EQ 'pltt' AND date1 EQ date2 then BEGIN 99 ; we redefine the dates to the begin ing and end of the calendar99 ; we redefine the dates to the beginning and end of the calendar 100 100 calendar = (*(extractatt(top_uvalue, 'fileparameters'))[currentfile]).time_counter 101 101 date1 = jul2date(calendar[0]) -
trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/createhistory.pro
r367 r493 51 51 optionsflag = extractatt(top_uvalue, 'optionsflag') 52 52 portrait = (optionsflag[where(options EQ 'Portrait/Landscape'), 0])[0] 53 ; composition du text conten nu ds history.pro53 ; composition du text contenu dans history.pro 54 54 texte = ['@common' $ 55 55 , ' ' $ -
trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/xcreateanim.pro
r325 r493 117 117 wdelete, !d.window 118 118 ; 119 ; Creation and writ ting loop in the file.119 ; Creation and writing loop in the file. 120 120 ; 121 121 IF index2 GT index1 THEN BEGIN -
trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_domain.pro
r371 r493 419 419 gdep2 = fix(dthlv2_value.combobox_value) 420 420 if dthlv1_value.combobox_index GT event.index then BEGIN 421 ; We red fine the value of dthlv1id421 ; We redefine the value of dthlv1id 422 422 widget_control, dthlv1id, set_value = {combobox_select:event.index} 423 423 ; So we redefine the value and the min of the slider 1 -
trunk/SRC/ToBeReviewed/WIDGET/xx.pro
r327 r493 58 58 listgrid[[3, 5]] = 'V' 59 59 ENDIF 60 ; calendar to be used (in IDL julian days60 ; calendar to be used (in IDL Julian days 61 61 ; ++++ if NOT keyword_set(calendar) then BEGIN 62 62 ; ++++ if keyword_set(jour) then calendar = calendriertotem(/julian_day) ELSE calendar = calendriertotem(/julian_day, /mensuel) 63 63 ; ++++ ENDIF 64 ; Name of the file refer ing to the mask64 ; Name of the file referring to the mask 65 65 if NOT keyword_set(meshfilename) then meshfilename = '/usr1/com/smasson/IDL/INIT/inittotem.pro' 66 66 ; ++++ meshparameters = whichgrid(meshfilename)
Note: See TracChangeset
for help on using the changeset viewer.