SDD/PSD P.Ballester INS Software Workshop - 10 Oct 2008 1 Data Processing Day 9:00 Data Flow System Deliverables and Integration 10:00 Coffee Break 10:15.

Slides:



Advertisements
Similar presentations
July 2006Instrument Scientist Retreat, Santiago Quality Control: closing the loop Reinhard Hanuschik, DFO/QC 1. Principles 2. Processes 3. Critical components.
Advertisements

AMBER and MIDI from user’s point of view EuroSummer School Observation and data reduction with the Very Large Telescope Interferometer Goutelas, France.
Preparing MIDI for science operations on Paranal Markus Schöller Jean-Gabriel Cuby, Sebastien Morel, Andrea Richichi Schloss Ringberg, September 03, 2003.
X-shooter DRS project Paolo Goldoni, APC-SAp/CEA VLT 2nd Generation Instruments Meeting - MPE Munich 18/04/2007.
SDD/DFS P.Ballester VLT 2 nd Generation Instrumentation Pipelines 18 Apr Pipeline Integration into the Data Flow System.
FMOS Observations and Data 14 January 2004 FMOS Science Workshop.
HAWCPol / SuperHAWC Software & Operations J. Dotson July 28, 2007.
1 NGAO Instrumentation Studies Overview By Sean Adkins November 14, 2006.
30 September 2004PRIMA AOS CDR1 Data reduction library I. requirements Eric Bakker I. Requirements II. Design (Jeroen) III. Implementation (Jeroen) IV.
Introduction to Spitzer and some applications Data products Pipelines Preliminary work K. Nilsson, J.M. Castro Cerón, J.P.U. Fynbo, D.J. Watson, J. Hjorth.
18 April 2007 Second Generation VLT Instruments 1 VIRCAM & CPL: Lessons Learned Jim Lewis and Peter Bunclark Cambridge Astronomy Survey Unit.
Chinese SONG and mini-SONG Software Xiaomeng Lu National Astronomical Observatories, CAS 18 Sep, 2011 The 4 th Workshop.
Commissioning the NOAO Data Management System Howard H. Lanning, Rob Seaman, Chris Smith (National Optical Astronomy Observatory, Data Products Program)
Physical Modelling of Instruments Activities in ESO’s Instrumentation Division Florian Kerber, Paul Bristow.
Memorandam of the discussion on FMOS observations and data kicked off by Ian Lewis Masayuki Akiyama 14 January 2004 FMOS Science Workshop.
Hunt for Molecules, Paris, 2005-Sep-20 Software Development for ALMA Robert LUCAS IRAM Grenoble France.
AAO Fibre Instrument Data Simulator 10 October 2011 ROE Workshop 2011 Michael Goodwin Tony Farrell Gayandhi De Silva Scott Smedley Australian Astronomical.
Detector Monitoring as part of VLT Science and Data Flow Operations Wolfgang Hummel DMO/DFO/QC group Lander de Bilbao, SDD/pipeline group Andrea Modigliani,
STIS Closeout Plan Paul Goudfrooij 2005 HST Calibration Workshop, 10/26/2005.
FCS - AAO - DM COMPE/SE/ISE 492 Senior Project 2 System/Software Test Documentation (STD) System/Software Test Documentation (STD)
1 The EIS Experience: Lessons Learned May 12, 2005.
Raw data recipes SGDP Science Grade Data Products Wolfram Freudling DPD / SDP Group.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Status FUV Detector “1-bounce design” NUV Detector HST aberration fully-corrected Calibration.
Proposal for a self-calibrating and instrument-independent MOS DRS Carlo Izzo.
Planetary Science Archive PSA User Group Meeting #1 PSA UG #1  July 2 - 3, 2013  ESAC PSA Archiving Standards.
COS PIPELINE PDR Daryl Swade December 7, 2000OPUS / OTFR Space Telescope Science Institute 1 of 24 Science Data Processing
Tutorial T-10 Amber Data Reduction (practical point of view) EuroSummer School Observation and data reduction with the Very Large Telescope Interferometer.
SDD/DFS R. Hook. VLT 2 nd Generation Instrumentation Pipelines, 18 Apr Richard Hook Sampo & ESO Reflex background, status and plans.
Consortium Meeting La Palma October PV-Phase & Calibration Plans Sarah Leeks 1 SPIRE Consortium Meeting La Palma, Oct. 1 – PV Phase and.
SDD/DFS Y. Jung VLT 2 nd Generation Instrumentation Pipelines, 19 Apr General Introduction Yves Jung.
SCIOPS 2013 Reinhard Hanuschik, ESO Garching The VLT Quality Control Loop.
Test and Integration Robyn Allsman LSST Corp DC3 Applications Design Workshop IPAC August , 2008.
Virtual Survey System sept 04 ASTRO-WISE- federation OmegaCEN AstroWise a Virtual Survey System OmegaCAM – Lofar – AstroGrid –((G)A) VO AstroWise a Virtual.
Data products of GuoShouJing telescope(LAMOST) pipeline and current problems LUO LAMOST Workshop.
ESO SDD - Henning Lorch ESO Instrumentation Software Workshop Henning Lorch “Reflex” Pipeline Frontend.
Observing Modes from a Software viewpoint Robert Lucas and Philippe Salomé (SSR)
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr Henning Lorch & Mario Kiekebusch et. al. The CLIP.
1 KFPA Critical Design Review – Fri., Jan. 30, 2009 KFPA Data Pipeline Bob Garwood- NRAO-CV.
SAGE meeting Socorro, May 22-23, 2007 EVLA Science Operations: the Array Science Center Claire Chandler NRAO/Socorro.
Chapter 8 Lecture 1 Software Testing. Program testing Testing is intended to show that a program does what it is intended to do and to discover program.
HARPS Data Flow System Christophe Lovis Geneva Observatory HARPS-N PDR, 6-7 December 2007, Cambridge MA.
SDD/DFS A. Modigliani VLT 2 nd Generation Instrumentation Pipelines, 19 Apr ACCEPTANCE TESTS Andrea Modigliani.
Lesson 2: association Lesson 2: Association Lesson 1: dfos - vision and architecture Directory structure Installation Tips and tricks Lesson 3: Operations.
CASE (Computer-Aided Software Engineering) Tools Software that is used to support software process activities. Provides software process support by:- –
MOS Data Reduction Michael Balogh University of Durham.
COS PIPELINE CDR Jim Rose July 23, 2001OPUS Science Data Processing Space Telescope Science Institute 1 of 12 Science Data Processing
JWST Pipeline/Analysis Tools Perry Greenfield Science Software Branch.
ESO Reflex A Graphical Workflow Engine for Data Reduction Richard Hook Euro VO Data Centres Alliance Theory & Grid Workshop, Garching, April 2008.
14 January Observational Astronomy SPECTROSCOPIC data reduction Piskunov & Valenti 2002, A&A 385, 1095.
Paul Bristow (ESO Instrumentation) Thanks to: Andrea Modigliani, Joël Vernet & Florian Kerber, Sabine Moehler (ESO) Paolo Goldoni, Frédéric Royer & Régis.
Practical session on calibrators Euro Summer School Active Galactic Nuclei at the highest angular resolution: theory and observations Torun, Poland 27.
2G Instrumentation Pipelines Sandra Castro. 2G Instrumentation Pipelines 2 19 April 2007 Pipeline Products 1. Product FITS header 2. QC parameters (PAF.
Page 1 PACS GRITS 17 June 2011 Herschel Data Analysis Guerilla Style: Keeping flexibility in a system with long development cycles Bernhard Schulz NASA.
Data Processing & Quality Control Group [ Faculty Meeting Sept Data Processing & Quality Control Quality Control Group head: Reinhard.
PACS NHSC Data Processing Workshop Aug 26-30, 2013 Page 1 SPIRE Spectrometer Data: Calibration Updates, User Data Reprocessing, and Other Issues Nanyao.
WFC3 PIPELINE CDR Jim Rose October 16, 2001OPUS Science Data Processing Space Telescope Science Institute 1 of 13 Science Data Processing
Observations with AMBER  General overview  P2VM  OB preparation with P2PP P2PP / OB / templates Available templates for observation procedure Typical.
Slitless spectroscopy with the Advanced Camera for Surveys Martin Kümmel, Søren Larsen & Jeremy Walsh 27 October 2005.
ESO – A.Longinotti ESO Instrumentation Software Workshop Antonio Longinotti Testing Instrumentation Software Applications.
Faculty meeting - 13 Dec 2006 The Hubble Legacy Archive Harald Kuntschner & ST-ECF staff 13 December 2006.
CS646: Software Design and Architectures Introduction and Overview †  Definitions.  The general design process.  A context for design: the waterfall.
SINFONI data reduction using the ESO pipeline. Instrument design and its impact on the data (I) integral field spectrometer using mirrors brickwall pattern.
A.Zanichelli, B.Garilli, M.Scodeggio, D.Rizzo
JWST Pipeline Overview
Data Processing Status
SGS for OUSIM Meeting goals:
The VIMOS IFU Pipeline Carlo Izzo.
Click to add title Planning for LSST Verification George Angeli LSST All Hands Meeting Tucson August 15, 2016.
Observing with Modern Observatories (the data flow)
M. Kezunovic (P.I.) S. S. Luo D. Ristanovic Texas A&M University
Presentation transcript:

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Data Processing Day 9:00 Data Flow System Deliverables and Integration 10:00 Coffee Break 10:15 The ESO Common Pipeline Library 11:00 The ESO-Reflex Environment 12:00 Lunch break 13:00 CPL Tutorial 15:00 Coffee Break / End of Workshop

SDD/PSD P.Ballester INS Software Workshop - 10 Oct SDD / Pipeline Systems Department P.Ballester K.Banse S.Castro L. de Bilbao A. Gabasch E. Garcia C. Izzo Y. Jung J. Larsen H. Lorch L. Lundin A. Modigliani R. Palsa D. Petry K. Shabun J. Vinther

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Data Flow System Deliverables and Integration

SDD/PSD P.Ballester INS Software Workshop - 10 Oct DFS Deliverables (1): Data Reduction Library PSD Paranal Science Operations INS Commissioning Team Data Flow Operations DICB/Archive Public Release User Community

SDD/PSD P.Ballester INS Software Workshop - 10 Oct DFS Deliverables (2): ETC/ Observation Preparation Tools

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Talk Outline Data Reduction Library Calibration cascade Modular design Data Products Science-grade data products Simulations and validation Project Organisation Project phases and timeline DFS Integration Acceptance tests DFS infrastructure

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Data Reduction Library Calibration Cascade Modular Design

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Data Reduction Correct for detector and instrument effects Correct for atmospheric effects Separate science data from noise and background Astronomical Calibrators (Position, Spectral flux, Diameter, etc..) Instrumental Calibrators (Internal sources)

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Calibration Cascade Detector Bias Instrument and Detector Sensitivity Photometry Standard Star

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Shift & Add: HAWK-I Modular Design -Independent modular recipes -Integrated pipeline recipe

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Shift & Add: HAWK-I Reflex Workflow

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Shift & Add: Demonstration 1. Raw image (sky = 10,000 star = 1) 2. Dome flat 3. Estimating the sky from N jittered exposures 4. Subtracting the sky and correcting for flat-field 5. Co-adding the sky corrected images 6. Astrometry + Photometry !!

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Science-Grade Data Products Accuracy Recipes Design Robustness, Fault tolerance Validation

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Science-Grade Data Products Calibrated in physical units with error estimates No residual systematic error S/N close to the achievable optimum (e.g. ETC prediction) OB combination E.g. fully calibrated and mosaiced images with error bars Standard data formats SGDPs are independent of the science goals

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Understanding the Instrument Signature (1) UVES Adaptive Optimal Extraction UVES archive data reprocessing: Robust to CCD defects S/N adaptive optimal extraction Analytic profile for low S/N Non-parametric profile for high S/N Ripple scale QC parameters

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Understanding the Instrument Signature (2) MIDI Visibility Spectra

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Designing Pipeline Recipes Image Model Optical/Detector model Assumptions on stability/reproducibility Input Data Signal-to-noise Missing data Contamination Stability (Atm., Ins.) Multiplex/Volume Reduced Data Random error estimates Systematic errors Inverse Solution Objective function No assumptions on scientific program Optimization strategy Computational complexity Robustness, Fault tolerance Pipeline Recipe Default parameters Fixed calibration data Accuracy Throughput Robustness

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Ar lamp - 1” slit - from P. Spano et al. in Merate, July 2007 First light in the lab (VIS arm)

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Using Simulations Ar lamp - 1” slit - simulated by P. Bristow (ESO)

SDD/PSD P.Ballester INS Software Workshop - 10 Oct State-of-the-art DRS pipeline Simulated image, multi-pinhole VIS: curved orders, line tilt varying along order

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Robustness, Fault Tolerance Physical Model Pattern Matching

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Project Organisation Scheduling Validation and Acceptance

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Phases Phase A to FDR Documentation/ Prototyping2-3 years FDR to PAE Development/ Simulation2-3 years PAE to SV and SOP Deployment 6-12 months Operational PhaseMaintenance10 years

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Document and Technical Documentation 1618 Document (currently v.2.0) CPL Documentation DICB / VLTI DICD Gasgano Reflex

SDD/PSD P.Ballester INS Software Workshop - 10 Oct DFS Deliverables: 1618 Template Schedule

SDD/PSD P.Ballester INS Software Workshop - 10 Oct DFS Deliverables: 1618 Template Schedule (cont’d)

SDD/PSD P.Ballester INS Software Workshop - 10 Oct From Phase A to FDR Phase A and PDR Preparation Reuse existing documents as templates Identify extra needs: observation preparation, visualisation, link to the data analysis? Learning CPL before the FDR First recipes in CPL, coding standards, memory management, … Review existing pipelines, develop prototypes Coding starts officially only after the FDR FDR Preparation Prototype data reduction algorithms (test and simulated data) New document: Validation and Test Plan Observatory Pipeline is template based —Further processing requirements ? —Data combination, interactive processing

SDD/PSD P.Ballester INS Software Workshop - 10 Oct From FDR to Science Verification FDR to PAE Plan more import validation effort for the first recipes, In general, plan enough time for testing and finalising Regular intermediate software releases (3 to 6 months), including test reports Keep improving simulated or adapted data, in sync with instrument schedule PAE Plan for the complete set of recipes to be ready at PAE Validated data reduction algorithms (using laboratory and simulated data) Have ready a few alternative calibration/reduction methods Commissioning to Science Verification Test and validate on instrument and sky data Identify and solve the unexpected problems

SDD/PSD P.Ballester INS Software Workshop - 10 Oct DICB Approval DPR Keyword Values Ideally, classification rules are only based on DPR keywords Valid values are listed in the DICB 4.0 documents Submit proposal to DICB by FDR before using new values DICB Validation No redefinition of existing keywords (database at Keyword names should not be too long Avoid underscores and special characters Multi-HDU files Always the same structure of data for a given data type Data extensions come first, auxiliary and optional tables afterward

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Acceptance Tests Usage of CPL recipe template Following CPL coding standard Usage of external libraries Namespace protection Execution Tests Completeness of the set of recipes and DRL functions Availability/representativity of test data Proper execution of recipes Generation of products Memory leaks Unit tests Documentation Detailed Validation Correctness of results Validation of input FITS compliance User-friendly documentation Data reduction cascade Unit tests Performance and Portability Execution speed Standard platforms: Scientific Linux

SDD/PSD P.Ballester INS Software Workshop - 10 Oct DFS Integration Observatory Pipeline Quality Control Pipeline Desktop science-grade data reduction Maintenance

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Data reduction environments Observatory Pipeline On-the-fly data processing (event driven) Template-based processing Static calibration database (only certified products are used) Quality Control Pipeline Batch processing of complete data sets (all science and calibration data produced by one ESO instrument in one night) Best available calibrations are used => data must be organized according to the Calibration Cascade Desktop science-grade data reduction Modular and additional recipes are avilable Several front-ends for scripting (esorex), browsing (Gasgano), interactive (Reflex)

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Observatory Pipeline Instrument Raw Data Archive PIPELINEOFFLINE FurtherAnalysis Raw data Processed data On-Line Archive Sytem Shipping Shipping

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Observatory Pipeline: Workstation Pipeline workstation Data Organizer Reduction Block Scheduler Configuration files Calibration database Data Reduction System PRODUCTS Instrument Package Common Pipeline Library Archive Quality control Data arriving from the instrument Reduction Block  List of the raw frames  List of the calibration data  Name of the products  DRS recipe to apply

SDD/PSD P.Ballester INS Software Workshop - 10 Oct OCA Rules if DPR.CATG=="CALIB" and DPR.TYPE=="LAMP,WAVE" then { DO.CLASS = "ARC_SPECTRUM"; RAW.TYPE = "WAVE"; } 1.C LASSIFICATION 2.O RGANIZATION select execute(GI_WAVE_CALIBRATION) from inputFiles where RAW.TYPE=="WAVE“ group by TPL.START 3.A SSOCIATION action GI_WAVE_CALIBRATION { select file as MASTER_BIAS from calibFiles where PRO.CATG=="MASTER_BIAS" and inputFile.DET.WIN1.BINX==DET.WIN1.BINX; select file as GRATING_DATA from calibFiles where PRO.CATG=="GRATING_DATA" and inputFile.INS.GRAT.NAME==INS.GRAT.NAME; recipe giwavecalibration { } product mflat { PRO.CATG="MASTER_FLAT"; } }

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Quality Control Log Files 12:21:51>-START GROUP / Start [AMBER] 12:21:51> ARCFILE = 'AMBER T12:16: fits' [AMBER] 12:21:51> TELESCOP = 'NOT_SPECIFIED' / Telescope [AMBER] 12:21:51> INSTRUME = 'AMBER' / Instrument name [AMBER] 12:21:51> OBSERVER = 'UNKNOWN' / Observer name [AMBER] 12:21:51> PIPEFILE = 'p2vm.fits' / Filename of data product [AMBER] 12:21:51> INS GRAT1 NAME = 'GHR' / Grating common name. [AMBER] 12:21:51> INS GRAT1 RESOL = ; / Encoder resolution [Enc/deg]. [AMBER] 12:21:51> INS GRAT1 WLEN = ; / Grating central wavelength [nm]. [AMBER] 12:21:51> INS GRAT1 ZORDER = 40319; / Grating zero order position [Enc]. [AMBER] 12:21:51> INS GRIS1 NAME = 'NAR_SLT' / OPTIi name. [AMBER] 12:21:51> INS GRIS2 NAME = '3T_K' / OPTIi name. [AMBER] 12:21:51> INS MODE = '3Tstd_High_K_1_2.365' / Instrument mode used. [AMBER] 12:21:51> PRO DID = 'ESO-VLT-DIC.PRO-1.15' / Data dictionary for PRO [AMBER] 12:21:51> PRO CATG = 'P2VM_REDUCED' / pipeline product category [AMBER] 12:21:51> PRO TYPE = 'REDUCED' / Product type [AMBER] 12:21:51> PRO REC1 ID = 'amber_p2vm' / Pipeline recipe (unique) identifier [AMBER] 12:21:51> PRO REC1 DRS ID = 'cpl-3.0' / Data Reduction System identifier [AMBER] 12:21:51> PRO REC1 PIPE ID = 'AMBER/2.3.2' / Pipeline (unique) identifier [AMBER] 12:21:51> PRO REC1 RAW1 NAME = 'AMBER T12:13: fits' / File name of raw frame [AMBER] 12:21:51> PRO REC1 RAW1 CATG = 'AMBER_3WAVE' / Frame category of raw frame [AMBER] 12:21:51> PRO DATANCOM = 14; / Number of frames combined [AMBER] 12:21:51> PRO REC1 CAL1 NAME = 'FlatFieldMap.fits' / File name of calibration frame [AMBER] 12:21:51> PRO REC1 CAL1 CATG = 'AMBER_FLATFIELD' / Frame category of calibration frame [AMBER] 12:21:51> PRO REC1 PARAM1 NAME = 'dummy' / Name of recipe parameter [AMBER] 12:21:51> DET NTEL = 3; / Number of telescopes [AMBER] 12:21:51> QC P1 OFFSETY = 0.02; / Offset wavelength calibration [AMBER] 12:21:51> QC P2 OFFSETY = 0.05; / Offset wavelength calibration [AMBER] 12:21:51> QC P3 OFFSETY = 0.03; / Offset wavelength calibration [AMBER] 12:21:51>-STOP GROUP / Stop [AMBER]

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Garching: QC Main Tasks Create master calibrations Derive and trend QC parameters Create science products (Service Mode) Prepare data packages (Service Mode) Pipelines & QC parameters: requirements & testing Customers Paranal Science Operations ESO community (PIs, archive users) Home Page:

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Information by Instrument Similar pages for every VLT/VLTI instrument

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Public Releases Linked from all ESO instrument pages Release package, documentation, demonstration data 13

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Desktop Data Reduction: Gasgano VLT interactive data organisation tool – FITS file browsing – Grouping – Classification Interactive front-end – Interface to CPL plugins – Interface to vizualisation tools Features – Java language – FITS format

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Desktop Data Reduction: Reflex -CPL recipes -External tools -Python scripts -Visualisation -Beta users and internal evaluation

SDD/PSD P.Ballester INS Software Workshop - 10 Oct Pipeline Maintenance DFS Tickets Issued by PSO, DFO, INS, and the user community Pipeline priority meetings Bi-yearly meetings with representation of INS, DFO, PSO, SDD General issues and for each instrument closed, in process, open tickets Priority setting for further pipeline development Instrument Evolution Commissioning of new modes Detector upgrades

SDD/PSD P.Ballester INS Software Workshop - 10 Oct