Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Story Points:1.4
-
Epic Link:
-
Team:SQuaRE
Description
The verification framework adds metadata associated with measurements in the Job object created by lsst.verify. Dispatch verify enrich that with provenance information obtained from the execution enviroment. While the former is arbitrary the later is mainly fixed and required by SQuaSH, thus we propose to separate them.
This will allow SQuaSH to support multiple execution environments as described in https://sqr-009.lsst.io/
Follow https://pipelines.lsst.io/install/lsstsw.html to install the stack using the lsstsw method. Then follow https://pipelines.lsst.io/install/package-development.html to test the changes in the verify package, specifically:
setup -r . -t $USER
scons -Q -j 6 opt=3
You might get an output of verify from a CI run:
https://ci.lsst.codes/job/sqre/job/validate_drp/1164/artifact/cfht-verify_port/archive/validation_data_cfht/Cfht_output_r.json.xz
and execute dispatch_verify from the lsstsw folder to generate the JSON document that will be sent to SQuaSH:
You can use this example notebook https://github.com/lsst-sqre/squash-rest-api/blob/master/tests/test_api.ipynb to inspect what changed in the JSON document and exercise the SQuaSH RESTful API.
Note that now we have the environment metadata associated to the verification job data stored separately from the other metadata:
and similarly in the SQuaSH database. See https://sqr-009.lsst.io/#the-qc-tier-0-database for more details.