Skip to content

Commit

Permalink
remove alma stuff from nrao
Browse files Browse the repository at this point in the history
  • Loading branch information
keflavich committed May 29, 2024
1 parent 1e64a5c commit 076df46
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions astroquery/nrao/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ def query_tap(self, query, maxrec=None):
def _get_dataarchive_url(self):
return tap_urls[0]

Check warning on line 192 in astroquery/nrao/core.py

View check run for this annotation

Codecov / codecov/patch

astroquery/nrao/core.py#L192

Added line #L192 was not covered by tests

def query_region_async(self, coordinate, radius, *, public=True,
science=True, payload=None, **kwargs):
def query_region_async(self, coordinate, radius, *,
payload=None, **kwargs):
"""
Query the NRAO archive with a source name and radius
Expand All @@ -202,12 +202,6 @@ def query_region_async(self, coordinate, radius, *, public=True,
the identifier or coordinates around which to query.
radius : str / `~astropy.units.Quantity`, optional
the radius of the region
public : bool
True to return only public datasets, False to return private only,
None to return both
science : bool
True to return only science datasets, False to return only
calibration, None to return both
payload : dict
Dictionary of additional keywords. See `help`.
"""
Expand All @@ -223,8 +217,7 @@ def query_region_async(self, coordinate, radius, *, public=True,
else:
payload['ra_dec'] = ra_dec

Check warning on line 218 in astroquery/nrao/core.py

View check run for this annotation

Codecov / codecov/patch

astroquery/nrao/core.py#L218

Added line #L218 was not covered by tests

return self.query_async(public=public, science=science,
payload=payload, **kwargs)
return self.query_async(payload=payload, **kwargs)

Check warning on line 220 in astroquery/nrao/core.py

View check run for this annotation

Codecov / codecov/patch

astroquery/nrao/core.py#L220

Added line #L220 was not covered by tests

def query_async(self, payload, *, get_query_payload=False,
maxrec=None, **kwargs):
Expand All @@ -235,12 +228,6 @@ def query_async(self, payload, *, get_query_payload=False,
----------
payload : dictionary
Please consult the `help` method
public : bool
True to return only public datasets, False to return private only,
None to return both
science : bool
True to return only science datasets, False to return only
calibration, None to return both
legacy_columns : bool
True to return the columns from the obsolete NRAO advanced query,
otherwise return the current columns based on ObsCore model.
Expand Down

0 comments on commit 076df46

Please sign in to comment.