Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing keywords to raw FITS headers #457

Closed
jchiang87 opened this issue Mar 23, 2024 · 10 comments
Closed

Add missing keywords to raw FITS headers #457

jchiang87 opened this issue Mar 23, 2024 · 10 comments

Comments

@jchiang87
Copy link
Collaborator

For the ops-rehearsal-3 activities, a number of keywords describing the observations were noted as missing, specifically the null ones in this list (see the post in slack):

RA: 124.82881462031425
DEC: -14.893919091079661
RASTART: null
DECSTART: null
RAEND: null
DECEND: null
ROTPA: 116.0158594226007
ROTCOORD: sky
HASTART: -10.490392243587635
ELSTART: null
AZSTART: null
AMSTART: 1.0522574903781972
HAEND: -10.36504999786186
ELEND: null
AZEND: null
AMEND: 1.0522574903781972
TRACKSYS: null
RADESYS: null

However, the *END values aren't used by the metadata translator for the LSST pipelines code, so those can be omitted.

@jchiang87
Copy link
Collaborator Author

jchiang87 commented Mar 25, 2024

A couple other keyword entries that have been noted as missing:

ORIGIN
TELCODE

TELCODE describes the camera, i.e., MC for main camera and CC for ComCam. ORIGIN describes what produced the file, e.g., imSim v2.0. Also, the DAYOBS values probably need a 12 hour offset.

@jchiang87
Copy link
Collaborator Author

Also noted during ops-rehearsal-3 preparations: the DAYOBS header value should be defined with a 12 hour offset applied to MJD. Details TBC. See https://rubinobs.atlassian.net/browse/DM-43495

@rmjarvis
Copy link
Contributor

Why are they offsetting the DAYOBS by 12 hours? Seems not great to lie about what time it is. But maybe I don't understand something.

@jchiang87
Copy link
Collaborator Author

I think it's a question of whether the observing day starts at midnight or at Noon.

@rmjarvis
Copy link
Contributor

Isn't MJD an objective time though? I didn't think there was ambiguity in how it was defined.

https://scienceworld.wolfram.com/astronomy/ModifiedJulianDate.html#:~:text=A%20modified%20version%20of%20the,0%20of%20the%20Julian%20calendar.

@jchiang87
Copy link
Collaborator Author

The proposal is not to change MJD, but to compute DAYOBS from MJD with an offset. I don't think anyone cares about DAYOBS except the Rubin pipeines.

@jchiang87
Copy link
Collaborator Author

Some documentation on expected header keywords: https://docushare.lsst.org/docushare/dsweb/Get/LSE-400

@cwwalter
Copy link
Member

cwwalter commented May 8, 2024

Do you think there are now some new ones we are missing?

@jchiang87
Copy link
Collaborator Author

I think the ones we absolutely need have been added here, but I'd like to do some additional checks against the new obs_lsst code with the LsstCamSim instrument model.

jchiang87 added a commit that referenced this issue May 15, 2024
jchiang87 added a commit that referenced this issue May 17, 2024
jchiang87 added a commit that referenced this issue May 22, 2024
jchiang87 added a commit that referenced this issue May 23, 2024
@jchiang87
Copy link
Collaborator Author

addressed by #473

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants