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-24844: Migrate ap_verify_testdata to obs_lsst #8

Merged
merged 3 commits into from Jun 5, 2020

Conversation

kfindeisen
Copy link
Member

@kfindeisen kfindeisen commented May 19, 2020

This PR removes the old obs_test files wholesale, replacing them with files from testdata_lsst and processed runs on lsst-dev. As before, this repository does not quite conform to the ap_verify dataset format; in particular, there are no templates and the data may or may not work together.

Aside from data and docs, the only other change is a modified copy of add_gen3_repo.py. This version of the script hard-codes the test dataset (which is inaccessible to normal use of Dataset) and removes all code for dealing with templates.

We've kept the dummy Gaia catalog, since it's not observatory-specific.
Copy link

@parejkoj parejkoj left a comment

Choose a reason for hiding this comment

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

See comments, mostly regarding file docstrings.

One broader question that I wanted to check: scripts/add_gen3_repo.py is very specifically for this testdata, and so should not have its methods live in some python/lsst/stuff/scripts location, correct?

config/convertRepo_copied.py Outdated Show resolved Hide resolved
config/convertRepo_copied.py Outdated Show resolved Hide resolved
config/convertRepo_calibs.py Outdated Show resolved Hide resolved
config/datasetIngest.py Show resolved Hide resolved
config/export.yaml Show resolved Hide resolved
scripts/add_gen3_repo.py Show resolved Hide resolved
scripts/add_gen3_repo.py Outdated Show resolved Hide resolved
scripts/add_gen3_repo.py Show resolved Hide resolved
The repository passes basic consistency checks but, like the rest of
testdata, is not guaranteed to be useful for analysis.
@kfindeisen kfindeisen merged commit ec56728 into master Jun 5, 2020
@kfindeisen kfindeisen deleted the tickets/DM-24844 branch June 5, 2020 21:59
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