The Advanced Camera for Surveys
  science > archive >
ACS Home
SDA Home
User Interface:
Catalog Query
Data Inventory
Cycle 11 Program Status
Cycle 12 Program Status
SDA Info:
Release Notes
User's Guide
Query Examples
Development Plan
Useful Links:
MAST
SIMBAD
NED
IRSA
ADS

Last updated
04 November 2005 18:49:15

Maintained by
dag@pha.jhu.edu


Printable version

Examples of SDA Catalog Queries

Contents

Introduction

Version 1.10 of the SDA User Interface (UI) introduces unlimited photometric magnitude- and color-constrained queries of the object catalogs generated by APSIS. This enhancement allows the user to extract catalogued objects that satisfy complex photometric constraints completely within the SDA environment, thereby eliminating the need for subsequent catalog sifting by the user.

The introduction of the color-contrained-query capability forced a complete overhaul of the Structured Query Language (SQL) code that is generated and submitted to the SDA database server when a query is submitted through the UI. The complexity of the new code is presently accommodated by rigid rules of query construction, some of which are not intuitive to inexperienced users of the UI. This document provides examples of typical SDA queries that should assist users in constructing similar or more complex queries.

The UI presently processes SDA queries in a linear fashion with remedial hierarchical grouping. These limitations should not handicap most queries, but SDA development team recognizes that more flexibility is needed to enable the most complicated queries. Version 2.0 of the UI will allow users to group hierarchically blocks of logical expressions and to perform arithmetic operations on catalog parameters. In the meantime, the users should recognize and obey the following rules of query construction:

Below are examples of SDA queries of increasing complexity. Each example is preceded by a description of the query. Clicking on an "Example" link will execute the query and take you to the UI's "Results" tab for that query. To inspect the construction of the input and output constraints for that query, simply click on the "Input parameters" or "Output parameters" tab above the tabulated results.

Query 1: Find all detected objects in the field of Abell 1689

This basic query allows one to retrieve all the objects detected by SExtractor in the latest APSIS run of the Abell 1689 dataset. The only input constraint is the SET_ID associated with the APSIS run. The SET_ID can be obtained from the Data Inventory. The user can download the object information from any combination of object catalogs (Detection, Filter, Photometry, and BPZ):

Query 2: Find all objects in HDF North and South having i < 27 and z < 24

This query searches two distinct datasets for objects having calibrated magnitudes of i < 27 and z < 24. Output parameters from the Detection Catalog (RA, Dec), Photometry Catalog (magnitudes and errors), and BPZ catalogs are requested.

Query 3: Find all objects in HDF North and South having i-z > 2

This query searches the HDF datasets for objects having a calibrated color of i-z > 2. Subsequent color and magnitude constraints are added to isolate objects detected in both bands. Output parameters from the Detection Catalog (RA, Dec), Filter Catalog (MAG_ISO, MAG_AUTO), Photometry Catalog (magnitudes and errors), and BPZ catalogs are requested. Note that, presently, only extinction-corrected magnitudes are used in color-constrained queries.

Query 4: Find all objects in SDA having BPZ > 6.0

Search the entire SDA (excluding "frozen" datasets 1, 4, 7, and 10) for all objects with Bayesian photometric redshifts greater than 6.0. Output parameters from the Detection Catalog (RA, Dec), Photometry Catalog (magnitudes and errors), and BPZ catalogs are requested.

Query 5: Find all i-band dropouts within intermediate-redshift cluster fields

The intermediate-redshift cluster CL0152-1357 was imaged in three bands (F625W, F775W, and F850LP), whereas the clusters CL1056-0337 and CL1252-2927 were imaged in two bands (F775W and F850LP). The three-band and two-band cases cannot yet be easily combined, so it is best to treat them separately at this time. When more sophisticated hierarchical grouping of query constraints is implemented in UI v2.0, collective analysis of these cases will be more easily implemented. The calibrated magnitude code for nondetections is 99. Output parameters from the Detection Catalog (RA, Dec, KRON_RADIUS), Photometry Catalog (magnitudes and errors), and BPZ catalogs are requested.

Contact Information

Inquiries may be directed to:
David Golimowski, Manager
Terence Allen, Programmer
William Jon McCann, Systems Administrator