wiki:DC3OutputStagePolicyDesign

Version 3 (modified by dubcovsky, 11 years ago) (diff)

--

DC3 OutputStage Policy Design

updated: Feb 11, 2009

OutputStage Policy File Componenets

  1. AdditionalData:
    • type: string
    • description: ?
  2. RunMode:
    • type: string
    • allowed values: "preprocess", "process", "postprocess"
    • description: specifies when the output should occur.
  3. OutputItems:
    • type: policy
    • description: list of items to persist
    • sub-policies:
      1. <itemName>:
        • type: policy
        • description: replace <itemName> with the name you would like to assign to this output item. multiple item policies may be defined within the OutputItems policy array.
        • sub-policies:
          1. StoragePolicy:
            • type: policy
            • description: specifies how and where to persist this item. Multiple StoragePolicy can be defined for a single item.
            • sub-policies:
              1. Storage:
                • type: string
                • allowed values: "BoostStorage", "DbStorage", "DbTsvStorage", "FitsStorage", "XmlStorage"
                • description: specifies how to persist the item.
              2. Location:
                • type: string
                • description: specifies where to perist the item. Can include %{...} parameters which will be filled in by the stage using the "AdditionData" values. Built in %{...} operands include:
                  • %{runId}
                  • %{sliceId}
                  • %{universeSize}

Sample OutputStage Policy File

AdditionalData: "exposureId=triggerImageprocEvent.exposureid"
RunMode: "process"
OutputItems: {
    OutputImage: {
        required: true
        StoragePolicy: {
            Storage: "FitsStorage"
            Location: "image%{exposureId}"
        }
    }
}