NraoClass

class astroquery.nrao.NraoClass[source]

Bases: BaseVOQuery

Create an instance of BaseVOQuery.

Parameters:
extra_user_agentsstr | list(str)

Extra user agents to be added to the ones already provided by astroquery.

Attributes Summary

TIMEOUT

USERNAME

archive_url

tap

tap_url

Methods Summary

help()

Return the valid query parameters

query(payload, *[, public, ...])

Perform a generic query with user-specified payload

query_object(object_name, *[, payload])

Query the archive for a source name.

query_region(coordinates, radius, *[, ...])

Query the NRAO archive with a source name and radius

query_tap(query, *[, maxrec])

Send query to the NRAO TAP.

Attributes Documentation

TIMEOUT = 120
USERNAME = ''
archive_url = 'https://data.nrao.edu'
tap
tap_url

Methods Documentation

help()[source]

Return the valid query parameters

query(payload, *, public=None, get_query_payload=False, maxrec=None, **kwargs)[source]

Perform a generic query with user-specified payload

Parameters:
payloaddictionary

Please consult the help method

publicbool

True to return only public datasets, False to return private only, None to return both

get_query_payloadbool

Flag to indicate whether to simply return the payload.

maxrecinteger

Cap on the amount of records returned. Default is no limit. [ we don’t know for sure that this is implemented for NRAO ]

Returns:
Table with results.
query_object(object_name, *, payload=None, **kwargs)[source]

Query the archive for a source name.

Parameters:
object_namestr

The object name. Will be resolved by astropy.coord.SkyCoord

payloaddict

Dictionary of additional keywords. See help.

query_region(coordinates, radius, *, public=None, get_query_payload=False, payload=None, **kwargs)[source]

Query the NRAO archive with a source name and radius

Parameters:
coordinatesstr / astropy.coordinates

the identifier or coordinates around which to query. (vector queries are not supported)

radiusstr / Quantity

the radius of the region

publicbool

True to return only public datasets, False to return private only, None to return both

payloaddict

Dictionary of additional keywords. See help.

query_tap(query, *, maxrec=None)[source]

Send query to the NRAO TAP. Results in pyvo.dal.TapResult format. result.table in Astropy table format

Parameters:
maxrecint

maximum number of records to return