Changeset 142 for trunk/SRC/ToBeReviewed/GRILLE/t2v.pro
- Timestamp:
- 07/21/06 14:47:49 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/GRILLE/t2v.pro
r134 r142 3 3 ;------------------------------------------------------------ 4 4 ;+ 5 ; NAME:t2v6 5 ; 7 ; PURPOSE:permet de passer un champs se rapportant a la grille T sur 8 ; la grille V, grace a la moyenne: res = 0.5*(res + shift(res, 0, -1)) 9 ; 6 ; @file_comments 7 ; Allows to pass a field refering to the grid T on the grid V, 8 ; thanks to the average res = 0.5*(res + shift(res, 0, -1)) 9 ; 10 ; @categories 11 ; Grille 10 12 ; 11 ; CATEGORY:grille 13 ; @param TEMP {in}{required} 14 ; A 2, 3 or 4d array 12 15 ; 13 ; CALLING SEQUENCE:res=t2v(tab) 14 ; 15 ; INPUTS:tab, un tableau 2, 3 ou 4d 16 ; @returns 17 ; res, a 2, 3 or 4d array 16 18 ; 17 ; KEYWORD PARAMETERS: 19 ; @uses 20 ; common.pro 18 21 ; 19 ; OUTPUTS:res, un tableau 2, 3 ou 4d 22 ; @restrictions 23 ; Force parameters of the zoom on the grid V to be the same as 24 ; those on the grid T. 20 25 ; 21 ; COMMON BLOCKS:common.pro 26 ; @restrictions 27 ; Points which can not be calculated are put at the value NaN 28 ; consecrated by IDL: !values.f_nan 22 29 ; 23 ; SIDE EFFECTS:force les parametres du zoom sur la grille V a etre 24 ; les memes que ceux sur la grille T. 30 ; @history 31 ; From Marina Levy's programs 32 ; Sebastien Masson (smasson@lodyc.jussieu.fr): 33 ; Validation. 5/6/2000 25 34 ; 26 ; RESTRICTIONS:les points qui ne peuvent etre calcules sont mis a la 27 ; valeur NaN consacree par IDL: !values.f_nan 28 ; 29 ; EXAMPLE: 30 ; 31 ; MODIFICATION HISTORY:Marina Levy 32 ; Sebastien Masson (smasson@lodyc.jussieu.fr): 33 ; inspection des traveuax finis. 5/6/2000 35 ; @version 36 ; $Id$ 34 37 ; 35 38 ;- … … 51 54 res = temp 52 55 53 ; onforce nxt=nxv, etc ...56 ;We force nxt=nxv, etc ... 54 57 firstxv = firstxt 55 58 lastxv = lastxt … … 63 66 lat2 = gphiv[0, lastyv] 64 67 65 ; cas sur la taille du tableau et application68 ; case on tha array's size and application 66 69 taille = size(temp) 67 70 CASE taille[0] OF
Note: See TracChangeset
for help on using the changeset viewer.