2G Instrumentation Pipelines Sandra Castro. 2G Instrumentation Pipelines 2 19 April 2007 Pipeline Products 1. Product FITS header 2. QC parameters (PAF.

Slides:



Advertisements
Similar presentations
Advanced i-CAM WordWrite Abigail Day. Agenda Creating new forms from existing i-CAM forms –Using i-CAM forms as templates for custom forms –Formatting.
Advertisements

July 2006Instrument Scientist Retreat, Santiago Quality Control: closing the loop Reinhard Hanuschik, DFO/QC 1. Principles 2. Processes 3. Critical components.
Using the What Am I Template Copy the presentation to your hard drive. Open the slides using slide sorter and copy slides #3, 4 and 5 for each question.
Templated Functions. Overloading vs Templating  Overloaded functions allow multiple functions with the same name.
HTML Overview - Cascading Style Sheets (CSS). Before We Begin Make a copy of one of your HTML file you have previously created Make a copy of one of your.
CBI Platform Introduction: filter development and integration Jingxin Nie Medical Image Computing Lab Center for Biological Informatics The Methodist Hospital.
Course ILT Modifying presentations Unit objectives Create a presentation based on a template and apply a template to an existing presentation Identify.
SDD/DFS P.Ballester VLT 2 nd Generation Instrumentation Pipelines 18 Apr Pipeline Integration into the Data Flow System.
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.
Create a new blank database First step SUBMITTry again.
Access Lesson 2 Creating a Database
NOAO/Gemini Data workshop – Tucson,  Hosted by CADC in Victoria, Canada.  Released September 2004  Gemini North data from May 2000  Gemini.
Microsoft Excel Project Six Creating Templates and Working with Multiple Worksheets and Workbooks.
C++ data types. Structs vs. Classes C++ Classes.
GLAST LAT ProjectDC1 Workshop, Dec. 8-9, Living with FITS Seth Digel, HEPL/Stanford Univ. Brief overview of FITS files, contents of the principal.
A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon...
18 April 2007 Second Generation VLT Instruments 1 VIRCAM & CPL: Lessons Learned Jim Lewis and Peter Bunclark Cambridge Astronomy Survey Unit.
Data provenance in astronomy Bob Mann Wide-Field Astronomy Unit University of Edinburgh
Data Preservation Best Practices for preserving your research data for future reuse The goal of data preservation is to ensure that your data is in a sustainable.
Review HTML  What is HTML?  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is not a programming language,
Course ILT Folder and file management Unit objectives Explore the contents of a hard disk and view file and folder attributes by using Windows Explorer.
1 Continuous Pollutant and Meteorological Data Continuous Pollutant and Meteorological Data.
LATTICE TECHNOLOGY, INC. For Version 10.0 and later XVL Web Master Advanced Tutorial For Version 10.0 and later.
MODELLER hands-on Ben Webb, Sali Lab, UC San Francisco Maya Topf, Birkbeck College, London.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 4 – Creating New.
Working Out with KURL! Shayne Koestler Kinetic Data.
CS450 HW2Page 1 Homework #2  Due the midnight of April 15th.  100 Points  In this homework, you create an SQL script to build the MOVIES database according.
Product Feeds. What is a Product? In marketing terms, a product is an item, service or idea that is for sale Examples are: A flight with set dates and.
Build a multi-page HR Performance Review Form. For this lab, we will make a multi-page Unity Form to act as a Performance Review Form for our employees.
End to End Simulations. p.2 What’s this ? This is the MUSE datacube of NGC 1068 we just received from ESO Can you remind me how many students we have.
SDD/DFS Y. Jung VLT 2 nd Generation Instrumentation Pipelines, 19 Apr General Introduction Yves Jung.
EISCAT Real Time Graph ● Plot the incoming data in “realtime” ● Experiment name ● Give disk information – Recording? – Space left ● Calculate basic parameters.
Specview Tutorial for the Line Identification Tool I. Busko Space Telescope Science Institute March, 2010.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Directions for Creating a Timeline Become a Historian. After reading about your topic, create a timeline that includes the key ideas or events, documenting.
ESO SDD - Henning Lorch ESO Instrumentation Software Workshop Henning Lorch “Reflex” Pipeline Frontend.
Lesson 1 Lesson 2: Association Lesson 1: dfos - vision and architecture Directory structure Installation Tips and tricks Lesson 3: Operations
6 th Annual Focus Users’ Conference 6 th Annual Focus Users’ Conference Import Testing Data Presented by: Adrian Ruiz Presented by: Adrian Ruiz.
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr Henning Lorch & Mario Kiekebusch et. al. The CLIP.
Claritas – 3D Land Geometry Example Workflow for an Example 3D Land Geometry Dataset supplied by USGS.
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.
ACIS Introduction to Data Analytics & Business Intelligence Ad-hoc Reporting Query Basics.
MySQL Importing and creating a database. CSV (Comma Separated Values) file CSV = Comma Separated Values – they are simple text files containing data which.
How to Setup and Score a Tournament May Let’s Get Organized The setup and organization outlined in this clinic are suggested steps however can be.
1 PM Filter Data PM Filter Data. 2 Routine Data Operations for PM Filter.
CUPID (Bob Narron)GRITS - May 14, CUPID “Customizable User Pipeline for IRS Data” Abstract: The CUPID package will allow users to run the Spitzer.
Uniq The uniq command is useful when you need to find duplicate lines in a file. The basic format of the command is uniq in_file out_file In this format,
GLOSS Training Workshop Course Japan Meteorological Agency May 15-26, 2006 Sea Level Data Processing with SLPR2 1. Introduction.
Functions Commands Programming Steps Examples Printing Homework Hints.
CAA Database Overview Sinéad McCaffrey. Metadata ObservatoryExperiment Instrument Mission Dataset File.
Configuring MQ Connections and Handlers for MQ adapter 6.5 July 2008.
FITS Birds of a Feather Session ADASS Meeting London, U.K. Monday 24 Sept :30 – 9:00 pm.
IUIE Reporting Basics Workshop
What Should I Do if My Style Is Not Included?
Creates the file on disk and opens it for writing
ITK configuration on PI
Title of Project References Tips Abstract Define Measure Analysis
By Jonathan Rinfret CREATING A BASH SCRIPT By Jonathan Rinfret
2. Double-click on file to open in Excel
Access Lesson 2 Creating a Database
Creates the file on disk and opens it for writing
3.1 Basic Concept of Directory and Sub-directory
Topics Introduction to File Input and Output
Bananas apples peaches pears.
FreshPptTemplate Reporting Person:
 When entering the competition room, please look for your place: your name and competitor ID are indicated. Registration and control of the participation.
SPL – PS1 Introduction to C++.
Presentation transcript:

2G Instrumentation Pipelines Sandra Castro

2G Instrumentation Pipelines 2 19 April 2007 Pipeline Products 1. Product FITS header 2. QC parameters (PAF file) 3. Naming products 4. Saving products

Sandra Castro 2G Instrumentation Pipelines 3 19 April 2007 Pipeline Products 1 All product files created by the pipeline must be in FITS format

Sandra Castro 2G Instrumentation Pipelines 4 19 April 2007 Product FITS header empty or raw header QCs DRS keys setup header product header product header creating a

Sandra Castro 2G Instrumentation Pipelines 5 19 April 2007 Setup Header cpl_error_code cpl_dfs_setup_product_header( cpl_propertylist * header, const cpl_frame * proframe, const cpl_frameset * set, const cpl_parameterlist * pars, const char * recid const char * pipeid const char * dicid ) recid  ocam_mbias pipeid  PACKAGE/PACKAGE_VERSION dicid  PRO-1.15

Sandra Castro 2G Instrumentation Pipelines 6 19 April 2007 Setup Header Copy to header: ORIGIN, TELESCOPE, INSTRUME, OBJECT, RA, DEC, EPOCH, EQUINOX, RADECSYS, DATE-OBS, MJD-OBS, UTC, LST, PI-COI, OBSERVER. Copy all the HIERARCH.ESO._ keywords, with the exception of the HIERARCH.ESO.DPR._, and of the.PRO._ and.DRS._ keywords. If found, remove the HIERARCH.ESO.DPR._ keywords from header. If found, remove the ARCFILE and ORIGFILE keywords from header. Add to header the PRO keywords: PIPEFILE, PRO.DID, PRO.REC1.ID, PRO.REC1.DRS.ID, PRO.REC1.PIPE.ID, PRO.DATANCOM, PRO.CATG, and PRO.TYPE. ESO-VLT-DIC.PRO

Sandra Castro 2G Instrumentation Pipelines 7 19 April 2007 Multi-HDU Headers PRO CATG Common keywords to all extensions Keywords for extension 1 INSTRUME PIPEFILE HIERARCH ESO PRO CATG EXTNAME = ‘DET1.CHIP1’ All other HIERARCH ESO PRO HIERARCH ESO QC EXTNAME = ‘DET1.CHIP2’ All other HIERARCH ESO PRO HIERARCH ESO QC Keywords for extension 2

Sandra Castro 2G Instrumentation Pipelines 8 19 April 2007 Multi-HDU Headers cpl_dfs_setup_product_header(Plist, proframe, set, pars, recid, pipeid, dicid); /* Plist is my primary header */ cpl_propertylist_erase_regex(Plist, “ESO PRO”, 0); cpl_image_save(NULL, name, bitpix, Plist, CPL_IO_DEFAULT); cpl_dfs_setup_product_header(Xlist, proframe, set, pars, recid, pipeid, dicid); /* Remove undesired keywords */ /* Xlist is my extension header */ /* Remove undesired keywords */ const char delkeys[] = “^(ORIGIN|TELESCOPE|INSTRUME|OBJECT|RA|DEC|EPOCH| PIPEFILE|EQUINOX|RADECSYS|DATE-OBS|MJD-OBS|UTC|LST|PICOI|OBSERVER)$”; cpl_propertylist_erase_regex (Xlist, delkeys, 0); /* Save product */ cpl_image_save(image, name, bitpix, Xlist, CPL_IO_EXTEND); /* Add PRO.CATG to primary header */ cpl_propertylist_copy_property (Plist, Xlist, “ESO PRO CATG”);

Sandra Castro 2G Instrumentation Pipelines 9 19 April 2007 Pipeline Products 2 All QC parameters must be also saved on disk on a log file. One file per FITS extension PAF

Sandra Castro 2G Instrumentation Pipelines April 2007 QC parameters – PAF file PAF.HDR.START; #start of header PAF.TYPE“pipeline product” PAF.ID“ocam_mbias” PAF.NAME“ocam_masterbias.paf” PAF.DESC“QC file” PAF.CHCK.CHECKSUM“” PAF.HDR.END; #end of header ARCFILE“OCAM_IMG_BIAS076_0003.fits” EXTNAME“DET1.CHIP1”; #extension name DATE-OBS“ T12:16:44:632”; #Date TPL.ID“OCAM_img_cal_bias”; # Template id MJD-OBS“ ”; # Obs start QC.MBIAS.MEAN QC.MBIAS.STDEV

Sandra Castro 2G Instrumentation Pipelines April 2007 Pipeline Products 3 All output FITS files must be named in a unique and predictable way by the recipe

Sandra Castro 2G Instrumentation Pipelines April 2007 Naming Products ocam_reduce_sci TEXT no matter what input files no matter what input parameters predictable OCAM_IMG_OBS076_0001.fits OCAM_IMG_OBS076_0002.fits OCAM_IMG_OBS076_0003.fits ocam_JITTERED_IMAGE_1.fits ocam_JITTERED_IMAGE_2.fits ocam_JITTERED_IMAGE_3.fits ocam_COADD.fits

Sandra Castro 2G Instrumentation Pipelines April 2007 Pipeline Products 4 All product files must be saved on the working directory

Sandra Castro 2G Instrumentation Pipelines April 2007 Good news! CPL function to save PAF filesCPL function to save products Planned for CPL-4.0

Sandra Castro 2G Instrumentation Pipelines April 2007 Pipeline Products 1. Products must be FITS files 2. QCs are written on headers and PAF files 3. Names must be unique and predictable 4. Products are saved on the working directory

Sandra Castro 2G Instrumentation Pipelines April 2007