Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add version information for casda features #2428

Merged
merged 1 commit into from
Jun 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/casda/casda.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,16 @@ from the keyring, or if in an interactive environment then it will be requested.
>>> casda = Casda()
>>> casda.login(username='[email protected]')

.. Note::

Prior to Astroquery v0.4.7, authentication required creating an instance of the ``Casda`` class
with a username and password. e.g.: ``casda = Casda(username, password)``

Data Access
===========

.. versionadded:: 0.4.4

In order to access data in CASDA you must first stage the data using the :meth:`~astroquery.casda.CasdaClass.stage_data`
method.
This is because only some of the data in CASDA is held on disc at any particular time.
Expand Down Expand Up @@ -111,10 +117,15 @@ taken in scheduling block 2338 is shown below:
>>> url_list = casda.stage_data(subset)
>>> filelist = casda.download_files(url_list, savedir='/tmp')

.. Note::

Due to server side changes, downloads now require Astroquery v0.4.6 or later.

Cutouts
=======

.. versionadded:: 0.4.7

As well as accessing full data products, the CASDA service can produce cutout images and cubes from larger data products.
The cutout support in AstroQuery allows both spatial and spectral cutouts.
To produce a spatial cutout, pass in a coordinate and either a radius or a height and a width to the
Expand Down