Changeset 163 for trunk/SRC/ToBeReviewed/CALCULS
- Timestamp:
- 08/29/06 14:59:46 (18 years ago)
- Location:
- trunk/SRC/ToBeReviewed/CALCULS
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/CALCULS/curl.pro
r157 r163 23 23 ; 24 24 ; @restrictions 25 ; U and V matri xes can be 2 or 4d.26 ; Beware, to discern different sconfiguration of U and V (xy, xyz, xyt, xyzt),25 ; U and V matrices can be 2 or 4d. 26 ; Beware, to discern different configuration of U and V (xy, xyz, xyt, xyzt), 27 27 ; we look at the variable of the common 28 28 ; -time which contain the calendar in IDL julian days to which U and … … 30 30 ; -jpt which is the number of time's step to consider in time. 31 31 ; U and V arrays ae cut in the same geographic domain. Because of the gap of 32 ; T, U, V and F grids, it is possible that these two arrays has enot the same33 ; size and refered to different indexes. In this case, arrays are re cut on34 ; common indexes and the domain is redifined to match with these common35 ; indexes. To avoid these re cuts, use the keyword /memeindice in domdef.pro32 ; T, U, V and F grids, it is possible that these two arrays has not the same 33 ; size and refered to different indexes. In this case, arrays are re-cut on 34 ; common indexes and the domain is redefined to match with these common 35 ; indexes. To avoid these re-cuts, use the keyword /memeindice in domdef.pro 36 36 ; 37 37 ; … … 41 41 ; Guillaume Roullet (grlod\@ipsl.jussieu.fr) 42 42 ; 43 ; Sebastien Masson (smasson\@lodyc.jussieu.fr) 44 ; adaptation pour marcher avec un domaine reduit 45 ; 46 ; 21/5/1999: missing values at !values.f_nan 47 ;periodicite 43 ; Sebastien Masson (smasson\@lodyc.jussieu.fr) 44 ; adaptation to work with a reduce domain 45 ; 21/5/1999: missing values at !values.f_nan 48 46 ; 49 47 ; @version -
trunk/SRC/ToBeReviewed/CALCULS/depth2floatlevel.pro
r157 r163 12 12 ; 13 13 ; @param TAB {in}{required} 14 ; 2d depth array (or a structure respecting litchamp criterion s)14 ; 2d depth array (or a structure respecting litchamp criterion) 15 15 ; 16 16 ; @keyword NOMASK -
trunk/SRC/ToBeReviewed/CALCULS/depth2level.pro
r157 r163 10 10 ; Without loop 11 11 ; 12 ; @param TAB 12 ; @param TAB {type=2d array} 13 13 ; 2d depth array (or a structure respecting litchamp critrions) 14 14 ; … … 32 32 ; 33 33 ; @restrictions 34 ; For depth es out of gdep's values, the value !values.f_nan is sent back.34 ; For depths out of gdep's values, the value !values.f_nan is sent back. 35 35 ; if the depth is superior to this one of the bottom, we send back jpk-1 in 36 36 ; the upper case, and !values.f_nan in the lower case. -
trunk/SRC/ToBeReviewed/CALCULS/depth2mask.pro
r157 r163 11 11 ; Without loop 12 12 ; 13 ; @param TAB 13 ; @param TAB {type=3d array} 14 14 ; 2d sill depth array (or a structure respecting litchamp critrions) 15 15 ; … … 19 19 ; @returns 20 20 ; It is a 3d array containing the mas associated to the 2d sill depth array 21 ; profondeurs seuil22 21 ; 23 22 ; @uses -
trunk/SRC/ToBeReviewed/CALCULS/determ3.pro
r157 r163 50 50 ; 51 51 ; @returns 52 ; n elements array, the determin ent of each 3*3 arrrays52 ; n elements array, the determinant of each 3*3 arrays 53 53 ; 54 54 ; @examples -
trunk/SRC/ToBeReviewed/CALCULS/div.pro
r157 r163 23 23 ; 24 24 ; @restrictions 25 ; U and V matri xes can be 2 or 4d.26 ; Beware, to discern different sconfiguration of U and V (xy, xyz, xyt, xyzt),25 ; U and V matrices can be 2 or 4d. 26 ; Beware, to discern different configuration of U and V (xy, xyz, xyt, xyzt), 27 27 ; we look at the variable of the common 28 28 ; -time which contain the calendar in IDL julian days to which U and 29 29 ; V refered to, in the same way as the variable 30 30 ; -jpt which is the number of time's step to consider in time. 31 ; U and V arrays a e cut in the same geographic domain. Because of the gap of32 ; T, U, V and F grids, it is possible that these two arrays has enot the same33 ; size and refered to different indexes. In this case, arrays are re cut on34 ; common indexes and the domain is redifined to match with these common35 ; indexes. To avoid these re cuts, use the keyword /memeindice in domdef.pro31 ; U and V arrays are cut in the same geographic domain. Because of the gap of 32 ; T, U, V and F grids, it is possible that these two arrays has not the same 33 ; size and refered to different indexes. In this case, arrays are re-cut on 34 ; common indexes and the domain is redefined to match with these common 35 ; indexes. To avoid these re-cuts, use the keyword /memeindice in domdef.pro 36 36 ; 37 37 ; … … 43 43 ; Creation : printemps 1998 44 44 ; Sebastien Masson (smasson\@lodyc.jussieu.fr) 45 ; adaptation pour marcher avec un domaine reduit45 ; adaptation to work with a reduce domain 46 46 ; 12/1/2000; 47 47 ; -
trunk/SRC/ToBeReviewed/CALCULS/floatlevel2depth.pro
r157 r163 5 5 ; 6 6 ; @file_comments 7 ; Rather comparable to level2depth. It is the invert func ion of depth2floatlevel7 ; Rather comparable to level2depth. It is the invert function of depth2floatlevel 8 8 ; 9 9 ; @categories -
trunk/SRC/ToBeReviewed/CALCULS/fsfzpt.pro
r142 r163 1 2 1 ;+ 2 ; @file_comments 3 ; 4 ; 5 ; @categories 6 ; 7 ; 8 ; @param PFS 9 ; 10 ; 11 ; @param PFP 12 ; 13 ; 14 ; @returns 15 ; 16 ; 17 ; @uses 18 ; 19 ; 20 ; @restrictions 21 ; 22 ; 23 ; @examples 24 ; 25 ; 26 ; @history 27 ; 28 ; 29 ; @version 30 ; $Id$ 31 ; 3 32 ; Ice freezing point 4 33 ; ================== -
trunk/SRC/ToBeReviewed/CALCULS/grad.pro
r159 r163 3 3 ;------------------------------------------------------------ 4 4 ;+ 5 ; NAME: 6 ; 7 ; PURPOSE: 8 ; 9 ; CATEGORY: 10 ; 11 ; CALLING SEQUENCE: 12 ; 13 ; INPUTS: 14 ; 15 ; KEYWORD PARAMETERS: 16 ; 17 ; OUTPUTS: 18 ; 19 ; COMMON BLOCKS:common.pro 20 ; 21 ; SIDE EFFECTS: 22 ; 23 ; RESTRICTIONS: 24 ; 25 ; EXAMPLE: 26 ; 27 ; MODIFICATION HISTORY:Sebastien Masson (smasson\@lodyc.jussieu.fr) 28 ; 29 ; @todo seb: remplir les truc! 30 ; 31 ; 5 ; @file_comments 6 ; 7 ; 8 ; @categories 9 ; 10 ; 11 ; @param FIELD 12 ; 13 ; 14 ; @param DIREC 15 ; 16 ; 17 ; @returns 18 ; 19 ; 20 ; @uses 21 ; 22 ; 23 ; @restrictions 24 ; 25 ; 26 ; @examples 27 ; 28 ; 29 ; @history 30 ; Sebastien Masson (smasson\@lodyc.jussieu.fr) 31 ; 32 ; @version 33 ; $Id$ 34 ; 35 ; @todo 36 ; seb: remplir les truc! 32 37 ;- 33 38 ;------------------------------------------------------------ -
trunk/SRC/ToBeReviewed/CALCULS/grossemoyenne.pro
r157 r163 5 5 ; 6 6 ; @file_comments 7 ; averages a 3- or 4-d time serie field over a selected7 ; averages a 3- or 4-d time series field over a selected 8 8 ; geographical area or along the time axis. For one ore more 9 9 ; selected axes (x, y, z, t) … … 55 55 ; 56 56 ; @keyword WDEPTH 57 ; to specify that the field is at W depth inst ad of T57 ; to specify that the field is at W depth instead of T 58 58 ; depth (automatically activated if vargrid eq 'W') 59 59 ; … … 72 72 ; 14/8/98 73 73 ; 15/1/98 74 ; 12/3/99 adaptation for NAN and utili sation of TEMPORARY74 ; 12/3/99 adaptation for NAN and utilization of TEMPORARY 75 75 ; 76 76 ; @version -
trunk/SRC/ToBeReviewed/CALCULS/hdyn.pro
r157 r163 19 19 ; array representing the temperature.Has the same size than SN 20 20 ; 21 ; @keyword GILL We activate this key if we want to calculate the d inamic height21 ; @keyword GILL We activate this key if we want to calculate the dynamic height 22 22 ; like in the GILL page 215, which means by rapport to a reference state which 23 ; vary in depth and which is determin ated by a reference temperature tref at 0°C23 ; vary in depth and which is determined by a reference temperature tref at 0°C 24 24 ; and a reference salinity sref at 35psu 25 25 ; … … 37 37 ; 38 38 ; @keyword PROFREF 39 ; Give a depth to this keyword which will be consider ated as the refeence depth39 ; Give a depth to this keyword which will be considered as the reference depth 40 40 ; (in this case, LEVEL has not any effect). the calculation will be effectuated 41 41 ; until this depth effecting an interpolation between the the last W level above 42 42 ; PROFREF and PROFREF. 43 43 ; 44 ; @keyword SURFACE_LEVEL 45 ; It is the level where we wan to calculate the dynamic height. By default, it is 46 ; the level 0. 44 ; @keyword SURFACE_LEVEL {default=0} 45 ; It is the level where we wan to calculate the dynamic height. 47 46 ; 48 47 ; @returns -
trunk/SRC/ToBeReviewed/CALCULS/level2depth.pro
r157 r163 11 11 ; Without loop 12 12 ; 13 ; @param TAB {in}{required} 13 ; @param TAB {in}{required}{type=2d array} 14 14 ; 2d level array of sill levels (or a structure respecting litchamp criterions) 15 15 ; … … 18 18 ; 19 19 ; @returns 20 ; 2d array containing depth es20 ; 2d array containing depths 21 21 ; 22 22 ; @uses -
trunk/SRC/ToBeReviewed/CALCULS/level2index.pro
r157 r163 14 14 ; Without loop 15 15 ; 16 ; @param LEVEL {in}{required} 16 ; @param LEVEL {in}{required}{type=2d array} 17 17 ; A 2d level array 18 18 ; -
trunk/SRC/ToBeReviewed/CALCULS/level2mask.pro
r157 r163 11 11 ; Without loop 12 12 ; 13 ; @param TAB {in}{required} 13 ; @param TAB {in}{required}{type=2d array} 14 14 ; 2d level array of sill level (or a structure respecting litchamp criterions) 15 15 ; -
trunk/SRC/ToBeReviewed/CALCULS/moyenne.pro
r157 r163 11 11 ; @categories 12 12 ; 13 ; @param 13 ; @param TAB {in}{required} 14 14 ; 2 or 3d field 15 15 ; … … 20 20 ; [xmin,xmax,ymin,ymax (,(zmin,)zmax)] to more details, see domdef 21 21 ; boxzoom can have 5 forms: 22 ; [vert2], [vert1, vert2],[lon1, lon2, lat1, lat2], 23 ; [lon1, lon2, lat1, lat2, vert2],[lon1, lon2, lat1, lat2, vert1,vert2] 22 ; [vert2], 23 ; [vert1, vert2], 24 ; [lon1, lon2, lat1, lat2], 25 ; [lon1, lon2, lat1, lat2, vert2], 26 ; [lon1, lon2, lat1, lat2, vert1,vert2] 24 27 ; 25 28 ; @keyword NAN 26 29 ; not a number, we activate it if we want to average without considerate some masked values of TAB. 27 ; If masked values of TAB are values consecrated by IDL(!values.f_nan), w rjust have to put NAN.30 ; If masked values of TAB are values consecrated by IDL(!values.f_nan), we just have to put NAN. 28 31 ; If masked values of TAB are valued a (a must be different of 1, corresponding to nan = 29 32 ; !values.f_nan and of 0, which desactivate nan). We have to put NAN=a. 30 ; Comment: In output, r sult points which are NAN will be valued a or !values.f_nan.33 ; Comment: In output, result points which are NAN will be valued a or !values.f_nan. 31 34 ; 32 35 ; @keyword NODOMDEF … … 38 41 ; 39 42 ; @keyword WDEPTH 40 ; to specify that the field is at W depth inst ad of T43 ; to specify that the field is at W depth instead of T 41 44 ; depth (automatically activated if vargrid eq 'W') 42 45 ; -
trunk/SRC/ToBeReviewed/CALCULS/norme.pro
r157 r163 5 5 ; 6 6 ; @file_comments 7 ; calculate the norm eof a field of vectors, then make a possible average.7 ; calculate the norm of a field of vectors, then make a possible average. 8 8 ; Comment 1: The field of vector can be, 2d:xy, 3d: xyz or xyt, 9 9 ; 4d: xyzt 10 10 ; Comment 2: 11 ; The calculation of the norm eis made before the possible spatial or12 ; temporal average because the average of the norm eis not equal to the13 ; norm eof averages11 ; The calculation of the norm is made before the possible spatial or 12 ; temporal average because the average of the norm is not equal to the 13 ; norm of averages 14 14 15 15 ; … … 38 38 ; 39 39 ; @restrictions 40 ; The norm eis calculated on points TTo do this calculation, we average40 ; The norm is calculated on points TTo do this calculation, we average 41 41 ; field U and Von points T before calculate the norme. At the edge of 42 42 ; coast and of domain, we can not calculate fields U and V at points T, -
trunk/SRC/ToBeReviewed/CALCULS/projectondepth.pro
r157 r163 10 10 ; Without loop 11 11 ; 12 ; @param ARRAYIN 12 ; @param ARRAYIN {type=3d array} 13 13 ; It is a 3d array whose 3rd dimension must be equal to jpk 14 14 ; 15 ; @param DEPTHIN 15 ; @param DEPTHIN {type=2d array} 16 16 ; It is a 2d array indicating for each point n, at which depth to project 17 17 ; 18 18 ; @returns 19 ; A 2d array which is the projection of the 3d array following depth es indicated by depthin19 ; A 2d array which is the projection of the 3d array following depths indicated by depthin 20 20 ; 21 21 ; @uses … … 26 26 ; 27 27 ; @examples 28 ; we build a possible depth es array28 ; we build a possible depths array 29 29 ; IDL> a=gdept[jpk-1]/(1.*jpi*jpj)*findgen(jpi,jpj) 30 ; We build an array to project on these depth es. For the test,30 ; We build an array to project on these depths. For the test, 31 31 ; we build a 3d array whose each vector following z is the depth. 32 32 ; IDL> arraytest=replicate(1,jpi*jpj)#gdept -
trunk/SRC/ToBeReviewed/CALCULS/remplit.pro
r142 r163 1 1 ;+ 2 ; @file_comments 3 ; 4 ; 5 ; @categories 6 ; 7 ; 8 ; @param ZINPUT 9 ; 10 ; 11 ; @keyword NAN 12 ; 13 ; 14 ; @keyword NITER 15 ; 16 ; 17 ; @keyword BASIQUE 18 ; 19 ; 20 ; @keyword MASK 21 ; 22 ; 23 ; @keyword FILLXDIR 24 ; 25 ; 26 ; @keyword FILLYDIR 27 ; 28 ; 29 ; @keyword FILLVAL 30 ; 31 ; 32 ; @keyword _EXTRA 33 ; Used to pass your keywords 34 ; 35 ; @returns 36 ; 37 ; 38 ; @uses 39 ; 40 ; 41 ; @restrictions 42 ; 43 ; 44 ; @examples 45 ; 46 ; 47 ; @history 48 ; 49 ; 50 ; @version 51 ; $Id$ 52 ; 2 53 ;; 3 54 ;; Extrapole zinout[jpi,jpj] sur les continents en utilisant les 4 -
trunk/SRC/ToBeReviewed/CALCULS/rhon.pro
r142 r163 1 1 ;+ 2 ; @file_comments 3 ; 4 ; 5 ; @categories 6 ; 7 ; 8 ; @param SN 9 ; 10 ; 11 ; @param TN 12 ; 13 ; 14 ; @keyword INSITU 15 ; 16 ; 17 ; @keyword SIGMA_N 18 ; 19 ; 20 ; @returns 21 ; 22 ; 23 ; @uses 24 ; 25 ; 26 ; @restrictions 27 ; 28 ; 29 ; @examples 30 ; 31 ; 32 ; @history 33 ; 34 ; 35 ; @version 36 ; $Id$ 37 ; 2 38 ;; 3 39 ;; Calcul de la fonction d'etat (issue de eos.F)
Note: See TracChangeset
for help on using the changeset viewer.