Changeset 226 for trunk/SRC/ToBeReviewed/PLOTS/DIVERS/restoreatt.pro
- Timestamp:
- 03/16/07 10:22:26 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/restoreatt.pro
r163 r226 5 5 ; 6 6 ; @file_comments 7 ; Allows to reattribu ate global variables associated with a field7 ; Allows to reattribute global variables associated with a field 8 8 ; when we give a structure created by saveatt.pro by example. 9 9 ; 10 ; @categories 10 ; @categories 11 11 ; Utilities 12 12 ; 13 13 ; @param STRUCT {in}{required} 14 ; a structure like the one who read litchamp. 14 ; a structure like the one who read litchamp. 15 15 ; See IDL> xhelp,'litchamp' 16 16 ; … … 19 19 ; 20 20 ; @restrictions 21 ; Change the value if global variables attribute of a field: vargrid, 21 ; Change the value if global variables attribute of a field: vargrid, 22 22 ; varname, varunit, vardate, varexp , valmask and time. 23 23 ; … … 47 47 'e':varexp = struct.(i) 48 48 'm':valmask = struct.(i) 49 'd':BEGIN 50 if size(struct.(i),/type) EQ 7 THEN BEGIN 49 'd':BEGIN 50 if size(struct.(i),/type) EQ 7 THEN BEGIN 51 51 vardate = struct.(i) 52 52 ENDIF ELSE BEGIN … … 55 55 ENDELSE 56 56 end 57 ELSE:BEGIN 57 ELSE:BEGIN 58 58 ras = report('Le nom '+nomelements[i]+' ne correspont a aucun element reconnu de la structure. !C cf. IDL> xhelp, ''litchamp''') 59 59 end
Note: See TracChangeset
for help on using the changeset viewer.