Discussion of Mashup API use for MAST and VO Tools.
Programmatic interfaces allow a user to discover and access JWST data through scripted queries in various programming languages, instead of going through the standardized web interfaces. This affords the user a greater degree of complexity and customization in the searches they are able to perform. Conversely, the user also has the ability to cast a wider search net in an effort to discover any and all data related to a particular object or location. The two primary methods of performing these queries are through the MAST API or various Virtual Observatory services.
The Mashup API for MAST provides a way to access data stored in the Mikulski Archive for Space Telescopes through the programming language of the user’s choice. It does this by translating customized URL requests into database queries. This allows the user to create scripts designed to assemble specific query parameters and to send those queries in batches.
The features of this API are meant to replicate all the functionality of the MAST web portal. These include the ability to perform cross-matching searches with various data catalogs, cone searches of a specific target location, table filtering based on specific columns, and target name resolution. For detailed service descriptions, instructions, and examples of this API in use, please refer to the Mashup API page. This page also includes a Jupyter notebook for a customizable example of a Python MAST data search and retrieval.
The NASA Astronomical Virtual Observatories (NAVO) program aims to provide access to data stored in some of NASA’s largest archives by creating a standardized interface for submitting queries across multiple datasets. These archives include MAST along with the High-Energy Astrophysics Science Archive Research Center (HEASARC), the Infrared Science Archive (IRSA), and the NASA Extragalactic Database (NED).
Similar to the Mashup API, VO services also primarily function by translating customized URL requests into database queries. The four primary types of available queries follow:
- Simple Cone Search (SCS) – Allows a user to search for observations around a specified set of coordinates within a given radius.
- Simple Image Access Protocol (SIAP) – Provides query access to 2-dimensional images and 3-dimensional or greater data cubes.
- Simple Spectral Access Protocol (SSAP) – Provides query access to 1-dimensional spectral data.
- Table Access Protocol (TAP) – Allows a user to perform complex queries on data tables in the Astronomical Data Query Language.
SCS, SIAP, and SSAP queries all provide broad methods of data discovery within certain search parameters, while TAP is better suited to finding specific data with more tightly-constrained queries.
More information on VO access to MAST holdings can be found here. Additional VO resources and tools follow:
|AstroGrid||VO services hosted at the Institute for Astronomy, University of Edinburgh. (last updated 2012, defunct?)|
|Canadian Virtual Observatory||Various VO tools hosted by the CADC.|
|CasJobs||A tool for creating custom databases using MAST and GALEX data.|
|DataScope||Target name and position searches hosted by HEASARC.|
|International Virtual Observatory Alliance||The IVOA sets standards and facilitates international VO cooperation. A good deal of VO information and links to more tools can be found here.|
|seleste||GUI and command line VO tools from the Smithsonian Astrophysical Observatory|
|Virtual Observatory Services||A collection of VO tools developed by researchers at Johns Hopkins University.|
|VOClient||Standalone VO software from the USVAO.|