Commit b30464dbd6c9917119fa1466dab0661e15d78d55

Authored by Annie Hughes
1 parent 7236349e
Exists in master

tidied inline help and comments

Showing 1 changed file with 4 additions and 10 deletions   Show diff stats
src/idl/dustem_read_all.pro
... ... @@ -10,7 +10,8 @@ FUNCTION dustem_read_all,dir_in,silent=silent,help=help
10 10 ; CALLING SEQUENCE:
11 11 ; st=dustem_read_all(dir_in,silent=silent,help=help)
12 12 ; INPUTS:
13   -; dir_in: input directory
  13 +; dir_in: directory containing .DAT files to describe grain
  14 +; population properties
14 15 ; OPTIONAL INPUT PARAMETERS:
15 16 ; None
16 17 ; OUTPUTS:
... ... @@ -51,13 +52,13 @@ IF !dustem_which EQ 'WEB3p8' or !dustem_which EQ 'RELEASE' THEN BEGIN
51 52 goto, the_end
52 53 ENDIF
53 54  
54   -;== IAS VERSION -- TO BE DEPRECATED IN FUTURE DISTRIB
  55 +;== IAS VERSION -- TO BE DEPRECATED IN FUTURE DISTRIBS
55 56 IF !dustem_which EQ 'VERSTRAETE' THEN BEGIN
56 57 st=dustem_read_all_lv(dir_in,silent=silent)
57 58 goto,ionfrac
58 59 ENDIF
59 60  
60   -;== IRAP/IPAG VERSIONS -- TO BE DEPRECATED IN FUTURE DISTRIB
  61 +;== IRAP/IPAG VERSIONS -- TO BE DEPRECATED IN FUTURE DISTRIBS
61 62 ;== note: the output keywords are set only for LV version
62 63 file=dir_in+'GRAIN.DAT'
63 64 st_grains=dustem_read_grain(file,silent=silent)
... ... @@ -131,12 +132,6 @@ IF !dustem_which EQ 'COMPIEGNE' THEN BEGIN
131 132 st={Ngrains:Ngrains,grains:sst_grains, $
132 133 isrf:st_isrf,qabs:st_qabs,calor:st_calor,specem:st_specem,lambda:st_lambda}
133 134 ENDIF
134   -; according to logic, should will never reach these lines
135   -;IF !dustem_which EQ 'VERSTRAETE' THEN BEGIN
136   -;
137   -;st={Ngrains:Ngrains,grains:sst_grains, $
138   -; isrf:st_isrf,qabs:st_qabs,calor:st_calor,specem:st_specem,lambda:st_lambda}
139   -;ENDIF
140 135  
141 136 ionfrac:
142 137 IF !dustem_which EQ 'VERSTRAETE' THEN BEGIN
... ... @@ -238,7 +233,6 @@ IF !dustem_which EQ 'VERSTRAETE' THEN BEGIN
238 233 ;JPB: The above is stupid, especially before I added the !dustem_verbose test
239 234 ENDIF
240 235  
241   -
242 236 the_end:
243 237 RETURN,st
244 238  
... ...