Ignore:
Timestamp:
04/17/14 10:49:43 (10 years ago)
Author:
pinsard
Message:

fix thanks to coding rules; typo; dupe empty lines; trailing blanks

Location:
trunk/SRC/ToBeReviewed/PLOTS/VECTEUR
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/PLOTS/VECTEUR/ajoutvect.pro

    r490 r495  
    135135; We recuperate the complete grid to establish a big mask extensive 
    136136; in the four directions to cover points for which a land point has 
    137 ; been considerated (do a small drawing) 
     137; been considerate (do a small drawing) 
    138138;---------------------------------------------------------------------------- 
    139139      vargrid='T' 
     
    141141      mskv = (vmask())[indice2d+jpi*jpj*firstzt] 
    142142      IF keyword_set(cont_nofill) THEN BEGIN  ; make sure msku/v contains only 1 
    143         msku = finite(msku)  
    144         mskv = finite(msku)  
     143        msku = finite(msku) 
     144        mskv = finite(msku) 
    145145      ENDIF 
    146146      glam = glamt[indice2d] 
     
    246246   ELSE vectlegende = {minmax:[mini, maxi], unite:varunit} 
    247247 
    248  
    249248sortie: 
    250249   if keyword_set(key_performance) NE 0 THEN print, 'temps ajoutvect', systime(1)-tempsun 
  • trunk/SRC/ToBeReviewed/PLOTS/VECTEUR/vecteur.pro

    r493 r495  
    55; @categories 
    66; 
    7 ; @param angle  
     7; @param angle 
    88; 
    99; @returns 
     
    2424; by rapport at the x axis and which must do 1 cm on the drawing. 
    2525; Angle can be an array. 
    26 ; 
    27 ; 
    2826; 
    2927  compile_opt idl2, strictarrsubs 
     
    7270; 
    7371; normalize the vector 
    74 ; 
    7572; 
    7673  compile_opt idl2, strictarrsubs 
     
    191188@common 
    192189  tempsun = systime(1)          ; For key_performance 
    193 ; 
    194190; 
    195191  taille = size(composanteu) 
     
    253249;       determine on the drawing. 
    254250; 
    255 ; 
    256251; Stage 1, a) 
    257 ; 
    258252; 
    259253; coordinates of the point T (beginning of the arrow) in spherical coordinates. 
     
    377371  if ind[0] NE -1 then glam[ind] = glam[ind]-360. 
    378372; 
    379 ; 
    380373; Stage 1, e) 
    381374; 
     
    405398; 
    406399  points = where(msk EQ 1) 
    407   IF points[0] NE -1 THEN BEGIN  
     400  IF points[0] NE -1 THEN BEGIN 
    408401 
    409402  x0 = x0[points] & x1 = x1[points] 
     
    448441; define colors before norme is changed... 
    449442    IF NOT KEYWORD_SET(vectcolor) THEN vectcolor = 0 
    450     IF keyword_set(vectnormcolor) THEN BEGIN  
     443    IF keyword_set(vectnormcolor) THEN BEGIN 
    451444      mp = projsegment([vectnormcolor], [1, 254], /mp) 
    452445      colors = byte(round(mp[0] * norme +  mp[1] )) 
     
    500493  endif 
    501494; 
    502 ; 
    503  
    504495  if keyword_set(key_performance) NE 0 THEN print, 'temps vecteur', systime(1)-tempsun 
    505496;------------------------------------------------------------ 
     
    507498  return 
    508499END 
    509  
    510  
    511  
    512  
Note: See TracChangeset for help on using the changeset viewer.