Sampo project - Reflex - Examples

Using IDL in a workflow

  1. To run IDL scripts in a workflow, first open Available Services in Tools and Workflow Launcher -menu. From Local Services/IDL Processors/, select IDL Processor and add it to the workflow model by right-clicking it and selecting Add to model.
  2. This opens a window to select the IDL script that the user wants to use in the workflow. As an example pick the testcase.pro in the directory reflex/reflex-current/scripts/idl. In the port settings window (figure below) that opens change inputFile and image_out types to 'file/fits'.
  3. After adding the script to the model, the Processor can be accessed by opening Advanced model explorer from Tools and Workflow Launcher -menu. The output- and input-files and their type can be seen in a tree view under the Processor.
  4. To add inputs to the workflow, right-click Workflow inputs and select Create New Input. It will prompt for a name and add it to the model. Finally, it can be added to the workflow by right-clicking the input and selecting the correct input under the Choose an Input -list. Note that the input can also be connected to outputs from other processors. After selection a data link is added to the workflow. It can also be accessed in the explorer.
  5. To add outputs to the workflow, right-click the output-file under the processor and connect it to the correct Workflow outputs. This link is also added to the workflow. Remember to connect the outputs to other processors in the workflow, if applicable.