Modifying a Reflex Workflow

Similar documents
Federal GIS Conference February 10 11, 2014 Washington DC. ArcGIS for Aviation. David Wickliffe

KB 2449 CA Wily APM security example: CA SiteMinder for authentication with CA EEM for authorization

Hotel Booking System For Magento

Supports full integration with Apollo, Galileo and Worldspan GDS.

A New Way to Work in the ERCOT Market

ECLIPSE USER MANUAL AMXMAN REV 2. AUTOMETRIX, INC. PH: FX:

UM1868. The BlueNRG and BlueNRG-MS information register (IFR) User manual. Introduction

Quickstart Guide to HIPE and the HSA

Specialty Cruises. 100% Tally and Strip Cruises

TIMS to PowerSchool Transportation Data Import

TILOS & P3 DATA INTERFACE PAUL E HARRIS EASTWOOD HARRIS PTY LTD. 24 July 2007

ultimate traffic Live User Guide

MyTraveler User s Manual

FScruiser Bulletin Issued By:

Setup and Configure the Siteminder Policy Store with Dxmanager

Be fast with fares. Be first with customers

VARIBLE COMMISSIONS OVERVIEW

Video Media Center - VMC 1000 Getting Started Guide

ATC Simulators. The manufacturer of

Monitoring & Control Tim Stevenson Yogesh Wadadekar

HardSID Uno / UPlay user s guide HardSID Uno HardSID UPlay

Copyright Thomson Financial Limited 2002

Part 1. Part 2. airports100.csv contains a list of 100 US airports.

CATIA: Navigating the CATIA V5 environment. D. CHABLAT / S. CARO

EMC Unisphere 360 for VMAX

PSS E 34.0 Release Webinar 23 April 2015

Specialty Cruises. A. 100% Tally and Strip Cruises

etrust SiteMinder Connector for Oracle Solutions Architecture, Installation and Configuration Guide For UNIX Version 1.6 (Rev 1.

Copyright Thomson Financial Limited 2006

TIMS & PowerSchool 2/3/2016. TIMS and PowerSchool. Session Overview

Quick Start Guide 3500 AquaVent

Angel Flight Information Database System AFIDS

Kristina Ricks ISYS 520 VBA Project Write-up Around the World

How to Integrate CA SiteMinder with the Barracuda Web Application Firewall

CPDLC-DCL U.S. Airports

The Official s Guide to Athletix

The World s First Robotic Digitization Company

A320 Motorized PRO TQ Installation & Operation Manual

Concur Travel: View More Air Fares

Homeport 2.0 User Guide for Public Users

Efficiency and Automation

Experience with Digital NOTAM

Physical Security Fleets Analyzer Saved Searches... 62

SENIOR CERTIFICATE EXAMINATIONS

Medical Royal Colleges. Revalidation Portfolio User Guide

Phytclean Guide: How to apply for phytosanitary (special) markets

Paperless Aircraft Operations - IATA s Vision and Actions - Chris MARKOU IATA Operational Costs Management

Bonita Workflow. Getting Started BONITA WORKFLOW

C-887.MC Hexapod Control Unit

Configuring a Secure Access etrust SiteMinder Server Instance (NSM Procedure)

EUROCONTROL Call Sign Similarity Project

Special edition paper Development of a Crew Schedule Data Transfer System

Wishlist Plug-in USER GUIDE

Aircraft Noise. Why Aircraft Noise Calculations? Aircraft Noise. SoundPLAN s Aircraft Noise Module

Product information Truma VarioHeat and E-Kit. July 2018

Learning Objectives. Description. Your AU Expert. Scott Hallmark Applied Software Technology, Inc.

S-Series Hotel App User Guide

EMC Unisphere 360 for VMAX

Mobile FliteDeck VFR Version Release Notes

UVACARS User Guide Version 1.0

Amadeus Altéa Airport Link

Flight Dynamics Analysis of a Medium Range Box Wing Aircraft

Shared Rides Lightning Edition User Guide. Quick Start Framework. Version Name: Spring 2017 Version Number: 2.4 Date: 20/01/17

FOR INDUSTRIAL ROBOTIC APPLICATIONS

Table of Contents. Part I Introduction 3 Part II Installation 3. Part III How to Distribute It 3 Part IV Office 2007 &

Integrated SWIM. Federal Aviation Administration Presented to: Interregional APAC/EUR/MID Workshop>

ACS-1805 Introduction to Programming

Sabre: Refund and Exchange Customer Questions

Implementation challenges for Flight Procedures

Ultra s Experience with A-CDM

USER GUIDE Cruises Section

AMXM Airport Mapping picking-up SWIM

There will be no voluntary ticket changes except as stated in the United 24-hour flexible booking policy and United s Agency Rebooking Parameters.

MODAIR: Measure and development of intermodality at AIRport. INO WORKSHOP EEC, December 6 h 2005

ADVANTAGES OF SIMULATION

GAMA/Build A Plane 2017 Aviation Design Challenge

January / February 2006

MODAIR. Measure and development of intermodality at AIRport

Designing computer based training programs. Sam Chan Research Scientist. Posit Science Corporation, San Francisco, CA.

Release Note

Opera TWI Room Type Changes Introduction

Solutions. Author, Department Place, Date

Concur Travel: Lufthansa Pay As You Fly (PAF)

Optimizing trajectories over the 4DWeatherCube

CruiseBuilder 2.0 Tutorial. How to Set Up CruiseBuilder 2.0 How to Use CruiseBuilder 2.0 Booking Engine

visits4u case studies: Aosta Valley Handicraft Museum Aosta, Italy

ACS-1805 Introduction to Programming (with App Inventor) Chapter 7. Ladybug Chase 10/4/2018 1

GPS Training

AIR SUPPORT A/S Nimbusvej 9 DK-7190 Billund, Denmark Phone Fax

InHotel. Installation Guide Release version 1.5.0

Appendix 8: Coding of Interchanges for PTSS

Please read this guide carefully. It tells you how to prepare your cutting plotter for production use in a few easy steps.

Management System for Flight Information

CASS & Airline User Manual

PHY 133 Lab 6 - Conservation of Momentum

Ranking Senators w/ Ted Kennedy s Votes

Challenges in Complex Procedure Design Validation

AIS/AIM System in South Africa (ATNS)

2018/09/01 05:24 1/1 Flight Plan

ESA s Science Operations Centre ESAC

Transcription:

Modifying a Reflex Workflow Public John Pritchard

ESO-Reflex and Kepler EsoReflex is the ESO Recipe Flexible Execution Workbench, an environment to run ESO VLT pipelines which employs a workflow engine (Kepler) to provide a real-time visual representation of a data reduction cascade, called a workflow, which can be easily understood by most astronomers. La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 2

Glossary Actors: Ø (mostly) Green folder like things Ø things that act on stuff, in an EsoReflex workflow, the important actors are the recipe executors and the graphical display actors. Connections: Ø The lines joining things up Ø connect things allowing the stuff coming out of one thing to flow to another thing Relations: Ø The black diamonds here and there Ø allow stuff to be sent to/from multiple things La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 3

Notes The following is being done on a Mac, with fors- 5.3.31 and giraf-2.16.2 workflows, installed via MacPorts If working on RPM based installation replace: /opt/local/ à /usr/ If working on a install-script based installation replace: /opt/local/ à <dir_spec>/install/ La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 4

SOFs The stuff that flows SOFs: Set Of Files Ø original concept from esorex, a Filename+Category, e.g. bias.fits MASTER_BIAS Ø Extended for esoreflex by adding purposes, checksums, class SOFs are the main objects that flow around an esoreflex workflow Ø they are passed from the output port of one actor to the input port one one or more other actors via the connectors. Ø The actors act on the input SOF(s), processing the files and/or modifying the SOF that they then output La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 5

Kepler & ESO Actors A number of the standard Kepler actors are useful, e.g. to set variables, or to replicate objects But, most of the actors used in the esoreflex workflows are ESO specific and are found in the Esoreflex folder To add an actor to a work flow, simply drag and drop from the side bar onto the workflow La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 6

Step 0: open the WKF and export as Open the standard fors_spec workflow and then export as XML to a new directory. Then run the recipe selecting just the 4 th dataset (which has a nice set of cosmic rays ) La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 7

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 8

Step 1: add a simple actor Select the DataFilter actor from the Esoreflex/Workflows.kar folder Drag it on to the workflow under the ForsCalib actor Disconnect the Connection from the sci port of the master FitsRouter and re-connect it to the sof out port of the DataFilter actor. Create a new conection between the sci port of the master FitsRouter and the sof in port of the DataFilter actor La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 9

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 10

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 11

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 12

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 13

The end And that s How to modify a workflow La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 14

But seriously Not the end La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 15

Step 2.1: Add a basic Python Actor Select the PythonActor actor from the Esoreflex/Scripting.kar folder Drag it on to the workflow beside and to the left of the DataFilter actor Note it (currently) has no ports In a terminal do: cp /opt/local/share/esopipes/giraf-2.16.2/reflex/giraf_in_out.py fors_in_out.py Edit it (double click, or right click and select Edit) and set Python script to fors_in_out.py Note how the two ports appear... La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 16

Step 2.1: Add a basic Python Actor Disconnect the Connection from the sof in port of the DataFilter actor and re-connect it to the sof out port of the PythonActor actor. Create a new conection between the sof out port of the PythonActor actor and the sof in port of the DataFilter actor Right button Click on the PythonActor actor and select Customize name. Set the name to InOut. The InOut actor doesn t do anything, except write the in and out SOFs to the bookkeeping directory. La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 17

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 18

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 19

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 20

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 21

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 22

Step 2.2: Add a Recipe Executor The Esoreflex Recipe Executor is a special case. There is no template actor to drag and drop. Instead as per the Reflex Workflow Development Guide (https://www.eso.org/sci/software/reflex): The RecipeExecuter should be instantiated using the Tools -> Instantiate Component option. The component should be called org.eso.recipeexecuter. This will show a list of available recipes as seen by the esorex command which is in the current path. If your recipe is not shown there, check your esorex and pipeline installation. Add inside a CompositeActor, together with a sofsplitter and a sofaccumulator. La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 23

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 24

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 25

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 26

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 27

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 28

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 29

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 30

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 31

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 32

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 33

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 34

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 35

Step 3: Copy paste giraf CRC Remove the fors_bias actor. Open the giraf workflow Select and copy the Cosmic Ray Cleaning, the SofCombiner and the FitsRouter actors just before and just after the CRC actor, and the connections between these three Paste into the fors_spec workflow, and move into positon below the DataFilter actor. La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 36

Step 3: Copy paste giraf CRC Make a new connection from the sof in port of the SofCombiner to the relation just after the MasterBias actor Reconnect the sof out port of the InOut actor to the sof in port of the SofCombiner Make a new connection from the SCIENCE port of the FitsRouter to the sof in port of the DataFilter La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 37

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 38

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 39

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 40

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 41

Step 4: adapt giraf to fors Ok so it ran past the CRC actor without crashing, but then the DataFilter is empty and continuing the science recipe crashes because there is no science file. So what s wrong? In a nutshell, the GIRAF science data have category SCIENCE, while the FORS spec data have one of SCIENCE_MXU, SCIENCE_MOS or SCIENCE_LSS. So this needs to be fixed in the workflow and the python script. Check the categories of the science coming out of the master FitsRouter La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 42

Step 4: adapt giraf to fors Edit the parameters of the FitsRouter just after the CRC actor Add a parameter: Ø Class = ptolemy.data.expr.parameter Ø Name = SCIENCE_config (the name of the port plus _config ) Ø Default value = "SCIENCE_MXU,SCIENCE_MOS,SCIENCE_LSS" Open (not edit) the CRC actor and do the same to the FitsRouter actor just after the Input port La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 43

Step 4: adapt giraf to fors Edit the parameters of the Astroscrappy actor Copy the name of the Python script. In a terminal, copy that python script file to the local directory: cp /opt/local/share/esopipes/giraf-2.16.2/reflex/giraf_astroscrappy_multi.py fors_astroscrappy_multi.py Adapt the python script appropriately J Set the Python script to the fors_astroscrappy_multi.py, make sure that it has the full path to the file. La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 44

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 45

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 46

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 47

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 48

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 49

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 50

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 51

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 52

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 53

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 54

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 55

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 56

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 57

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 58

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 59

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 60

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 61

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 62

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 63

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 64

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 65

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 66

La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 67

The end really this time And that really is How to modify a workflow La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 68

Oh, and one more thing Exercises for the workshop participants Ø Implement the PyCosmic and Median+Pass-Thru Ø Implement the handling of multiple versions of the same RAW file in the ForsScience actor Ø Implement the handling of multiple versions of the same RAW file in the ForsScience actor GUI interface Actually I ve done all this (except the last step) but it is a bit beyond the scope of today s presentation but I hope it will find its way when finished with the last step into the public release of the workflow (if not for 2018, then at least for 2019). La Silla Paranal Users Workshop 2018, 12-14 Mar 2018, Public 69