jeffctaylor / astro2013

A centralized place for my code this spring and summer
2 stars 0 forks source link

The name of the final output file #21

Open jeffctaylor opened 11 years ago

jeffctaylor commented 11 years ago

Currently, the script produces a data cube with the name of datacube.fits. Should we allow the user to specify the name of this output file? Again, I am thinking of a user running the script multiple times with different parameters - it might be easier to specify

--outfile datacube1.fits --outfile datacube2.fits --outfile datacube3.fits

etc., rather than having to run the script and then either rename or move the datacube.fits output file before it can be run again.

Again, a trivial change, but just let me know how realistic this is.

sophiathl commented 11 years ago

again, this sounds very thoughtful - I think is best to let the user decide on the output filename, especially since this allows many tests