Git Product home page Git Product logo

Comments (4)

HironaoMiyatake avatar HironaoMiyatake commented on July 17, 2024

I looked into this, and found that we do not have to change the code essentially, and I just added a documentation that is shown in the command line help. You can see the help like

[miyatake@tiger3 Stile_test]$ StileCCD.py $SUPRIME_DATA_DIR --help
2014-07-23T20:42:41: : Config override file does not exist: '/tigress/HSC/products-20130212/Linux64/obs_subaru/HSC-3.0.0/config/CCDSingleEpochStile.py'
2014-07-23T20:42:41: : Config override file does not exist: '/tigress/HSC/products-20130212/Linux64/obs_subaru/HSC-3.0.0/config/hsc/CCDSingleEpochStile.py'
usage: StileCCD.py input [options]

This is a script to run Stile through the LSST/HSC pipeline.
You could configure which systematic tests to be run by setting the following option.
From command line, add
-c 'sys_tests.names=['TEST_NAME1', 'TEST_NAME2', ...]'
. You could add and remove tests from a default by the following option
-c 'sys_tests.names.add('TEST_NAME')'
-c 'sys_tests.names.remove('TEST_NAME')'
. You could also specipy these options by writing a file, e.g.,
====================== config.py ======================
import stile.lsst.base_tasks
root.sys_tests.names=['TEST_NAME1', 'TEST_NAME2', ...]
=======================================================
, and then adding an option 
-C config.py
to the coomand line.

[standard usage by the LSST/HSC pipeline follows]

If @msimet is happy with this change, I'll merge this branch to #7 and close this issue.

from stile.

msimet avatar msimet commented on July 17, 2024

Oh...that's much easier than I thought it would be! Please add it to #7, yes.

from stile.

HironaoMiyatake avatar HironaoMiyatake commented on July 17, 2024

Okay, I update the description (I found that we cannot use add and remove for option -c), but I'll merge this to #7.

from stile.

HironaoMiyatake avatar HironaoMiyatake commented on July 17, 2024

Done!

from stile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.