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-4707: Adapt CFHT astrometry test for DECam COSMOS field validation #1

Merged
merged 8 commits into from Jan 24, 2016

Conversation

wmwv
Copy link
Contributor

@wmwv wmwv commented Jan 20, 2016

No description provided.

echo "lsst.obs.decam.DecamMapper" > ${INPUT}/_mapper

RAWDATA=${VALIDATION_DATA_DECAM_DIR}
ingestImagesDecam.py ${INPUT} ${RAWDATA}/instcal/*.fz --mode link
Copy link
Member

Choose a reason for hiding this comment

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

${RAWDATA} needs to be quoted. Consider running shellcheck on the shell scripts.

@timj
Copy link
Member

timj commented Jan 20, 2016

Can you run flake8 or something on the python code? There is some trailing whitespace, unused imports and a couple of long lines.

@wmwv
Copy link
Contributor Author

wmwv commented Jan 21, 2016

Thanks for the nudge to do that. flake8 and shellcode pass

The various *Config.py files aren't exactly Python source files so I didn't fuss with them.

and validate the astrometry of the results.

Pre-requisites: install and declare the following
1. pipe_tasks from the LSST DM stack (note that pipe_tasks is included with lsst_apps, which is the usual thing to install)
2. obs_cfht from https://github.com/lsst/obs_cfht (this package is not included with lsst_apps); declare this with tag "current"
3. validation_data_cfht from https://github.com/wmwv/validation_data_cfht
3. validation_data_cfht from https://github.com/lsst/validation_data_cfht
4. validation_data_decam from https://github.com/lsst/validation_data_decam

Choose a reason for hiding this comment

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

Also want obs_decam here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, thank you. I rewrote this section a bit now that obs_cfht and obs_decam are in lsstsw/etc/repos.yaml.

Add DECam test script to use with validation_data_decam.

Use astrometry_net_data catalog in validation_data_decam
to do astrometric and photometric calibration for the DECam
sample COSMOS data.

Updated README with DECam validation and pre-requisites.
Explain the options for installing obs_cfht and obs_decam
through lsstsw or eups distrib or just yourself.

Run validation on CCDs 10-18; expect >10000 matches.

Rename *_cfht files to *Cfht.
Part of this changes the call of defaultData() in "__main__"
to generically pass its arguments as *args
to the main checkAstrometry.run() without explicitly listing
each of the arguments on the LHS and then RHS a line later.
This was nominally motivated by the line length being too long
but seems just like better practice anyway.
@wmwv wmwv merged commit f686005 into master Jan 24, 2016
@ktlim ktlim deleted the tickets/DM-4707 branch August 25, 2018 06:50
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.

None yet

3 participants