siriobelli / flame

Flame data reduction pipeline
4 stars 4 forks source link

Saving fuel #2

Closed tomjf closed 7 years ago

tomjf commented 7 years ago

As an aside it might be nice to automatically save the fuel structure after each flame routine has completed successfully with the name of the last completed routine in the filename and overwriting the old one each time.

[In addition you could maybe write the driver to have a parameter to not read the saved structure or to read it and pick up where flame last was saved (this might be unnecessary/confusing)]

siriobelli commented 7 years ago

Great idea! I added the routines flame_util_module_start and flame_util_module_end that save the routine name and time stamp in fuel.util, display some information in the terminal, and save fuel.sav in the intermediate directory.