* under construction ** 2016 january , 15
CollectionXmatchObscoreUsecase
Simple Query by Position
Show me a list of all data that satisfies:
- DataType=any
- contains RA=16.0 and DEC=40.0
These data would be searched on all VO services by sending the following query:
SELECT * FROM ivoa.Obscore WHERE
CONTAINS(POINT(‘ICRS’,16.0,40.0),s_region)=1
This query could be submitted to a remote TAP service using the
curl application as follows (in this example a CADC TAP service is referenced):
curl -v -L -d "REQUEST=doQuery&LANG=ADQL&QUERY=select * from ivoa.ObsCore where CONTAINS(POINT('ICRS',16.0,40.0 ),s_region)=1" "http://www.cadc.hia.nrc.gc.ca/caom/sync"
More constraints are added in the following use-case (1.3).
Query by both Spatial and Spectral Attributes
Show me a list of all data that satisfies:
- DataType=Image
- Spatial resolution better than 0.3 arc seconds
- Filter = J or H or K
- RA between 16 hours and 17 hours
- DEC between 10 degrees and 11 degrees
Such a query needs to compute RA in degrees, extract information from Filter and adjust spectral intervals for search.
SELECT * FROM ivoa.Obscore
WHERE dataproduct_type=’image'
AND s_resolution < 0.3 AND s_ra > 240 AND s_ra < 255
AND s_dec > 10 AND s_dec < 11
AND (em_min > 2.1e-06 AND em_max < 2.4e-06)
OR(em_min >= 1.6e-06 AND em_max <= 1.8e-06)
OR(em_min >= 1.2e-06 AND em_max <= 1.4e-06)
A similar query could be submitted to a remote TAP service using the
curl application as follows (in this example a CADC TAP service is referenced):
curl -v -L -d "REQUEST=doQuery&LANG=ADQL&QUERY=
select * from ivoa.ObsCore where dataproduct_type='image' AND s_resolution < .3 AND s_ra >240 and s_ra < 255 AND s_dec > 10 and s_dec < 11
and (em_min > 2.1e-06 AND em_max < 2.4e-06)
OR(em_min >= 1.6e-06 AND em_max <= 1.8e-06)
OR(em_min >= 1.2e-06 AND em_max <= 1.4e-06)"
"http://www.cadc.hia.nrc.gc.ca/caom/sync"
Query with energy, time, and position constraints
Show me all observations satisfying:
- DataType = any
- Energy includes 5 keV
- RA includes 16.00
- DEC includes +10
- Exposure time > 10 ks
SELECT * FROM ivoa.Obscore
WHERE em_min < 2.48E-10 AND em_max > 2.48
E-10
AND CONTAINS(POINT('ICRS',16.0,10.0),s_region) = 1
AND t_exptime > 10000
A.1 Discovering Images
A.1.2. Use case 1.2
Let me input a list of RA and DEC coordinates and show me spatially coincident observations satisfying:
- Imaging or spectroscopy data
- Includes one or more of the RA,DEC values in the list (LIST=SERVICE REQ)
- Includes both a wavelength in the range 5000-9000 angstroms AND an X-ray image (AND=SERVICE REQ)
This use case may need several steps to select images from X-RAY domain, select image and spectra on optical domain and compute the overlap.
It requires two functionalities from the service:
- LIST=SERVICE REQ, to query on lists of positions given as input
- AND=SERVICE REQ, to compute the intersection between two response lists.
A.1.3. Use case 1.3
Show me a list of all observations satisfying:
- DataType=Image
- Spatial resolution better than 0.3 arcseconds
- Filter = J or H or K
- RA between 16 hours and 17 hours
- DEC between 10 degrees and 11 degrees
SELECT * FROM ivoa.Obscore
WHERE dataproduct_type='image'
AND s_resolution < 0.3
AND (
( -- J band approximated
(em_min + em_max)/2 BETWEEN 1.234E-6 - 162E-9 AND 1.234E-6 + 162E-9
AND
(em_max - em_min) BETWEEN 0.5 * 162E-9 AND 1.5 * 162E-9
)
OR
( -- H band approximated
(em_min + em_max)/2 BETWEEN 1.662E-6 - 251E-9 AND 1.662E-6 + 251E-9
AND
(em_max - em_min) BETWEEN 0.5 * 251E-9 AND 1.5 * 251E-9
)
OR
( -- J band approximated
(em_min + em_max)/2 BETWEEN 2.159E-6 - 262E-9 AND 2.159E-6 + 262E-9
AND
(em_max – em_min) BETWEEN 0.5 * 262E-9 AND 1.5 * 262E-9
)
AND s_ra BETWEEN 16*15 AND 17*15
AND s_dec BETWEEN 10 and 11
A.1.4. Use case 1.4
Show me a list of all observations that satisfying:
- DataType=Image
- Wavelength=V or I or Z
- Spatial Resolution < 0.7 arcsec FWHM
- Exposure Time > 1000 seconds
- Data Quality: Fully Calibrated
A.1.5. Use case 1.5
Show me all data that satisfies:
- DataType=IFU
- DataQuality: Fully Calibrated
- ObjectClass=quasar (SERVICE REQ + NEEDS ANOTHER SERVICE (CATALOGUE)
IV. Redshift > 3
- Radio flux > 1 mJy
We assume here that data providers will expose IFU data using dataproduct_type=’cube’.
SELECT * FROM ivoa.Obscore
WHERE dataproduct_type='cube'
AND calib_level > 1
AND CONTAINS(POINT('ICRS', quasar_ra, quasar_dec), s_region) = 1
A.1.6. Use case 1.6
For an input list of RA, DEC, Modified Julian Date (MJD), show me all data that satisfies (LIST=SERVICE REQ)
- DataType=imaging
- RA,DEC include the value of the list and Observation date is within 1 day of the MJD value
SELECT * FROM ivoa.Obscore
WHERE dataproduct_type='image'
AND CONTAINS(POINT('ICRS',user_ra,user_dec), s_region) = 1
AND | (t_max + t_min)/2 – user_date | < 1 d
A.2. Discovering spectral data
A.2.1. Use case 2.1
Show me a list of all data that satisfies:
- DataType=Spectrum
- Energy spans 1 to 5 keV
- Total counts in spectrum > 100
IV. Exposure time > 10000 seconds
- Data Quality: Fully Calibrated
A.2.2. Use case 2.2
Show me a list of all data that satisfies:
- DataType=Spectrum
- Wavelength includes 6500 angstroms
- Spectral Resolution better than 15 angstroms
IV. Spatial Resolution better than 2 arcseconds FWHM
- Exposure Time > 3600 seconds
VI. Data Quality = Any
SELECT * from ivoa.Obscore
WHERE dataproduct_type='spectrum'
AND em_min < 650E-9
AND em_max > 650E-9
AND em_res_power > 6500/15.
AND s_resolution < 2
AND t_exptime > 3600
A.2.3. Use case 2.3
Show me a list of all data that satisfies:
- Emission line width Halpha > 2000 km/s FWHM (SERVICE REQ+NEEDS OTHER SERVICE)
A.3. Discover multi-dimensional observations
A.3.1. Use case 3.1
Show me a list of data with:
- DataType=cube (IFU spectroscopy?)
- RA,DEC includes value RA1,DEC1
- Field size > 100 square arcseconds
IV.
DataSensitivity = deep
- Spectral resolution better than 5 angstroms FWHM
A.3.2. Use case 3.2
Show me a list of all data that satisfies:
- DataType=cube with 3 dimensions
- Axes includes Velocity
- Axes includes RA
IV. Axes includes DEC
- Velocity Resolution better than 50 km/s
VI. RA includes 16.000
VII. Dec includes +41.000
NB: in this case optional data model fields related to redshift axis can be used using redshift_ucd=
spect.DopplerVeloc, for instance.
A.3.3. Use case 3.3
Show me a list of all data that satisfies:
- I. DataType=cube
- II. RA includes 16.00
- III. Dec includes +41.00
- IV. Wavelength includes 6500 angstroms
- V. Wavelength includes 4000 angstroms
- VI. Spectral resolution better than 5 angstroms
- VII. Exposure time more than 3600 seconds
- Data Quality: Fully Calibrated
A.3.4. Use case 3.4
Show me a list of all data that satisfies:
- DataType=Cube with 3 dimensions
- Axes includes FREQ
- Axes includes RA
IV. Axes includes DEC
- Velocity Resolution better than 1 km/s
VI. RA includes 83.835000
VII. Dec includes -5.014722
- Rest Frequency = 345.795990 GHz
IX. VLSRK in the range [6.0, 10.0]
A.3.5. Use case 3.5
Show me a list of all data that satisfies:
- DataType=Cube with 3 dimensions
- Axes includes FREQ
- Axes includes RA with > 100 pixels
- Axes includes DEC with > 100 pixels
- Frequency extent > 500 MHz
- Rest Frequency = 345.795990 GHz appears in band
- The redshift is not specified, but should default to zsource for the target.
NB: I to V are supported in
ObsTAP; VI and VII need target redshift properties extracted from catalogs
A.3.6. Use case 3.6
Show me a list of all data that satisfies:
- DataType=Cube with 3 dimensions
- Axes includes FREQ
- Axes includes RA
- Axes includes DEC
- Frequency resolution < 10 MHz
- Rest Frequency = 337.2966 GHz appears in band
- Any observation that could have detected a line at this rest frequency from any target, using the nominal redshift for the target.
A.3.7. Use case 3.7
Show me a list of all data that satisfies:
- DataType=Cube with 3 dimensionsAxes includes FREQ
- Axes includes RA
- Axes includes DEC
- Frequency resolution < 10 MHz
- Rest Frequency in (213.36053, 256.0278, 298.6908925, 341.350826, 384.0066819, 426.6579505, 469.3041221, 511.944687, 554.5791355) GHz appears in band
- Any observation that could have detected HCS+ (list of transition rest frequencies given above) from any target, using the nominal redshift for the target.
A.3.8. Use case 3.8
Show me a list of all data that satisfies:
- DataType=Cube with 4 dimensions
- Axes includes FREQ
- Spatial axes contain more than 100 pixels
- Axes includes STOKES
- Frequency resolution < 1 MHz
- Rest Frequency = 345.795990 GHz appears in band
NB: Need for a polarisation axis
A.3.9. Use case 3.9
Looking for moving targets:
- Show me the names of all the objects that have moving coordinates (i.e. no fixed RA, DEC position).
A.3.10. Use case 3.10
Show me a list of all data that satisfies:
- DataType=Cube with 3 dimensions
- Axes includes WAVE
- Axes includes more than 200 pixels along each spatial axis
- Spatial resolution better than 2 arcsec
- For a selected list of SDSS objects
A.4. Discovering time series
A.4.1. Use case 4.1
Show me a list of all data which satisfies:
- DataType=TimeSeries
- RA includes 16.00 hours
- DEC includes +41.00
- Time resolution better than 1 minute
- Time interval (start of series to end of series) > 1 week
- Observation data before June 10, 2008
- Observation data after June 10, 2007
A.4.2. Use case 4.2
This use-case is added in
ObsCore 1.1 to search for time series against the number of time slots and be sure to have enough samples along the time axis
Show me a list of all data which satisfies:
- DataType=TimeSeries
- RA includes 16.00 hours
- DEC includes +41.00
- Time resolution better than 1 minute
- Time interval (start of series to end of series) > 1 year
- Number of time slots > 50
A.4.3. Use case 4.3
Show me a list of all data matching a particular event (gamma ray burst) in time interval and space:
- DataType=TimeSeries
- RA includes 16.00 hours
- DEC includes +41.00
IV. Time start > MJD 55220. and Time stop < MJD 55221
- Number of time slots > 1000
A.5. Discovering event lists
A.5.1. Use case 5.1
Show me a list of all event lists observed for a particular phenomenon with constraints on space and time coverage like:
- DataType=event list
- RA includes target_RA
- DEC includes target_DEC
- Time resolution better than 1 minute
- Exposure Time > 100000s
- Oservation data after June 10, 2007
- Observation data before June 10, 2008
A.5.2. Use case 5.2
Show me a list of all event lists observed in the XMM data collection within the region covered by a particular image of GALEX data collection.
- DataType=event list
- Region contains polygon P1 extracted from the foot print of a GALEX image
- Data collection= XMM
- Instrument=EP