Skip to content

Conversation

@elanaku
Copy link
Contributor

@elanaku elanaku commented Sep 26, 2025

Checklist

When making changes to YAML files in the schemas directory:

@JeremyMcCormick JeremyMcCormick changed the title Tickets/DM-52666: Add guider columns to visit1_quicklook DM-52666: Add guider columns to visit1_quicklook Sep 26, 2025
This includes observatory data from the FITS image header metadata and measurements and metrics from Rapid Analysis and other data processing.
version:
current: "1.4.0"
current: "1.4.1"
Copy link
Collaborator

@JeremyMcCormick JeremyMcCormick Sep 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding columns should be a minor version bump to 1.5.0, according to the CDB docs.

datatype: float
description: Rotator drift over exposure in arcsec.
ivoa:unit: arcsec
- name: guider_rotator_standard_deviation

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should double-check with Aaron if the rotator name is appropriate here. This quantity is the theta angle of the focal plane, arctan(y/x).

@JeremyMcCormick JeremyMcCormick self-requested a review October 8, 2025 18:09
Copy link
Collaborator

@JeremyMcCormick JeremyMcCormick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine from data engineering. It should still get an additional approval from someone on the ConsDB team before being merged. (@bbrondel ?)

I only noticed that the ivoa:ucd definitions are not included consistently, but this is not required and hasn't been handled uniformly for CDB schemas up to now.

@ktlim
Copy link
Contributor

ktlim commented Oct 8, 2025

PRs for ConsDB schemas should not be merged until they have been fully deployed including TAP Schema so that the Schema Browser never promises something that isn't actually there.

@JeremyMcCormick
Copy link
Collaborator

JeremyMcCormick commented Oct 8, 2025

PRs for ConsDB schemas should not be merged until they have been fully deployed including TAP Schema so that the Schema Browser never promises something that isn't actually there.

For changes to be visible in the TAP service, they would need to be included into a weekly release and so merged into main beforehand. Or a ticket branch could be used, intermittently, between releases.

Merging sdm_schemas PRs has no effect on what is deployed to the USDF/RSP via Phalanx, which has to be updated separately, but you're right that it updates the schema browser. And so mismatches between the schema browser and what is actually deployed to the USDF/RSP could occur. I'm not sure what is the best approach to avoid this aside from merging on Wednesdays so that the changes get included in the weekly and then deploying that weekly tag in the next day's patch window. (If you have other ideas, please let me know. I know this is kind of an ongoing concern affecting all CDB PRs.)

- name: guider_magnitude_drift
"@id": "#visit1_quicklook.guider_magnitude_drift"
datatype: float
description: Magnitude drift over exposure in arcsec.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: Magnitude drift over exposure in arcsec.
description: Magnitude drift over exposure in magnitudes.

ivoa:ucd: time.interval
ivoa:unit: s
- name: guider_roi
"@id": "#visit1_quicklook.guider_roi_size"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use a consistent name and ID.

"@id": "#visit1_quicklook.guider_t_mean"
datatype: float
description: Mean second moment T for all measurements over the exposure.
ivoa:unit: arcsec
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the correct unit? Or should it be arcsec2?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are correct!

"@id": "#visit1_quicklook.guider_e2_mean"
datatype: float
description: Mean second moment e2 for all measurements over the exposure.
ivoa:unit: arcsec
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the unit correct on e1 and e2, or are they dimensionless?

@bbrondel bbrondel merged commit 73527b6 into main Nov 28, 2025
13 checks passed
@bbrondel bbrondel deleted the tickets/DM-52666 branch November 28, 2025 19:18
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

Successfully merging this pull request may close these issues.

6 participants