austingulliver / chiron_slicer

Processing data pipeline for CHIRON spectrograph.
0 stars 0 forks source link

Rename fits files from . to _ #71

Closed Edison1999 closed 5 months ago

Edison1999 commented 5 months ago

I have an unusual request to change the naming of any FITS files produced by CHIRP. The names need to be changed from e.g wchi150915.1185.fits to wchi1509151185.fits i.e. the first period (.) in the name has to change to an underscore ().

If the . is there when I ftp to OpenVMS on Vega, the file name is changed by the system to wchi150915^.1185.fits which is an illegal file name that cannot be addressed by the system!. This occurs only on the Vega system oddly enough.

I hope that you don’t have to change this in too many places in CHIRP.