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-41219: Fix errors in dp02 and dp02 schemas #145

Merged
merged 3 commits into from Oct 25, 2023
Merged

Conversation

JeremyMcCormick
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@gpdf gpdf left a comment

Choose a reason for hiding this comment

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

Please correct the units ( arcsec2 -> arcsec**2 ) as noted in the detailed comments in one place (but it appears multiple times). This is what the VOUnit standard requires.

We need to see if we can figure out how to make the automated checks more strict.

@@ -8092,37 +8092,37 @@ tables:
datatype: double
mysql:datatype: DOUBLE
description: Elliptical Gaussian adaptive moments
fits:tunit: asec^2
fits:tunit: arcsec2
Copy link
Collaborator

Choose a reason for hiding this comment

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

VOUnit requires arcsec**2 here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This should be fixed now.

- name: ixyPSF
"@id": "#DiaSource.ixyPSF"
datatype: double
mysql:datatype: DOUBLE
description: Adaptive moments of the PSF model at the object position
fits:tunit: asec^2
fits:tunit: arcsec2
Copy link
Collaborator

Choose a reason for hiding this comment

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

Missed one here

@JeremyMcCormick JeremyMcCormick force-pushed the tickets/DM-41219 branch 2 times, most recently from ce79156 to b83663c Compare October 25, 2023 21:35
The 'stat.error' word needs to be primary and not secondary according
to UCD1+ syntax.
This conforms to the astropy v5.3.3 syntax for unit specification.
This follows the standard in the VOAUnits recommendation.
Copy link
Collaborator

@gpdf gpdf left a comment

Choose a reason for hiding this comment

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

Looks good now, thank you!

@JeremyMcCormick JeremyMcCormick merged commit ea96745 into main Oct 25, 2023
4 checks passed
@JeremyMcCormick JeremyMcCormick deleted the tickets/DM-41219 branch October 25, 2023 21:56
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