-
-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into gaia-astroquery-1.1
- Loading branch information
Showing
15 changed files
with
43 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,6 @@ | |
""" | ||
|
||
from __future__ import absolute_import | ||
|
||
import os | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,6 @@ | |
:Author: Brett M. Morris ([email protected]) | ||
""" | ||
from __future__ import (absolute_import, division, print_function, | ||
unicode_literals) | ||
from .exoplanet_orbit_database import (ExoplanetOrbitDatabase, | ||
ExoplanetOrbitDatabaseClass) | ||
from astropy import config as _config | ||
|
2 changes: 0 additions & 2 deletions
2
astroquery/exoplanet_orbit_database/exoplanet_orbit_database.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
astroquery/exoplanet_orbit_database/tests/test_exoplanet_orbit_database.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
from __future__ import (absolute_import, division, print_function, | ||
unicode_literals) | ||
import os | ||
|
||
import pytest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters