This repository contains the DESCQA framework that validates simulated galaxy catalogs. For more information about this framework, please check out the DESCQA paper.
A web interface hosted on NERSC displays recent validation results from the DESCQA framework.
! Important ! Starting from DESCQA v2 (current version), we have separated the configurations and readers of catalogs from DESCQA and moved them to a standalone repo, the GCRCatalogs repo. We have also changed much of the validation tests. If you are looking for the catalogs and tests in DESCQA v1 (as presented in the companion paper), please see the v1 subdirectory.
To run a sample DESCQA test from the command-line:
git clone git@github.com:LSSTDESC/descqa
cd descqa
sh run_master.sh -c cosmoDC2_v1.1.4_small -t SkyArea
See "How to run DESCQA?" section in CONTRIBUTING.md
for more options that you can use with the run script.
First of all, try accessing the catalogs! You can find information about the catalogs in this Confluence page and this presentation (video). However, the easiest way to start is to go to https://jupyter.nersc.gov and login with your NERSC account, and follow this tutorial notebook (download link, you can then upload the notebook through the jupyter interface).
Once you can access the catalogs, try to make some plots about things you are interested in. You can find some ideas that have been proposed, but you are more than welcome to come up with new ones!
Now that you are able to make some plots, think about how to "validate" the catalogs (i.e., are there any observation/theory data that can be plotted on the same figure for comparison? How to decide whether a catalog is satisfactory?)
Now we can integrate your work into the DESCQA web interface! This step is slightly more involved, but you can follow the instruction here.
run_master.sh
: a convenient shell script to run DECSQAfix_web_permission.sh
: a convenient shell script to ensure permissions are set correctly.index.cgi
: CGI script for web interfacedescqa/
: package that contains all the validation test classes and relevant utilitiesdescqa/configs/
: directory that hosts all validation test config YAML filesdescqa/data/
: directory that hosts small data files that validation tests needdescqaqweb/
: package that contains the web interfacedescqaqrun/
: package that contains the execution scriptsv1
: catalog readers and validation tests for DESCQA v1See install_requires
and extras_require
in setup.py for the full installation dependencies.
Note, to run DESCQA (v2), GCRCatalogs is also required.