Commit a2242a551b1c87b33ca17b225c17fa43d7d6b5e3

Authored by Georgina Sampson-olalde
1 parent 77b3b21d
Exists in master

change name mistake

LabTools/IRAP/GSO/make_grids_byprop.pro 0 → 100644
... ... @@ -0,0 +1,26 @@
  1 +pro make_grids_byprop
  2 +
  3 + ; make_grids_byprop.pro
  4 + ; CAUTION: must launch nohup through ssh with no XY option ...
  5 + ; ====== gso_srundir: /data/projects/gsampson-ola/
  6 + ; === To be run on alma1 using something like this:
  7 + ; nohup idl -e "make_grids_byprop" > make_grids_gso_all.log 2>&1 &
  8 + ; === check progress using:
  9 + ; tail -f {$gso_srundir}make_grids_gso_all.log
  10 +
  11 + t0 = systime(/sec)
  12 +
  13 + make_sed_tables_byprop, 'DBP90', grid_type = 'size_dist', grain_type=0, /test
  14 +
  15 + !quiet = 0
  16 +
  17 + t1 = systime(/sec)
  18 +
  19 + message, 'It took ' + strtrim((t1 - t0), 2) + ' sec', /info
  20 + message, 'It took ' + strtrim((t1 - t0) / 60., 2) + ' min', /info
  21 + message, 'It took ' + strtrim((t1 - t0) / 60. / 60., 2) + ' hrs', /info
  22 +
  23 + message, 'Job finished', /info
  24 +
  25 + exit
  26 +end
... ...
LabTools/IRAP/GSO/make_grids_gso.pro
... ... @@ -13,7 +13,6 @@ pro make_grids_gso
13 13 ; make_sed_tables_gso, grid_type = 'DBP90', /extend_trick
14 14 ; make_sed_tables_gso, grid_type = 'MC10', /extend_trick
15 15 ; make_sed_tables_gso, grid_type = 'J13', /extend_trick
16   - make_sed_tables_byprop, 'DBP90', grid_type = 'size_dist', grain_type=0, /test
17 16  
18 17 !quiet = 0
19 18  
... ...
LabTools/IRAP/GSO/make_sed_tables_byprop.pro
1   -pro make_sed_tables_example, dust_model, grid_type = grid_type, test = test, show_seds = show_seds, grain_type = grain_type, extend_trick = extend_trick, help = help
  1 +pro make_sed_tables_byprop, dust_model, grid_type = grid_type, test = test, show_seds = show_seds, grain_type = grain_type, extend_trick = extend_trick, help = help
2 2  
3 3 ;+
4 4 ; NAME:
... ...
LabTools/IRAP/GSO/make_sed_tables_gso.pro
... ... @@ -172,7 +172,7 @@ pro make_sed_tables_gso, test = test, show_seds = show_seds, grid_type = grid_ty
172 172  
173 173 fpd=['(*!dustem_params).grains(0).amin']
174 174 fiv=[3.5000E-08]
175   - table_name = dir + test_str + model + '_2_G0.fits'
  175 + table_name = dir + test_str + model + '_G0.fits'
176 176 endif else begin
177 177 pd = [ $
178 178 '(*!dustem_params).G0', $ ; G0
... ... @@ -192,7 +192,7 @@ pro make_sed_tables_gso, test = test, show_seds = show_seds, grid_type = grid_ty
192 192 endelse
193 193  
194 194 fpd = [] & fiv = []
195   - table_name = dir + test_str + model + '_2_G0_YPAH0_YPAH1_YamCBEx_YaSilx.fits'
  195 + table_name = dir + test_str + model + '_G0_YPAH0_YPAH1_YamCBEx_YaSilx.fits'
196 196 endelse
197 197  
198 198  
... ... @@ -212,7 +212,7 @@ pro make_sed_tables_gso, test = test, show_seds = show_seds, grid_type = grid_ty
212 212 iv_Nvalues=[3,3,3,3,3]
213 213 ENDIF
214 214  
215   - output_table_name= dir + test_str + model + '_2_G0_YPAH0added_YPAH1added_YamCBExadded_YaSilxadded.fits'
  215 + output_table_name= dir + test_str + model + '_G0_YPAH0added_YPAH1added_YamCBExadded_YaSilxadded.fits'
216 216 dustem_add_linear_params2grid,table_name,pd,iv_min,iv_max,iv_Nvalues,out_filename=output_table_name,plog=plog,show_seds=show_seds
217 217 endif else begin
218 218 goto,the_end
... ...