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

DM-37196: Modernize APDB schema #107

Merged
merged 30 commits into from Jun 5, 2023
Merged

DM-37196: Modernize APDB schema #107

merged 30 commits into from Jun 5, 2023

Conversation

parejkoj
Copy link
Contributor

@parejkoj parejkoj commented Feb 6, 2023

No description provided.

@parejkoj parejkoj force-pushed the tickets/DM-37196 branch 2 times, most recently from 5339722 to bdd79a7 Compare May 23, 2023 19:14
Copy link
Member

@ctslater ctslater left a comment

Choose a reason for hiding this comment

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

Some fiddly little suggestions. I tried to suggest the same suggestions for the same column in different tables, but might not have been completely successful at that.

yml/hsc.yaml Outdated Show resolved Hide resolved
yml/hsc.yaml Outdated Show resolved Hide resolved
yml/hsc.yaml Outdated Show resolved Hide resolved
yml/imsim.yaml Outdated Show resolved Hide resolved
yml/imsim.yaml Outdated Show resolved Hide resolved
yml/imsim.yaml Outdated Show resolved Hide resolved
yml/imsim.yaml Outdated Show resolved Hide resolved
yml/imsim.yaml Outdated Show resolved Hide resolved
yml/imsim.yaml Outdated Show resolved Hide resolved
@@ -8812,7 +8885,7 @@ tables:
- name: llcra
'@id': '#CcdVisit.llcra'
datatype: double
description: RA of lower left corner.
description: Right Ascension of lower left corner.
Copy link
Member

Choose a reason for hiding this comment

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

No need to change this now, but I just realized how ambiguous "lower left corner" is (on the sky? which way is up on the camera?). Someday this should probably be "minimum y, minimum x" or some other way to express pixel coordinates.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It may or may not help if we linked to the cameraGeom docs in these kinds of places, since we do have a self-consistent camera geometry definition.

https://pipelines.lsst.io/modules/lsst.afw.cameraGeom/cameraGeom.html#camera-coordinate-systems

validityStart/validityEnd are now processing time, not visit time.
Update description of DiaSource/DiaForcedSource versions to be explicit about
where they are measured.
This is to have a record of what we've changed from the imsim.yaml
definitions.
These fields are Visit level, not CcdVisit level:
zenithDistance, skyRotation, expMidpt[MJD], expTime, obsStart,
obsStart[MJD], darkTime, physical_filter, band.

Move detector id to near the top of the list

Cleanup CcdVisit descriptions and add punctuation.
This is a single-value table; we only ever include data from one instrument in
a given APDB instance.
parejkoj and others added 7 commits June 2, 2023 14:58
We've added `time_processed` as a much more explicit and easy to determine way
to order DiaSources by when they were processed. This field was unused.
Also cleanup midPoint capitalization and expMidpt name.

raDecTai->raDecMjdTai
midPointMjd->midpointMjdTai
obsStartMJD->objStartMjdTai
expMidptMJD->midpointMjdTai
expMidpt->midpoint
@parejkoj parejkoj merged commit 5ad3b4b into main Jun 5, 2023
2 of 3 checks passed
@parejkoj parejkoj deleted the tickets/DM-37196 branch June 5, 2023 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants