This site requires javascript to be enabled to fuction correctly


Knowledgebase: Archive & Data Retrieval
How can I query the archive for a list of targets?
Posted by Felix Stoehr, Last modified by Rein Warmels on 22 March 2017 02:20 PM

To query one of the following options can be used:

  1. You can query for a target list directly on the query interface. (Note that in this case the Export Table or Bookmark Result do not work).
  2. You can can write a shell script that goes through the list of your source names and then launches wget commands like
        wget -O NGC1068.csv "https://almascience.eso.org/aq/?
        source_name_resolver=NGC1068&result_view=raw&science_observations=&download=true&format=CSV"
    you will then end up with one .csv file containing the query result for one source.
  3.  You can use the externally developed package astroquery (https://astroquery.readthedocs.org/en/latest/). It's ALMA component (https://astroquery.readthedocs.org/en/latest/alma/alma.html) allows to query the ALMA Archive like above but from python. In addition, it also allows to download the selected data directly from python.

An example of how to query multiple sources is given here: http://nbviewer.ipython.org/gist/keflavich/e798e10e3bf9a93d1453

Please refer to the ALMA Science Archive Manual for details.

(0 vote(s))
Helpful
Not helpful

Comments (0)