kmhess / SoFiA-image-pipeline

Generate figures of spectral line sources, for publication or quick inspection, based on SoFiA-2 output catalog and fits files.
GNU General Public License v3.0
16 stars 7 forks source link

Saving fits file #84

Closed panstarrs closed 1 year ago

panstarrs commented 1 year ago

Hi, is there an easy way to save the downloaded fits files for other bands ? I see they are removed automatically after making the images. I think it would be useful to remake the overlay plots if we can save them somewhere, especially when we want to add something else (say, source catalogue) to the plot by ourself, thanks.

panstarrs commented 1 year ago

I just found a way to do this by clicking the link in the printout message, though the fits name is a bit weird. It might be useful to turn on/off this in the command line with a consistent naming, but it's not an issue for me anymore, thanks.

kmhess commented 1 year ago

Glad you found a way to do this. In fact, your exact request is outside the scope of SIP, but you can accomplish it very easily with 1-2 lines of code using astroquery, and then you can also name the file however you like. Cheers.