Changeset 116 for trunk/procs/trends.pro


Ignore:
Timestamp:
06/12/08 11:58:18 (16 years ago)
Author:
kolasinski
Message:

Small changes in def_grid.pro (cdf option) and trends.pro (name of ascii file)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/procs/trends.pro

    r108 r116  
    360360         scale = 1. 
    361361         get_lun, nuldat 
    362          filename = cmd_wrk.exp+'_'+cmd_wrk.date1+'_'+cmd_wrk.spec+'_'+cmd_wrk.plt+'.asc' 
     362         IF field.origin EQ 'div' THEN $ 
     363          name_exp = strjoin(strsplit(cmd_wrk.exp, '/',  /EXTRACT), '-', /SINGLE) ELSE name_exp = cmd_wrk.exp  
     364         filename = name_exp+'_'+ cmd_wrk.var+'_'+cmd_wrk.date1+'_'+cmd_wrk.spec+'_'+cmd_wrk.plt+'.asc' 
    363365         openw, nuldat, asciidir+filename 
    364366         print,  '     -> writing 1D data to ',  asciidir+filename 
Note: See TracChangeset for help on using the changeset viewer.