Astroquery

Latest version: v0.4.7

Safety actively analyzes 613705 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.4.8

==================

New Tools and Services
----------------------


Service fixes and enhancements
------------------------------


Infrastructure, Utility and Other Changes and Additions
-------------------------------------------------------

0.4.7

==================

New Tools and Services
----------------------

esa.hsa
^^^^^^^

- New module to access the ESA Herschel mission. [2122]

ipac.irsa
^^^^^^^^^

- New class, ``Most``, to access the Moving Object Search Tool (MOST) is
added. [2660]

mocserver
^^^^^^^^^

- ``mocserver`` is the new name of the ``cds`` module allowing access to the
CDS MOC server [2766]

solarsystem.neodys
^^^^^^^^^^^^^^^^^^

- New module to access the NEODyS web interface. [2618]

solarsystem.pds
^^^^^^^^^^^^^^^

- New module to access the Planetary Data System's Ring Node System. [2358]


Service fixes and enhancements
------------------------------

alfalfa
^^^^^^^

- Removal of the non-functional ``get_spectrym`` method as that service has
disappeared. [2578]

alma
^^^^

- Fixed a regression to handle arrays of string input for the ``query``
methods. [2457]

- Throws an error when an unsupported ``kwargs`` (or argument) is passed in
to a function. [2475]

- New DataLink API handling. [2493]

- Fixed bug in which blank URLs were being sent to the downloader. [2490]

- Removed deprecated broken functions from ``alma.utils``. [2331]

- Fixed a bug in slicing of ALMA regions. [2810]

- Added support for ALMA OIDC (OpenID Connect) auth service, Keycloak. [2712]

- Fixed bug to use the timeout set in the configuration. [2535]

astrometry_net
^^^^^^^^^^^^^^

- Added a ``verbose=`` keyword argument to ``AstrometryNet`` to control
whether or not to show any information during solving. [2484]

- Fixed a bug which caused ``solve_timeout`` to not be respected when an image
was solved by constructing a source list internally before sending data to
astrometry.net. [2484]

- Avoid duplicated warnings about API key and raise an error only when API key
is needed but not set. [2483]

- Added ``return_submission_id`` keyword argument to
``monitor_submission()``. [2685]

- Fixed off-by-one error in the reference pixel of the WCS solution when the
solution is found using sources detected by photutils. After this fix the
solution from astrometry.net will be the same when the input is an image
regardless of whether the image is uploaded or sources are detected
locally. [2752]

atomic
^^^^^^

- Fixed infitine caching loop. [2339]

- Change URL and improve error handling. [2769]

cadc
^^^^

- Deprecated keywords and ``run_query`` method have been removed. [2389]

- Added the ability to pass longer that filename Path objects as
``output_file``. [2541]

casda
^^^^^

- Add the ability to produce 2D and 3D cutouts from ASKAP images and cubes.
[2366]

- Use the standard ``login`` method for authenticating, which supports the
system keyring. [2386]

cds
^^^

- The ``cds`` module has been renamed ``mocserver`` and issues a deprecation
warning when imported. [2766]

esa.hubble
^^^^^^^^^^

- Refactored ``query_criteria`` to make the query a lot faster. [2524]

- Method ``query_hst_tap`` has been renamed ``query_tap``. [2597]

- Product types in ``download_product`` have been modified to:
'PRODUCT', 'SCIENCE_PRODUCT', or 'POSTCARD'. [2597]

- Added ``proposal`` keyword argument to several methods now allows to
filter by Proposal ID. [2797]

- Update to TAP url to query data and download files, aligned with the new
eHST Science Archive. [2567, 2597]

- Status and maintenance messages from eHST TAP when the module is
instantiated. Use ``get_status_messages`` to retrieve them. [2597]

- New methods to download single files ``download_file`` and download FITS
associated to an observation ``download_fits_files``. [2797]

- New function to retrieve all the files associated to an observation
``get_associated_files``. [2797]

- New methods to retrieve metadata (``get_observations_from_program``) and
files (``download_files_from_program``) associated to a proposal. [2910]

esa.jwst
^^^^^^^^

- Fixes in ``login`` and ``set_token`` methods. [2807]

esa.xmm_newton
^^^^^^^^^^^^^^
- New version of RMF matrices (v21). [2910, 2932]

eso
^^^

- Authenticate with ESO using APIs and tokens instead of HTML forms. [2681]

- Discontinue usage of old Request Handler for dataset retrieval in favor of
new dataportal API. [2681]

- Local reimplementation of astroquery's ``_download_file`` to fix some issues
and avoid sending a HEAD request just to get the original filename. [1580]

- Restore support for .Z files. [1818]

exoplanet_orbit_database
^^^^^^^^^^^^^^^^^^^^^^^^

- The module has been deprecated due to the retirement of its upstream
website. The database hasn't been updated since 2018, users are encouraged
to use the ``ipac.nexsci.nasa_exoplanet_archive`` module instead. [2792]

gaia
^^^^

- TAP notifications service is now available for Gaia. [2376]

- Datalink can be used with the new parameter ``linking_parameter``.
It provides an additional meaning to the source identifiers:
'source_id', 'transit_id', and 'image_id'. [2859, 2936]

- Added support for output formats:
votable, votable_gzip (which is now the default), and ecsv. [2907]

- For the functions ``cone_search``, ``cone_search_async``, ``launch_job``,
and ``launch_job_async`` the data can be retrieved for the json
``output_format``. [2927, 2947]

- Method ``load_data`` now has the parameter ``valid_data`` to control the
epoch photometry service to return all data associated to a given source.
[2376]

- Default Gaia catalog updated to DR3. [2596]

heasarc
^^^^^^^

- Fix issue in which blank tables raised exceptions. [2624]

ipac.irsa
^^^^^^^^^

- The IRSA module's backend has been refactored to favour VO services and to
run the queries through TAP rather than Gator.
New method ``query_tap`` is added to enable ADQL queries, async-named
methods have been removed. The ``selcols`` kwarg has been renamed to
``columns``, and the ``cache`` and ``verbose`` kwargs have been
deprecated as they have no effect. [2823]

- Method to run SIAv2 VO queries, ``query_sia``, is added. [2837]

- Method to list available collections for SIA queries,
``list_collections``, is added. [2952]

- Deprecation of the module ``ipac.irsa.sha`` due to upstream API changes
and in favour of recommending using ``ipac.irsa`` instead. [2924]

ipac.nexsci.nasa_exoplanet_archive
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Removed deprecated methods ``query_planet`` and ``query_star``. [2431]

- Stability improvements to ``query_aliases`` to address bug that made
method retrieve no aliases for multiple star systems. [2506]

jplhorizons
^^^^^^^^^^^

- Deprecate ``get_raw_response`` parameter in query methods.
The raw response may be retrieved from the _async() methods. [2418]

- Adding ``optional_setting`` parameter to the ephemerides methods to allow
passing additional settings. [1802]

- Topocentric coordinates can now be specified for both center and target in
observer and vector queries. [2625]

- Updated returned table columns to match Horizons's updates. [2794]

- Assign units to ``"hour_angle"``, ``"solartime"``, and ``"siderealtime"``
columns. [2794]

- Allow using units in locations specified as coordinates. [2746]

jplsbdb
^^^^^^^

- Fix a bug for jplsdbd query when the returned physical quantity contains
a unit with exponential. [2377]

jplspec
^^^^^^^

- Fix a bug in lookup-table generation when using ``parse_name_locally``
option. [2945]

linelists.cdms
^^^^^^^^^^^^^^

- Fix issues with the line name parser and the line data parser; the original
implementation was incomplete and upstream was not fully
documented. [2385, 2411]

- Added new line list reader and enabled reading line list from remote
server.[2760]

- Updated local version of line list to include some change in column names.
[2760]

mast
^^^^

- Cull duplicate downloads for the same dataURI in
``Observations.download_products()`` and duplicate URIs in
``Observations.get_cloud_uris``. [2497]

- Fixed ``Observations.get_product_list`` to handle input lists of
obsids. [2504]

- Add a ``flat`` option to ``Observation.download_products()`` to turn off the
automatic creation and organizing of products into subdirectories. [2511]

- Expanding ``Cutouts`` functionality to support making Hubble Advanced
Product (HAP) cutouts via HAPCut. [2613]

- Expanding ``Cutouts`` functionality to support TICA HLSPs now available
through ``TesscutClass``. [2668]

- Resolved issue making PANSTARRS catalog queries when columns and sorting
is specified. [2727]

- Bug fix in ``Observations.query_criteria()`` to use ``page`` and
``pagesize`` parameters [2915]

- Added ``mast_query`` to ``MastClass`` to handle the creation of parameter
dictionaries for MAST Service queries. [2785]

- PanSTARRS data is now available to download anonymously from the public
STScI S3 buckets. [2893]

- Changed warning to error for authentication failure. [1874]

nist
^^^^

- Vectorized ``linename`` option to query multiple spectral lines with one call
of ``Nist.query``. [2678]

- Fix wavelength keywords, which were changed upstream. [2918]

- Fetch statistical weight (g) from the database. [2955]

oac
^^^

- Fix bug in parsing events that contain html tags (e.g. in their alias
field). [2423]

sdss
^^^^

- ``query_region()`` can perform cone search or a rectangular
search around the specified coordinates. [2477, 2663]

- The default data release has been changed to DR17. [2478]

- Switching to https to avoid issues originating in relying on server side
redirects. [2654]

- Fix bug to have object IDs as unsigned integers, on Windows, too.
[2800, 2806, 2880]

simbad
^^^^^^

- new ``query_tap`` method to access SIMBAD. This comes with additional
methods to explore SIMBAD's tables and their links:
``list_tables``, ``list_columns``, and ``list_linked_tables``. [2856]

- It is now possible to specify multiple coordinates together with a single
radius as a string in ``query_region()`` and ``query_region_async()``.
[2494]

- ``ROW_LIMIT`` is now respected when running region queries; previously, it
was ignored for region queries but respected for all others. A new warning,
``BlankResponseWarning``, is introduced for use when one or more query terms
result in a blank or missing row; previously, only a generic warning was
issued. [2637]

skyview
^^^^^^^

- Fix bug for ``radius`` parameter to not behave as diameter. [2601]

- Fix bug in ``height`` and ``width`` input validation. [2757]

svo_fps
^^^^^^^

- The wavelength limits in ``get_filter_index`` can now be specified using any
length unit, not just angstroms. [2444]

- Queries with invalid parameter names now raise an ``InvalidQueryError``.
[2446]

- The default wavelength range used by ``get_filter_index`` was far too
large. The user must now always specify both upper and lower limits. [2509]

vizier
^^^^^^

- Fix parsing vizier generated tsv returns. [2611]

- New method ``get_catalog_metadata`` allows to retrieve information about
VizieR catalogs such as origin_article, description, or last modified
date. [2878]

xmatch
^^^^^^

- The reason for query errors, as parsed from the returned VOTable is now
exposed as part of the traceback. [2608]

- Minor internal change to use VOTable as the response format that include
units, too. [1375]


Infrastructure, Utility and Other Changes and Additions
-------------------------------------------------------

- Optional keyword arguments are now keyword only.
[1802, 2339, 2477, 2532, 2597, 2601, 2609, 2610, 2655, 2656, 2661, 2671, 2690, 2703]

- New function, ``utils.cleanup_downloads.cleanup_saved_downloads``, is
added to help the testcleanup narrative in narrative documentations. [2384]

- Adding new ``BaseVOQuery`` baseclass for modules using VO tools. [2836]

- Adding more system and package information to User-Agent. [2762, 2836]

- Refactoring caching. [1634]

- Removal of the non-functional ``nrao`` module as it was completely
incompatible with the refactored upstream API. [2546]

- Removal of the non-functional ``noirlab`` module because the current module
is incompatible with the new upstream API. [2579]

- Removed deprecated function ``utils.commons.send_request()``. [2583]

- Removed deprecated function ``utils.download_list_of_fitsfiles()``. [2594]

- Versions of astropy <4.2.1 and numpy <1.18 are no longer supported. [2602]

utils.tap
^^^^^^^^^

- Add support for ``MAXREC`` parameter. [1584]

- Data downloads are now executed in streaming mode. [2910]

0.4.6

==================

Service fixes and enhancements
------------------------------

alma
^^^^

- Added ``verify_only`` option to check if data downloaded with correct file
size. [2263]

- Deprecated keywords and ``stage_data`` method has been removed. [2309]

- Deprecate broken functions from ``alma.utils``. [2332]

- Optional keyword arguments are now keyword only. [2309]

casda
^^^^^

- Simplify file names produced by ``download_files`` to avoid filename too
long errors. [2308]

esa.hubble
^^^^^^^^^^

- Changed ``query_target`` method to use TAP instead of AIO. [2268]


- Added new method ``get_hap_hst_link`` and ``get_member_observations`` to
get related observations. [2268]

esa.xmm_newton
^^^^^^^^^^^^^^

- Add option to download proprietary data. [2251]

gaia
^^^^

- The ``query_object()`` and ``query_object_async()`` methods of
``astroquery.gaia.Gaia`` no longer ignore their ``columns`` argument when
``radius`` is specified. [2249]

- Enhanced methods ``launch_job`` and ``launch_job_async`` to avoid issues with
the name provided by the user for the output file when the results are
returned by the TAP in compressed format. [2077]

ipac.nexsci.nasa_exoplanet_archive
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Fixes to alias query, and regularize keyword removed from deprecated
``query_star`` method. [2264]

mast
^^^^

- Adding moving target functionality to ``Tesscut`` [2121]

- Adding ``MastMissions`` class to provide mission-specific metadata query
functionalities. [2095]

- GALEX data is now available to download anonymously from the public
STScI S3 buckets. [2261]

- Adding the All-Sky PLATO Input Catalog ('plato') as a catalog option for
methods of ``Catalogs``. [2279]

- Optional keyword arguments are now keyword only. [2317]

sdss
^^^^

- Fix ``query_crossid`` for spectral data and DR17. [2258, 2304]

- Fix ``query_crossid`` to be able to query larger list of coordinates. [2305]

- Fix ``query_crossid`` for very old data releases (< DR10). [2318]


Infrastructure, Utility and Other Changes and Additions
-------------------------------------------------------

- Remove obsolete testing tools. [2287]

- Callback hooks are deleted before caching. Potentially all cached queries
prior to this PR will be rendered invalid. [2295]

utils.tap
^^^^^^^^^

- The modules that make use of the ``astroquery.utils.tap.model.job.Job`` class
(e.g. Gaia) no longer print messages about where the results of async queries
were written if the ``verbose`` setting is ``False``. [2299]

- New method, ``rename_table``, which allows the user to rename table and
column names. [2077]

0.4.5

==================

New Tools and Services
----------------------

esa.jwst
^^^^^^^^^^

- New module to provide access to eJWST Science Archive metadata and datasets. [2140, 2238]


Service fixes and enhancements
------------------------------

eso
^^^

- Add option to retrieve_data from an earlier archive query. [1614]

jplhorizons
^^^^^^^^^^^

- Fix result parsing issues by disabling caching of failed queries. [2253]

sdss
^^^^

- Fix URL for individual spectrum file download in recent data releases. [2214]

Infrastructure, Utility and Other Changes and Additions
-------------------------------------------------------

- Adding ``--alma-site`` pytest option for testing to have a control over
which specific site to test. [2224]

- The function ``astroquery.utils.download_list_of_fitsfiles()`` has been
deprecated. [2247]

utils.tap
^^^^^^^^^

- Changing the default verbosity of TapPlus to False. [2228]

0.4.4

==================

New Tools and Services
----------------------

esa.esasky
^^^^^^^^^^

- Added Solar System Object functionality. [2106]

ipac
^^^^

- New namespace for IPAC services. [2131]

linelists.cdms
^^^^^^^^^^^^^^
- Molecular line catalog query tool provides an interface to the
Cologne Database for Molecular Spectroscopy. [2143]


Service fixes and enhancements
------------------------------

casda
^^^^^^

- Add ability to stage and download non image data which have been found
through the CASDA obscore table. [2158]

gaia
^^^^

- The bug which caused changing the ``MAIN_GAIA_TABLE`` option to have no
effect has been fixed. [2153]

ipac.ned
^^^^^^^^

- Keyword 'file_format' is added to ``get_image_list`` to enable obtaining
links to non-fits file formats, too. [2217]

jplhorizons
^^^^^^^^^^^

- Updated to use v1.0 of the new JPL Horizons API released 2021-09-15.
Included in this update, the default reference system is changed from
J2000 to ICRF, following API documentation. [2154]

- Query ``id_type`` behavior has changed:
* ``'majorbody'`` and ``'id'`` have been removed and the equivalent
functionality replaced with ``None``. ``None`` implements the Horizons
default, which is to search for major bodies first, then fall back to a
small body search when no matches are found. Horizons does not have a
major body only search. [2161]
* The default value was ``'smallbody'`` but it is now ``None``, which
follows Horizons's default behavior. [2161]

- Fix changes in column names that resulted KeyErrors. [2202]

jplspec
^^^^^^^

- JPLSpec now raises an EmptyResponseError if the returned result is empty.
The API for JPLspec's ``lookup_table.find`` function returns a dictionary
instead of values (for compatibility w/CDMS). [2144]

simbad
^^^^^^

- Fix result parsing issues by disabling caching of failed queries. [2187]

- Fix parsing of non-ascii bibcode responses. [2200]

splatalogue
^^^^^^^^^^^

- Splatalogue table merging can now handle unmasked columns. [2136]

vizier
^^^^^^

- It is now possible to specify 'galatic' centers in region queries to
have box queries oriented along the galactic axes. [2152]


Infrastructure, Utility and Other Changes and Additions
-------------------------------------------------------

- Versions of astropy <4 and numpy <1.16 are no longer supported. [2163]

ipac
^^^^

- As part of the namespace restructure, now modules for the IPAC archives are
avalable as: ``ipac.irsa``, ``ipac.ned``, and ``ipac.nexsci``.
Additional services have also been moved to their parent organisations'
namespace. Acces from the top namespace have been deprecated for the
following modules: ``ibe``, ``irsa``, ``irsa_dust``,
``nasa_exoplanet_archive``, ``ned``, ``sha``. [2131]

0.4.3

==================

New Tools and Services
----------------------

esa.esasky
^^^^^^^^^^

- Download by observation id or source name. [2078]

- Added custom ADQL and TAP+ functionality. [2078]

- Enabled download of INTEGRAL data products. [2105]

esa.hubble
^^^^^^^^^^

- Module added to perform a cone search based on a set of criteria. [1855]

esa.xmm_newton
^^^^^^^^^^^^^^

- Adding the extraction epic light curves and spectra. [2017]

heasarc
^^^^^^^

- Add alternative instance of HEASARC Server, maintained by
INTEGRAL Science Data Center. [1988]

nasa_exoplanet_archive
^^^^^^^^^^^^^^^^^^^^^^

- Making module compatible with the NASA Exoplanet Archive 2.0 using TAP.
release. Support for querying old tables (exoplanets, compositepars, and
exomultpars) has been dropped. [2067]


Service fixes and enhancements
------------------------------

atomic
^^^^^^

- Change URL to https. [2088]

esa.xmm_newton
^^^^^^^^^^^^^^

- Fixed the generation of files with wrong extension. [2017]

- Use astroquery downloader tool to get progressbar, caching, and prevent
memory leaks. [2087]

gaia
^^^^

- Changed default of Gaia TAP Plus interface to instantiate silently. [2085]

heasarc
^^^^^^^

- Added posibility to query limited time range. [1988]

ibe
^^^

- Doubling default timeout to 120 seconds. [2108]

- Change URL to https. [2108]

irsa
^^^^

- Adding ``cache`` kwarg to the class methods to be able to control the use
of local cache. [2092]

- Making optional kwargs keyword only. [2092]

sha
^^^

- Change URL to https. [2108]

- A ``NoResultsWarning`` is now returned when there is return of any empty
table. [1837]


Infrastructure, Utility and Other Changes and Additions
-------------------------------------------------------

- Fixed progressbar download to report the correct downloaded amount. [2091]

- Dropping Python 3.6 support. [2102]

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.