Ignore:
Timestamp:
03/16/07 10:22:26 (17 years ago)
Author:
pinsard
Message:

corrections of some misspellings in some *.pro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/CALCULS/projectondepth.pro

    r224 r226  
    1212; @param ARRAYIN {type=3d array} 
    1313; It is a 3d array whose 3rd dimension must be equal to jpk 
    14 ;  
     14; 
    1515; @param DEPTHIN {type=2d array} 
    1616; It is a 2d array indicating for each point n, at which depth to project 
    17 ;        
     17; 
    1818; @returns 
    1919; A 2d array which is the projection of the 3d array following depths indicated by depthin 
     
    2222; common.pro 
    2323; 
    24 ; @restrictions  
     24; @restrictions 
    2525; points at !values.f_nan impossible calculation. Land points masked at valmask. 
    2626; 
     
    2929;   IDL> a=gdept[jpk-1]/(1.*jpi*jpj)*findgen(jpi,jpj) 
    3030; We build an array to project on these depths. For the test, 
    31 ; we build a 3d array whose each vector following z is the depth.  
     31; we build a 3d array whose each vector following z is the depth. 
    3232;   IDL> arraytest=replicate(1,jpi*jpj)#gdept 
    3333;   IDL> arraytest=reform(arraytest,jpi,jpj,jpk, /over) 
     
    3535;   IDL> plt, 1e6*(a-projectondepth(arraytest,a)),/nocontour 
    3636;   ->null field at 1e-6 pres 
    37 ;  
    38 ;  verifcation projecting the temperature of 20°C for example... 
     37; 
     38;  verification projecting the temperature of 20°C for example... 
    3939; 
    4040; @history 
     
    6363   if tailledepth[0] NE 2 THEN return, report('Depth array must have 2 dimensions') 
    6464   if taillearray[0] NE 3 THEN return, report('Array in must have 3 dimensions') 
    65 ; verification of the coherence between array's size and the domain  
     65; verification of the coherence between array's size and the domain 
    6666   grille, mask, -1, -1, -1,nx,ny,nz,firstx,firsty,firstz,lastx,lasty,lastz 
    6767   case 1 of 
     
    103103   if terre[0] NE -1 then res[terre] = valmask 
    104104;------------------------------------------------------------ 
    105    if keyword_set(key_performance) THEN print, 'temps projectondepth', systime(1)-tempsun  
     105   if keyword_set(key_performance) THEN print, 'temps projectondepth', systime(1)-tempsun 
    106106   return, res 
    107107end 
Note: See TracChangeset for help on using the changeset viewer.