Menu ▾ ▴

#18 Results filename have the incorrect date

1.0
closed
nobody
None
2022-09-17
2022-02-18
Bob Bryant
No

ASTAP version 2022.02.12 64 bits
Camera Nikon D5600
File type NEF
APT is controlling the camera

I have been using ASTAP to stack images and I noticed the ASTAP Results filename has an incorrect date. The date is always 1 day later then the Date Taken in the images file. APT uses the date as the folder name and the Date Taken on all the files match this date (APT is configured to change the date at noon.). After stacking, the ASTAP results filename is one day later.

Example from ASTAP log file
Saving result 80 as G:\Astrophotography\Ngc2244 Rosette Nebula\Nikon D5600 with 500mm f56 PF lens\2022-01-25\Light Frames\no_object, 2022-01-26, 80x90L, ', D5600_112432_stacked.fits

Note the APT folder is \2022-01-25 This the date all images were taken
ASTAT Results Filename is no_object, 2022-01-26, 80x90L, ', D5600_112432_stacked.fits

I know I can change the ASTAT Results filename's no_object and date text but the same error is in the log filename and log text.

Discussion

  • han.k

    han.k - 2022-02-18

    Hello bob,

    That is an interesting problem.

    ASTAP takes the date and time from the reference light which is indicated by a crown. It uses a reference the image with the best quality. The date taken from the header, not the file data. The date inside the header is normally in UTC time, so the time in the UK winter time. If you live in north or south america, then it will run 6 to 12 hours ahead of your local time.

    Can you check what the date is inside the lights FITS header, preferably the one which is used for reference but it probably doesn't make much difference. See attached screenshot.

    Han

     
  • Bob Bryant

    Bob Bryant - 2022-02-19

    That’s it.

    Below is the reference light from ASTAP’s stack menu for the Rosette Nebula taken on 2022-01-26. This frame was taken on 1/26/2022 at 10:12pm MST in the US from Scottsdale, AZ. ASTAP’s Date/time is 2022-01-27 05:12:04. The UK is 7 hours later then we are.

    File Object Filter Result Bin HFD Quality Background Star level Sharpness Exposure Temperature Width Height Type Date/time Position Solution X ref Y ref Calibration FocPos FocTemp Gain CentAlt CENTAZ
    G:\Astrophotography\Ngc2244 Rosette Nebula\Nikon D5600 with 500mm f56 PF lens\2022-01-26\Light Frames\Light_NGC2244_Nikon_D5600_500mm_f56_PF_Lens__DSC4340_ISO800_120s_T15_2C.NEF.fits 1 x 1 3.3 608 2182 2993 13.845 120 6016 4016 16 raw 2022-01-27 05:12:04 0: 00.0, +0° 00 - 0000000000000000800

    All of my images are Nikon NEF files. The camera is configured to use the local US MST zone and the files show the local time and date. ASTAP converts the NEF file to fits files.

    When I displayed the reference light, the header information did not have the DATE-OBS entry, from your example, as shown below.

    SIMPLE = T / FITS header
    BITPIX = 16 / Bits per entry
    NAXIS = 2 / Number of dimensions
    NAXIS1 = 00000000000000006016
    NAXIS2 = 00000000000000004016
    EXPTIME = 000000000000000119.9
    JD = 2459606.71671
    CCD-TEMP= 00000000000000000999
    GAIN = 00000000000000000800
    DATAMAX = 00000000000000015311
    DATAMAX2= 00000000000000015311
    DATAMAX3= 00000000000000015311
    DATAMAX4= 00000000000000015311
    APERTURE= 000000000000000005.6
    FOCALLEN= 00000000000000000500
    CAMMAKER= 'Nikon'
    INSTRUME= 'D5600'
    TELESCOP= ''
    FILT-PAT= 'RGGBRGGBRGGBRGGB' / Filter pattern
    BAYERPAT= 'RGGB' / Bayer color pattern
    IMG_FLIP= 00000000000000000000
    COMMENT raw conversion by LibRaw-with-16-bit-FITS-support. www.hnsky.org
    END

    Is ASTAP converting the local time in the NEF files to UK time?

    Is there any way to configure ASTAP to use local time?

     
  • han.k

    han.k - 2022-09-17
    • status: open --> closed
     

Log in to post a comment.