Command Options

The options of commands define the setting of processing. You can check the options using following command.

reduceFrames.py --help #(or -h)

Some of important ones are shown here.

  • –id: The dataId is an unique ID to specify input data. Commonly-used keywords are following.
    • visit: Name for each observing shot. HSC raw data is named as HSC+[A, B, C...]+%6d+%2d.fits. First, one alphabet comes after HSC. We use ‘A’ for now, but it will change to ‘B’, ‘C’ and so on. The ‘%6d’ is combination of even and odd, and represents a shot number. For example, raw data named HSCA123456+%2d.fits and HSCA123457+%2d.fits are taken in one shot. Especially, even ‘%6d’ is visit ID which is used in HSC pipeline. The ‘%2d’ expresses a CCD ID. The ID number from 00 to 57 is assigned to each CCD. Detailed information is here

    • ccd: CCD ID。

    • field: A target name which corresponds to OBJECT in FITS header.

    • dateObs: Date of observations which corresponds to DATE-OBS in FITS header.

    • filter: Filter name which corresponds to FILTER01 in FITS header.

      # In case of 6 visit from visit = 1000 to 1010, you need to specify them with 2 increment.
      --id visit=1000..1010:2
      
  • –rerun: Concept used in data reduction with HSC pipeline. We refer a single data reduction processing run as rerun. If you perform data reduction with different parameters, it will refer as different rerun.

  • –config: Specify the various config options.
    • There are many config options. If you want to see all parameters;

      # Check config options for reduceFlat.py
      reduceFlat.py <directry which _mapper file is created> --show config
      
  • –clobber-config: Every time the pipeline runs, it stores the values for all configuration parameters, and EUPS versions for all setup packages. These parameters and versions are checked every time you try to run the pipeline in a given rerun. If you’ve changed something (which would make your data inhomogeneous), the pipeline will refuse to run. If you run a command again in a same rerun, you need to add –clobber-config to override.

Please refer to the HSC pipeline command in manual page.