-
Notifications
You must be signed in to change notification settings - Fork 0
Description
AJT requests a different naming format for the pointing data file from the Telescope pointing data. It was mistakenly posted in a separate issue #6 :
It says:
rom AJT:
I think this is the correct file: https://github.com/ApachePointObservatory/TUI3/blob/e76f9b42326ab5a3b7b8cc9e9070d44f36077a48/TUI/Scripts/Telescope/Pointing%20Data.py
But I don't see a ... and dropdown menu to copy specific lines of code.
This is line 733 and 744:
currDateStr = isoDateTimeFromPySec(pySec=None, nDig=1)
ptDataName = "ptdata_%s.dat" % (currDateStr,)
ptdata_%s.dat is the current filename, which currently outputs looking like this: ptdata_2023-08-23T00:01:03.7.dat
Preferably, it would look like ptdata_20230823_000102.dat, or more like the ecam mask images--the MaskImages.py script does this using the time package and:
date=time.strftime('%y%m%d_%H%M%S')
name=dir+'ecam/ecam_flat_'+date+'.'+str(x)+'.fits'
so maybe we could just import time and do it that way, instead of changing anything in the RO package?
I can probably make these edits, but what's the correct way to do that?