Skip to main content
QUICK REVIEW

[Paper Review] Using Virtual Observatory with Python: querying remote astronomical databases

F. Paletou, I. Zolotukhin|arXiv (Cornell University)|Aug 29, 2014
Astronomical Observations and InstrumentationEngineering4 citations
TL;DR

This paper presents a practical tutorial on using Python's astroquery module to query remote astronomical databases—specifically CDS Vizier and SIMBAD—enabling researchers to extend stellar catalogs with additional parameters like projected rotational velocity. By combining Vizier and SIMBAD queries, the method automates data retrieval, filtering, and table writing, demonstrating efficient integration of Virtual Observatory tools for stellar parameter analysis with reproducible Python code.

ABSTRACT

This tutorial is devoted to extending an existing catalogue with data taken elsewhere, either from CDS Vizier or Simbad database. As an example, we used the so-called 'Spectroscopic Survey of Stars in the Solar Neighborhood' (aka. S4N, Allende Prieto et al. 2004) in order to retrieve all objects with available data for the set of fundamental stellar parameters effective temperature, surface gravity and metallicity. Then for each object in this dataset we query Simbad database to retrieve the projected rotational velocity. This combines Vizier and Simbad queries made using Python astroquery module. The tutorial covers remote database access, filtering tables with arbitrary criteria, creating and writing your own tables, and basics of plotting in Python.

Motivation & Objective

  • Enable researchers to extend existing stellar catalogs with external data from remote astronomical databases.
  • Address the challenge of manually collecting stellar parameters like projected rotational velocity from multiple sources.
  • Demonstrate automated, programmatic access to Virtual Observatory resources using Python.
  • Provide a reproducible workflow for data retrieval, filtering, and table creation in astronomical research.
  • Facilitate seamless integration of multi-source data (e.g., S4N catalog with SIMBAD data) for enhanced stellar parameter analysis.

Proposed method

  • Utilize the astroquery Python module to access and query remote databases, including CDS Vizier and SIMBAD.
  • Retrieve stellar data from the S4N catalog (Allende Prieto et al. 2004) for objects with available effective temperature, surface gravity, and metallicity.
  • Perform iterative queries to each object in the S4N catalog to fetch projected rotational velocity from the SIMBAD database.
  • Filter and process query results using Python-based table operations and conditional logic.
  • Create and write custom data tables in standard formats (e.g., FITS or CSV) for downstream analysis.
  • Implement basic plotting functionality in Python to visualize retrieved stellar parameters.

Experimental results

Research questions

  • RQ1How can researchers efficiently retrieve additional stellar parameters from remote databases like SIMBAD using programmatic methods?
  • RQ2What is the most effective way to integrate data from multiple astronomical databases (e.g., Vizier and SIMBAD) into a single analysis pipeline?
  • RQ3Can automated querying reduce the time and error rate associated with manual data collection for stellar catalogs?
  • RQ4How can Python-based tools like astroquery streamline the process of filtering and writing astronomical data tables?
  • RQ5What are the practical challenges and solutions in combining heterogeneous stellar parameter datasets from different sources?

Key findings

  • The workflow successfully retrieved projected rotational velocity data for all S4N catalog objects with available entries in SIMBAD.
  • The use of astroquery enabled reliable and automated access to Vizier and SIMBAD databases without requiring direct database administration.
  • Filtered results were accurately compiled into new data tables, demonstrating effective data integration across sources.
  • The tutorial code was corrected and validated in version 2, improving reliability and usability for end users.
  • The integration of plotting functions into the workflow allowed for immediate visual inspection of retrieved stellar parameters.
  • The approach proved scalable and reproducible, offering a template for extending other stellar catalogs with external data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.