上传LSST数据管理的质量保证指标。
post-qa的Python项目详细描述
质量保证后
将度量定义、度量和blob从validate_drp上载到 这是SQuaSH API。post-qa应在CI工作流中运行,如 lsst数据管理公司的jenkins ci。
安装
pip install post-qa
命令行界面
usage: post-qa [-h] --lsstsw LSSTSW_DIRNAME --qa-json QA_JSON_PATH --api-url API_URL --api-user API_USER --api-password API_PASSWORD [--test] Upload JSON from validate_drp to the SQuaSH API. This script is meant to be run from a Jenkins CI environment and uses the following environment variables: - ``BUILD_ID`` : ID in the ci system - ``BUILD_URL``: ci page with information about the build - ``PRODUCT``: the name of the product built, in this case 'validate_drp' - ``dataset``: the name of the dataset processed by validate_drp - ``label`` : the name of the platform where it runs optional arguments: -h, --help show this help message and exit --lsstsw LSSTSW_DIRNAME Path of lsstsw directory --qa-json QA_JSON_PATH Filename of QA JSON output file --api-url API_URL SQuaSH API root URL --api-user API_USER Username for SQuaSH API --api-password API_PASSWORD Password for SQuaSH API --test Print the shimmed JSON rather than uploading it
进一步阅读
许可证信息
版权所有2017 AURA/LSST
麻省理工学院授权的开源。