It is always a good thing to separate computation and presentation.
Use human readable formats.
Realise your problemsolving in (combinable) modules.
( netpbm, though not really scientific software is a perfect example.)
Make your solution scriptable!
Use human readable configuration files.
Incorporate the configuration in the results file.