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-31420: Fix unit errors in APDB schema #128

Merged
merged 2 commits into from Jul 7, 2023
Merged

DM-31420: Fix unit errors in APDB schema #128

merged 2 commits into from Jul 7, 2023

Conversation

parejkoj
Copy link
Contributor

@parejkoj parejkoj commented Jul 7, 2023

No description provided.

ngmy->nJy
asec->arcsec
days->day
degrees->degree
(mas/yr)^2->mas^2/yr^2
date->day
MJD->day
Added note about units of firstObservationDate
stat.error:->stat.error;
Copy link
Member

@kfindeisen kfindeisen left a comment

Choose a reason for hiding this comment

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

Most of these fixes have already done for the other (non-archival) schema files; I noted the one exception.

@@ -2177,88 +2178,88 @@ tables:
datatype: float
description: Estimated sky background at the position (centroid) of the object.
mysql:datatype: FLOAT
fits:tunit: nJy/asec^2
fits:tunit: nJy/arcsec^2
Copy link
Member

Choose a reason for hiding this comment

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

The same error shows up in yml/imsim.yaml, yml/dp01_dc2.yaml, yml/dp02_dc2.yaml. Even if you can't test them, why not do the search-and-replace?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've fixed imsim.yaml, but I don't want to modify the dp01/dp02 files, because they're associated with already-released data products and I believe are under a more strict modification process. I'll leave it to @gpdf to sort out those two on the other tickets about this.

@parejkoj parejkoj merged commit 637c914 into main Jul 7, 2023
3 of 4 checks passed
@parejkoj parejkoj deleted the tickets/DM-31420 branch July 7, 2023 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants