Skip to content

Commit 076df46

Browse files
committed
remove alma stuff from nrao
1 parent 1e64a5c commit 076df46

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

astroquery/nrao/core.py

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ def query_tap(self, query, maxrec=None):
191191
def _get_dataarchive_url(self):
192192
return tap_urls[0]
193193

194-
def query_region_async(self, coordinate, radius, *, public=True,
195-
science=True, payload=None, **kwargs):
194+
def query_region_async(self, coordinate, radius, *,
195+
payload=None, **kwargs):
196196
"""
197197
Query the NRAO archive with a source name and radius
198198
@@ -202,12 +202,6 @@ def query_region_async(self, coordinate, radius, *, public=True,
202202
the identifier or coordinates around which to query.
203203
radius : str / `~astropy.units.Quantity`, optional
204204
the radius of the region
205-
public : bool
206-
True to return only public datasets, False to return private only,
207-
None to return both
208-
science : bool
209-
True to return only science datasets, False to return only
210-
calibration, None to return both
211205
payload : dict
212206
Dictionary of additional keywords. See `help`.
213207
"""
@@ -223,8 +217,7 @@ def query_region_async(self, coordinate, radius, *, public=True,
223217
else:
224218
payload['ra_dec'] = ra_dec
225219

226-
return self.query_async(public=public, science=science,
227-
payload=payload, **kwargs)
220+
return self.query_async(payload=payload, **kwargs)
228221

229222
def query_async(self, payload, *, get_query_payload=False,
230223
maxrec=None, **kwargs):
@@ -235,12 +228,6 @@ def query_async(self, payload, *, get_query_payload=False,
235228
----------
236229
payload : dictionary
237230
Please consult the `help` method
238-
public : bool
239-
True to return only public datasets, False to return private only,
240-
None to return both
241-
science : bool
242-
True to return only science datasets, False to return only
243-
calibration, None to return both
244231
legacy_columns : bool
245232
True to return the columns from the obsolete NRAO advanced query,
246233
otherwise return the current columns based on ObsCore model.

0 commit comments

Comments
 (0)