18 April 2007 Second Generation VLT Instruments 1 VIRCAM & CPL: Lessons Learned Jim Lewis and Peter Bunclark Cambridge Astronomy Survey Unit.

Slides:



Advertisements
Similar presentations
26 January 2007 CAL 07 Garching 1 The VISTA Data Flow System Jim Lewis, Mike Irwin, Peter Bunclark, Simon Hodgkin Cambridge Astronomy Survey Unit.
Advertisements

C Language.
July 2006Instrument Scientist Retreat, Santiago Quality Control: closing the loop Reinhard Hanuschik, DFO/QC 1. Principles 2. Processes 3. Critical components.
VISTA/WFCAM pipelines summit pipeline: real time DQC verified raw product to Garching standard pipeline: instrumental signature removal, catalogue production,
Nicholas Cross, Rob Blake, Ross Collins, Mark Holliman, Mike Read, Eckhard Sutorius, Nigel Hambly, Andy Lawrence, Bob Mann, Keith Noddle Wide Field Astronomy.
HAWCPol / SuperHAWC Software & Operations J. Dotson July 28, 2007.
10Tb 100Tb 1000Tb. WFCAM processing summary semesters: 05A, 05B, 06A, 06B, 07A nights: 81, 166, 95, 157, 50 (68%) 50 Tbytes raw data 17 Tbytes compressed.
15 December 2008Science from UKIDSS II WFCAM Science Pipeline Update WFCAM Science Pipeline Update Jim Lewis, Mike Irwin & Marco Riello Cambridge Astronomy.
VISTA pipelines summit pipeline: real time DQC verified raw product to Garching standard pipeline: instrumental signature removal, catalogue production,
WFAU Tapes === Store 6 x dual PCs 3GHz Xeons 6 x 1 Tbyte local disks 2 Tbyte ingest buffer 10 Tbytes of raw 20 Tbytes of processed WFCAM archive storage.
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.
Data provenance in astronomy Bob Mann Wide-Field Astronomy Unit University of Edinburgh
A Primer on Image Acquisition and Data Reduction Using TheSky6, CCDSoft V5 and Microsoft Excel Thomas C. Smith Dark Ridge Observatory (DRO)
Your Observing Challenge: White Dwarfs in Open Star Clusters.
TERMS TO KNOW. Programming Language A vocabulary and set of grammatical rules for instructing a computer to perform specific tasks. Each language has.
Commissioning the NOAO Data Management System Howard H. Lanning, Rob Seaman, Chris Smith (National Optical Astronomy Observatory, Data Products Program)
Digitized Sky Survey Update Brian McLean : Archive Sciences Branch / Operations and Engineering Division.
Memorandam of the discussion on FMOS observations and data kicked off by Ian Lewis Masayuki Akiyama 14 January 2004 FMOS Science Workshop.
Testing. Definition From the dictionary- the means by which the presence, quality, or genuineness of anything is determined; a means of trial. For software.
6e-1 Science Data Products Daryl Swade DMS Systems Engineer S&OC System Design Review #1.
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,
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Pipeline Language(s) We plan to develop CALCOS using Python and C Another programming language?
1 The EIS Experience: Lessons Learned May 12, 2005.
Jim Lewis and Guy Rixon, CASU. 24 April, 2001 Data-reduction Pipeline for the INT WFC: slide 1 The Data-reduction Pipeline for the INT Wide Field Camera.
Science Archive for Sky Surveys Data Providers and the VO - NeSC 2003 March Wide Field Astronomy Unit Institute for Astronomy.
Astronomical data curation and the Wide-Field Astronomy Unit Bob Mann Wide-Field Astronomy Unit Institute for Astronomy School of Physics University of.
WFCAM Science Archive Critical Design Review, April 2003 The SuperCOSMOS Science Archive (SSA) WFCAM Science Archive prototype Existing ad hoc flat file.
10 June 2002Towards an International VO - Garching bei Munchen 1 ASTRO-WISE An Astronomical Wide-field Imaging System for Europe Konrad Kuijken, Edwin.
Advanced Data Products at ESO P.Rosati (DMO/VOS) with special thanks to: B.Vandame, C.Rite, J.Retzlaff, R.Slijkhuis, M.Nonino Faculty Meeting - Dec 13,
Event Data History David Adams BNL Atlas Software Week December 2001.
LSST: Preparing for the Data Avalanche through Partitioning, Parallelization, and Provenance Kirk Borne (Perot Systems Corporation / NASA GSFC and George.
Unit-1 Introduction Prepared by: Prof. Harish I Rathod
SDD/DFS Y. Jung VLT 2 nd Generation Instrumentation Pipelines, 19 Apr General Introduction Yves Jung.
EScience May 2007 From Photons to Petabytes: Astronomy in the Era of Large Scale Surveys and Virtual Observatories R. Chris Smith NOAO/CTIO, LSST.
1 Leonardo Pinheiro da Silva Corot-Brazil Workshop – October 31, 2004 Corot Instrument Characterization based on in-flight collected data Leonardo Pinheiro.
SCIOPS 2013 Reinhard Hanuschik, ESO Garching The VLT Quality Control Loop.
Virtual Survey System sept 04 ASTRO-WISE- federation OmegaCEN AstroWise a Virtual Survey System OmegaCAM – Lofar – AstroGrid –((G)A) VO AstroWise a Virtual.
Astrometrica: Advanced NEO Search CFHS. ASTRONOMICAL RESEARCH INSTITUTE We will be using data from the Astronomical Research Institute located just south.
Data Analysis Software Development Hisanori Furusawa ADC, NAOJ For HSC analysis software team 1.
Observational Astrophysics I
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr Henning Lorch & Mario Kiekebusch et. al. The CLIP.
PACS NHSC Data Processing Workshop – Pasadena 10 th - 14 th Sep 2012 The SPIRE Destriper Bernhard Schulz NHSC/IPAC on behalf of the SPIRE ICC 1.
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.
NEON School NEON Archive Observing School Alberto Micol ESA Space Telescope Operations Division 15 July 04 ESO & HST Archives.
- page 1 NHSC – DP workshop – Feb – N. Billot PACS Deglitching PACS Photometer Data Presentation based on tutorial PACS-402.
COS PIPELINE CDR Jim Rose July 23, 2001OPUS Science Data Processing Space Telescope Science Institute 1 of 12 Science Data Processing
ESO Reflex A Graphical Workflow Engine for Data Reduction Richard Hook Euro VO Data Centres Alliance Theory & Grid Workshop, Garching, April 2008.
Difference Image Analysis at OAC Groningen, 1st Dec 2004 AW-OAC team.
14 January Observational Astronomy SPECTROSCOPIC data reduction Piskunov & Valenti 2002, A&A 385, 1095.
2G Instrumentation Pipelines Sandra Castro. 2G Instrumentation Pipelines 2 19 April 2007 Pipeline Products 1. Product FITS header 2. QC parameters (PAF.
IPHAS Early Data Release E. A. Gonzalez-Solares IPHAS Consortium AstroGrid National Astronomy Meeting, 2007.
Mountaintop Software for the Dark Energy Camera Jon Thaler 1, T. Abbott 2, I. Karliner 1, T. Qian 1, K. Honscheid 3, W. Merritt 4, L. Buckley-Geer 4 1.
Data Processing & Quality Control Group [ Faculty Meeting Sept Data Processing & Quality Control Quality Control Group head: Reinhard.
WFC3 PIPELINE CDR Jim Rose October 16, 2001OPUS Science Data Processing Space Telescope Science Institute 1 of 13 Science Data Processing
The OmegaCAM photometric systems. OmegaCAM calibration plan (1) Basic OmegaCAM terminology : ● Key bands vs User bands ● Key band -> User band transformation.
26th October 2005 HST Calibration Workshop 1 The New GSC-II and it’s Use for HST Brian McLean Archive Sciences Branch.
GSPC -II Program GOAL: extend GSPC-I photometry to B = V ˜ 20 add R band to calibrate red second-epoch surveys HOW: take B,V,R CCD exposures centered at.
Application of a Charge Transfer Model to Space Telescope Data Paul Bristow Dec’03
SINFONI data reduction using the ESO pipeline. Instrument design and its impact on the data (I) integral field spectrometer using mirrors brickwall pattern.
The GLORIA demonstrator experiment Ariel Majcher National Centre for Nuclear Research Warsaw, Poland XXXII IEEE-SPIE Joint Symposium Wilga 2013, May 29.
The CORNISH data reduction pipeline. Architecture - Overview AIPS Tasks Obit Tasks ObitTalk / Python Control Scripts MySQL Database Book-keeping Raw Data.
Pi of the Sky off-line experiment with GLORIA Ariel Majcher National Centre for Nuclear Research Warsaw, Poland 10th INTEGRAL/BART Workshop, April.
Critical Design Review, April 2003
From LSE-30: Observatory System Spec.
JWST Pipeline Overview
WFCAM Photometric Calibration
Announcements HR Diagram lab will be extended for one week. I’ll talk about it today. Homework: Chapter 9 # 1, 2 & 3 Next week is a Dark Sky Night. If.
Observing with Modern Observatories (the data flow)
First Public Data Releases from the VISTA Science Archive
Presentation transcript:

18 April 2007 Second Generation VLT Instruments 1 VIRCAM & CPL: Lessons Learned Jim Lewis and Peter Bunclark Cambridge Astronomy Survey Unit

18 April 2007Second Generation VLT Instruments2 Introduction to CASU ► Small group within the Institute of Astronomy, specialising in survey astronomy. ► Pipeline reduction of imaging data  APM (Schmidt Plates 1 x 40k x 40k)  INT Wide Field Camera (4 x 2k x 4k)  ESO WFI on 2.2m at La Silla (8 x 2k x 4k)  MOSAIC-1 on KPNO 4m (8 x 2k x 4k)  MOSAIC-2 on Blanco 4m at CTIO (8 x 2k x 4k)  AAO WFI on AAT (8 x 2k x 4k)  CIRSI on INT (4 x 1k x 1k)  INGRID on WHT (1k x 1k)  UFTI on UKIRT (1k x 1k)  WFCAM on UKIRT (4 x 2k x 2k)

18 April 2007Second Generation VLT Instruments3 Introduction to VISTA and VDFS ► VISTA: 4m survey telescope on Paranal ► VIRCAM: The IR camera for VISTA  16 Non-buttable 2k x 2k detectors ► VDFS: PPARC funded facility to provide an end-to-end data-flow system for VISTA and WFCAM. ► Quality control and calibration pipelines  Paranal and Garching ► Science pipeline for full calibration of science data.  Cambridge ► Science archive acts as the point of access of the reduced data. Plus some further processing.  WFAU, Edinburgh

18 April 2007Second Generation VLT Instruments4 Data Flow ► Raw telescope data is assessed by the summit pipeline (QC1) ► Shipped to Garching (discs) ► Shipped to CASU for science reduction and calibration. (discs) ► Calibrated data shipped to Edinburgh for archiving (ftp)

18 April 2007Second Generation VLT Instruments5 IR Data Reduction Worries ► IR detectors are currently inherently more unstable than optical CCDs.  Some odd electronic effects  Much poorer cosmetic quality than CCDs ► Sky emission > 100x brighter than most objects  And it’s variable both spatially and temporally! ► Exposure times are short, so data rates are very high.  Gb/night expected for VISTA public surveys  Rice tile compression can save factors of 3-4 in 32 bit integer data

18 April 2007Second Generation VLT Instruments6 VDFS Pipeline Recipes ► Create master calibration frames (dark, twilight flats, confidence maps, etc) ► Linearity analysis ► Detector noise & dark current properties ► Persistence and crosstalk analysis ► Illumination correction analysis ► Full reduction recipes for standard star and programme fields

18 April 2007Second Generation VLT Instruments7 Summit & Garching Pipelines ► QC1 parameters  e.g. photometric zeropoints, astrometric fit quality ► Written using ESO qfits/CPL infrastructure  Both use the same software modules ► Amount of processing can be scaled down ► Calibration images (flats etc) from a master library.

18 April 2007Second Generation VLT Instruments8 Cambridge Pipeline ► Full reduction  e.g. better sky correction ► Results shipped to WFAU ► Some of the same CPL based modules reused. Some additional modules required.

18 April 2007Second Generation VLT Instruments9 Current Status of VISTA Pipelines ► Version 0.5 released to ESO in March ► Full compliment of recipes (almost!) ► PAE

18 April 2007Second Generation VLT Instruments10 The Decision To Use CPL (1) ► We were given the choice. ► We already had advanced pipeline software in our own environment for WFCAM and other IR instruments. ► First view of CPL and qfits was not favourable.

18 April 2007Second Generation VLT Instruments11 The Decision To Use CPL (2) ► CPL v2.0 was a great improvement ► CASU has an ‘ESO workstation’ to generate ‘data’ using the VIRCAM acquisition software ► Integration into Paranal and Garching systems greatly simplified by using CPL

18 April 2007 Second Generation VLT Instruments 12 Things I wish I had known…

18 April 2007Second Generation VLT Instruments13 My First Attempt At A Recipe ► INPUT:  FITS image of WFCAM data  Binary FITS table of astronomical objects  Binary FITS tables containing the 2MASS catalogue ► TASK:  Work out RA, Dec coverage of image using header FITS WCS keys  Extract 2MASS standards  Cross match standards to object catalogue  Fit a WCS  Write resulting WCS to FITS image

18 April 2007Second Generation VLT Instruments14 World Coordinate Systems ► CPL has no WCS facility  But it soon will

18 April 2007Second Generation VLT Instruments15 Input File Access ► CPL doesn’t give write access to input files.  cpl_frame, cpl_image  Data abstraction is not perfect  cpl recipes can’t be written to update a file

18 April 2007Second Generation VLT Instruments16 CPL vs FITS tables ► CPL does not allow for direct manipulation of FITS tables  cpl_table structures can be created from a FITS table.  But one must read the WHOLE table even though you might only be interested in a few rows or columns. ► Tables with many rows take too long to read  Break them up ► Tables with many character type entries cause the system to run out of memory pointers  Remove unnecessary character columns

18 April 2007Second Generation VLT Instruments17 User Documentation ► Reference manual, users guide, software developers kit ► User’s guide and SDK are helpful but limited in scope  Very few examples  Get a copy of a working CPL pipeline

18 April 2007Second Generation VLT Instruments18 QC ► Garching and Summit pipelines generate QC parameters  Provides data for QC trending to be done both on site and in Garching  The ‘ESO System’ is really two systems ► QC passed through FITS headers (Garching) ► QC passed through PAF files (Chile) ► Neither system appears to be documented. ► PAF files contents are not documented in CPL users or reference manuals. ► CPL has no standard class for passing QC parameters

18 April 2007Second Generation VLT Instruments19 File Tags ► DPR TYPE  OBSTYPE ► PRO CATG  Product type  No two recipes can produce the same value ► DO CATG  File type for files used as input to recipes  Raw frame DO CATG values must be unique to each recipe.  There are some rules on the values here.

18 April 2007Second Generation VLT Instruments20 Output File Names ► Recipe creates and names output files.  File names must be hard coded!  Several files of the same PRO CATG must be indexed in a predictable way. ► esorex can change the file name

18 April 2007Second Generation VLT Instruments21 Headers ► CPL cannot directly manipulate FITS headers  These must be read into a cpl_propertylist structure.