View
214
Download
0
Embed Size (px)
Citation preview
A Grid-Enabled Engine A Grid-Enabled Engine for Delivering Custom for Delivering Custom
Science-Grade Images on Science-Grade Images on Demand Demand
http://montage.ipac.caltech.edhttp://montage.ipac.caltech.eduu
Les MontagiersLes Montagiers
Nate Anagnostou Nate Anagnostou IPACIPAC
Bruce Berriman Bruce Berriman IPACIPAC Attila Bergou Attila Bergou JPLJPL Ewa Deelman Ewa Deelman ISIISI John Good John Good IPACIPAC Joseph Jacob Joseph Jacob JPLJPL Daniel Katz Daniel Katz JPLJPL
Carl Kesselman Carl Kesselman ISIISI Anastasia Laity Anastasia Laity IPACIPAC Thomas Prince Thomas Prince CaltechCaltech
Gurmeet Singh Gurmeet Singh ISIISI Mei-Hui Su Mei-Hui Su ISIISI Roy Williams Roy Williams CACRCACR
What is Montage?What is Montage? Delivers custom, science grade image mosaics Delivers custom, science grade image mosaics
User specifies projection, coordinates, spatial sampling, User specifies projection, coordinates, spatial sampling, mosaic size, image rotation mosaic size, image rotation
Preserve astrometry & photometric accuracyPreserve astrometry & photometric accuracy Modular “toolbox” design Modular “toolbox” design
Loosely-coupled Engines for Image Reprojection, Background Loosely-coupled Engines for Image Reprojection, Background Rectification, Image Co-additionRectification, Image Co-addition
Control testing and maintenance costsControl testing and maintenance costs Flexibility; e.g custom background algorithm; use as a reprojection Flexibility; e.g custom background algorithm; use as a reprojection
and co-registration engineand co-registration engine Implemented in ANSI C for portabilityImplemented in ANSI C for portability
Enabling technology for multi-wavelength image Enabling technology for multi-wavelength image federationfederation
Public service will be deployed on the Public service will be deployed on the TeragridTeragrid Order mosaics through web portalOrder mosaics through web portal
Serial Processing of Serial Processing of Images - Version 1.7Images - Version 1.7
Available for download via a Available for download via a clickwrap license issued by clickwrap license issued by Caltech at Caltech at http://montage.ipac.caltech.http://montage.ipac.caltech.eduedu User’s Guide User’s Guide
Emphasizes accuracy in Emphasizes accuracy in photometry and astrometryphotometry and astrometry Images processed Images processed
serially serially Reprojection performed Reprojection performed
on surface of sphereon surface of sphere BUT generality at expense BUT generality at expense
of speedof speed AND mosaic size limited to AND mosaic size limited to
available memoryavailable memory
PerformancePerformance Mosaic of 54 2MASS Mosaic of 54 2MASS
images, 1 deg x 1 degimages, 1 deg x 1 deg Pentium-4 2.26 GHz, 1 Pentium-4 2.26 GHz, 1
GB RAMGB RAM
ReprojectionReprojection 5500 s5500 s
Background Background ModelingModeling
55 s55 s
RectificationRectification 28 s28 s
Co-additionCo-addition 11 s11 s
1 2 3
mProject 1 mProject 2 mProject 3
mDiff 1 2 mDiff 2 3
D12D23
mFitplane D12 mFitplane D23
mBgModel
ax + by + c = 0 dx + ey + f = 0
a1x + b1y + c1 = 0
a2x + b2y + c2 = 0
a3x + b3y + c3 = 0
mBackground 1 mBackground 2 mBackground 3
1 2 3
mAdd
Final Mosaic
Parallel Processing in Montage
1 2 3
Montage on the Montage on the Grid (Version Grid (Version
2.0)2.0)
PegasusMontage Workflow
Specification (abstract)Grid Information
Systems
Information about available resources, data location
Grid
Condor DAGMan
Maps an abstract workflow to an executable form
Executes the workflow
Teragrid PerformanceTeragrid Performance
JobJob # # JobsJobs
Avg Run Avg Run Time (s)Time (s)
mAddmAdd 11 9494
mBackgrounmBackgroundd
180180 2.642.64
mBgModelmBgModel 11 180180
mConcatFitmConcatFit 11 99
mDiffmDiff 482482 2.892.89
mFitplanemFitplane 483483 2.552.55
mProjectmProject 180180 131131
Data Data Transfer InTransfer In
183183 5-305-30
Data Data Transfer Transfer OutOut
11 10801080
2 deg x 2 deg 2MASS mosaic of M16
Workflow Run Time: 107 min (1515 jobs)
Exposes highest degree of parallelism
Overhead in scheduling lots of small jobs=> Reduce overheads by aggregating modes
Custom Reprojection Custom Reprojection AlgorithmsAlgorithms Transform directly from Transform directly from
input pixel to output input pixel to output pixelspixels Approach developed by Approach developed by
Spitzer for tangent plane Spitzer for tangent plane projectionsprojections
Augment with “distorted” Augment with “distorted” gnomonic projectionsgnomonic projections
Pixel locations distorted Pixel locations distorted by small distance by small distance relative to image relative to image projection planeprojection plane
Performance Performance improvement in improvement in reprojection by x 30reprojection by x 30
AND Co-addition no longer limited by memory - output images AND Co-addition no longer limited by memory - output images read into memory one line at a time, co-added and written to diskread into memory one line at a time, co-added and written to disk=> 30% performance degradation acceptable=> 30% performance degradation acceptable
Montage As A Reprojection Montage As A Reprojection EngineEngine
Application of general reprojection engineApplication of general reprojection engine ZEA to CARZEA to CAR
Supports a science service required by Supports a science service required by HerschelHerschel Serve spatial subsets of the imagesServe spatial subsets of the images Dust emission, galactic emission and extinction along line of Dust emission, galactic emission and extinction along line of
sightsight E/PO products - fold-out icosahedronsE/PO products - fold-out icosahedrons
100 µm sky; aggregation of COBE and IRAS maps.(Schlegel, Finkbeiner and Davis, 1998)
Generation of Large Scale Generation of Large Scale MosaicsMosaics
2MASS 3-color mosaic of galactic plane 2MASS 3-color mosaic of galactic plane 44 x 8 degrees; 36.5 GB per band; CAR projection44 x 8 degrees; 36.5 GB per band; CAR projection 158,400 x 28,800 pixels; covers 0.8% of the sky158,400 x 28,800 pixels; covers 0.8% of the sky NVO compliant-serviceNVO compliant-service 4 hours wall clock time on cluster of 4 x 1.4-GHz Linux 4 hours wall clock time on cluster of 4 x 1.4-GHz Linux
boxesboxes Pilot project to estimate resources for all-sky mosaicPilot project to estimate resources for all-sky mosaic
Spitzer Spitzer IRAC Image IRAC Image MosaicsMosaics
SWIRE mosaicsSWIRE mosaics In mission In mission
planning, Montage planning, Montage used to build sky used to build sky simulations in simulations in mission planningmission planning
Fast background Fast background rectification and rectification and co-addition of in-co-addition of in-flight imagesflight images Part of a 2.5 GB IRAC Part of a 2.5 GB IRAC
image near the Tadpole image near the Tadpole NebulaNebula