Harvesters

Base Harvester Class

class tom_catalogs.harvester.AbstractHarvester

The AbstractHarvester provides an interface for implementing a harvester module to query catalogs.

query(term)

Submits the specific query to the specified catalog.

Parameters

term (str) – Value to search for within the catalog.

to_target()

Instantiates a Target object with the data from the catalog search result.

Returns

Target representation of the catalog search result

Return type

Target

tom_catalogs.harvester.get_service_classes()

Gets the harvester classes available to this TOM as specified by TOM_HARVESTER_CLASSES in settings.py. If none are specified, returns the default set.

Returns

dict of harvester classes, with keys being the name of the catalog and values being the harvester class

Return type

dict

JPL HORIZONS

class tom_catalogs.harvesters.jplhorizons.JPLHorizonsHarvester

The JPLHorizonsHarvester is the interface to the JPL Horizons catalog. For information regarding the JPL Horizons catalog, please see https://ssd.jpl.nasa.gov/?horizons or https://astroquery.readthedocs.io/en/latest/jplhorizons/jplhorizons.html.

Minor Planet Center

NED

class tom_catalogs.harvesters.ned.NEDHarvester

The NEDHarvester is the interface to the NASA/IPAC Extragalactic Database. For information regarding the NED catalog, please see https://ned.ipac.caltech.edu/ or https://astroquery.readthedocs.io/en/latest/ned/ned.html.

SIMBAD

class tom_catalogs.harvesters.simbad.SimbadHarvester(*args, **kwargs)

The SimbadHarvester is the interface to the SIMBAD catalog. At present, it is only queryable by identifier. For information regarding identifier format, please see http://simbad.u-strasbg.fr/simbad/sim-fid or https://astroquery.readthedocs.io/en/latest/simbad/simbad.html.

Transient Name Server

class tom_catalogs.harvesters.tns.TNSHarvester

The TNSBroker is the interface to the Transient Name Server. For information regarding the TNS, please see https://www.wis-tns.org/.