|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide load_new_sdfits_rows.pro
load_new_sdfits_rows |
procedure load_new_sdfits_rows |
Searches fits files listed in index file, determines if fits files have new rows that should be appended to index file, and appends only those rows to the index file If line mode is on (!g.line is 1) then this updates the global line io object, otherwise, it sets the global continuum object.
>filein, 'filename' >list ; output from 'filename' >list ; here you see contents of 'filename' > load_new_sdfits_rows; even though 'filename' hasnt changed >'No sdfits file(s) in index need updating' ; now new rows are appended to 'filename' (by the online filler perhaps) > load_new_sdfits_rows >'Index file updated with 5 rows' >list ; here you see the original contents of 'filname' ; plus the extra 5 new rows. ; NOTE: the index file was NOT re-created from scatch