IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 16 and Version 17 of Dvo_tutorial


Ignore:
Timestamp:
May 11, 2009, 12:10:55 AM (17 years ago)
Author:
Sebastian Jester
Comment:

add note on exec and !

Legend:

Unmodified
Added
Removed
Modified
  • Dvo_tutorial

    v16 v17  
    235235 # Write vectors to file
    236236 write -f "%9.6f %9.6 %6.3f %6.3f %6.3f %6.3f %6.3f %6.3f" PS1_17_35.dat RA DEC g g:err r r:err z z:err
    237  # Write a column header to a new file
    238  ! echo ra dec g g_err r r_err z z_err > PS1_17_35_clean.dat
     237 # Write a column header to a new file using a command shell
     238 exec echo ra dec g g_err r r_err z z_err > PS1_17_35_clean.dat
    239239 # Filter out nans
    240  !grep -v 'nan' PS1_17_35.dat >> PS1_17_35_clean.dat
     240 exec grep -v 'nan' PS1_17_35.dat >> PS1_17_35_clean.dat
     241 # NB: In the dvo shell, you can replace 'exec' by '!', e.g.
     242 ! ls
    241243}}}
    242244You can save all these commands to a file `makecmd.dvo` (e.g.) and then execute them in a dvo session via