deepskystacker/DSS

FITS header DATE-OBS missing in output file

dkracht opened this issue · 1 comments

When DDS writes the results file (autosave.fit) with a nice FITS header, the keyword/value pair "DATE-OBS" is not used although beeing exisitent in the subframes.
Shoul be the UTC date and time at the start of the (first) exposure.

The FITS output files on my system contain DATE-OBS based on the first light image included in the stack.

SIMPLE = T / file does conform to FITS standard
BITPIX = -32 / number of bits per data pixel
NAXIS = 3 / number of data axes
NAXIS1 = 5192 / length of data axis 1
NAXIS2 = 3452 / length of data axis 2
NAXIS3 = 3 / length of data axis 3
EXTEND = T / FITS dataset may contain extensions
COMMENT FITS (Flexible Image Transport System) format is defined in 'Astronomy
COMMENT and Astrophysics', volume 376, page 359; bibcode: 2001A&A...376..359H
ISOSPEED= 800
EXPTIME = 300. / Exposure time (in seconds)
EXPOSURE= 300. / Exposure time (in seconds)
NCOMBINE= 5 / Number of stacked frames
SOFTWARE= 'DeepSkyStacker 5.1.4 Beta 1'
DATE-OBS= '2016-10-11T00:41:57'

Otherwise see #195