Changelogs ################# .. dropdown:: 3.0.2 ``hotfix`` :open: :animate: fade-in-slide-down :color: info :icon: bug * **Summary** * Cheops :meth:`~dace_query.cheops.cheops.CheopsClass.get_lightcurve` method now queries backend using `POST` instead of `GET` to avoid issues with long query strings when using multiple filters. * This change is transparent to users and should not require any changes in existing code. .. dropdown:: 3.0.1 ``hotfix`` :open: :animate: fade-in-slide-down :color: info :icon: bug * **Summary** * Fix a bug in the Spectroscopy module where the "LBL" radial velocity source was incorrectly set as ``LBL`` instead of ``LBL_A``. .. dropdown:: 3.0.0 ``current`` :open: :animate: fade-in-slide-down :color: info :icon: sparkle-fill * **Summary** * Version 3.0.0 introduces breaking changes as it transitions to a new backend for Spectroscopy. * The Spectroscopy download module has been reworked; as such, some functions are now deprecated. * **Spectroscopy Module** * Transitioned to a new backend for the Spectroscopy module. * Reworked :meth:`~dace_query.spectroscopy.spectroscopy.SpectroscopyClass.query_database` : * Now returns a list of raw frames instead of available points per instrument and per DRS version. * Targets (``target_name``) are now resolved automatically using SIMBAD. * Calibration frames are now included in the query results. * Reworked download functionalities: * Deprecated :meth:`~dace_query.spectroscopy.spectroscopy.SpectroscopyClass.download_files` in favor of : * :meth:`~dace_query.spectroscopy.spectroscopy.SpectroscopyClass.browse_products` to preview available reduced products * :meth:`~dace_query.spectroscopy.spectroscopy.SpectroscopyClass.download` to download reduced products. * Added the ability to specify the DRS version of the data to download using the ``drs_version`` parameter (e.g., ``drs_version='latest'``). * Reworked :meth:`~dace_query.spectroscopy.spectroscopy.SpectroscopyClass.get_timeseries` : * Added support for querying specific radial velocity sources (e.g., telluric corrected, sky-sub, publication data) using the new ``rv_source`` parameter. * Added the ability to specify the DRS version using the new ``drs_version`` parameter. (e.g., ``drs_version='latest'``). * Parameter names and available filters have been updated to reflect the new backend. .. dropdown:: Migration guide for existing codebases :open: :animate: fade-in-slide-down :color: success :icon: info * A guide was written to help users transition to the new version : * See the :doc:`spectroscopy_migration_guide` for more details. * See the official module documentation : :class:`~dace_query.spectroscopy.spectroscopy.SpectroscopyClass` for updated docs, code snippets and examples. .. dropdown:: 2.0.0 * **Summary** * Version 2.0.0 introduces breaking changes as it transitions to a new backend for TESS and CHEOPS. * The CHEOPS download module has been reworked, as such, some functions are now deprecated. * The Sun webapp download functionality has been reworked (to be the same as the CHEOPS module). * Documentation has been fully reworked * **General changes** * Changed default file-output location to the current working directory (previously defaulted to home directory, which could introduce clutter). * Updated catalog module to align with backend changes : * Catalogs are moving to their own module. * This version introduces these changes for the CHEOPS and TESS catalogs. * **TESS Module** * New backend for TESS * Added access to TESS catalogs (TIC, TOI) * Reworked coordinate-search methods : * Compability with the new TESS backend. * Added support for TOI and TIC catalogs. (Meaning you may now search for TOIs using a cone search) * Updated documentation and examples * **CHEOPS Module** * New backend for CHEOPS * Download module has been reworked : * Deprecated old download functionalities in favor of a single download method :meth:`~dace_query.cheops.cheops.CheopsClass.download` * Deprecate : :meth:`~dace_query.cheops.cheops.CheopsClass.download_files` * Deprecate : :meth:`~dace_query.cheops.cheops.CheopsClass.download_diagnostic_movie` * Deprecate old product listing functionalities in favor of the new :meth:`~dace_query.cheops.cheops.CheopsClass.browse_products` method. * :meth:`~dace_query.cheops.cheops.CheopsClass.browse_products` Allows you to list all available data products for a given CHEOPS visit before downloading them. * Deprecate : :meth:`~dace_query.cheops.cheops.CheopsClass.list_data_product` * Faster downloads by disabling compression * Add the possibility to download files without compression using the new :meth:`~dace_query.cheops.cheops.CheopsClass.download_files` method with the ``compressed=False`` argument. * To keep backwards compatibility, the default value for ``compressed`` is set to ``True``. * This is the default behavior of the previous version, which will return a ``tar.gz`` archive. * It is recommended to switch to ``compressed=False`` as this will largely increase download performance. * The output format will change based on the ``compressed`` argument: * If ``compressed=True`` (default), the output will be a ``tar.gz`` file. * If ``compressed=False``, the output will be a a ``.tar`` file * In regards to the size increase caused by using ``compressed=False`` : * Due to their binary structure and frequent use of data like floating-point arrays, FITS files typically compress poorly with gzip, resulting in marginal file size reduction. * The size increase when using ``compressed=False`` is expected to be minimal, around 5-10% larger than the compressed version. * This tradeoff is considered acceptable given the significant performance improvement in download speed. * Updated documentation and examples * **Exoplanets Module** * Now supports the new 'Atreides' catalog * You may use the :meth:`~dace_query.exoplanet.exoplanet.ExoplanetClass.query_database` method to query both catalogs. * By default, the PlanetS catalog is used so there is no impact on existing code. * **Sun Module** * The Sun module has been reworked to use the new backend. * The download functionality has been reworked to be the same as the CHEOPS module. * Deprecate the :meth:`~dace_query.sun.sun.SunClass.download_files` method in favor of the :meth:`~dace_query.sun.sun.SunClass.download` method. * The methods to download public data from the Sun database now query the server directly rather than interfacing through the API, which should improve performance. * :meth:`~dace_query.sun.sun.SunClass.download_public_release_all` * :meth:`~dace_query.sun.sun.SunClass.download_public_release_ccf` * :meth:`~dace_query.sun.sun.SunClass.download_public_release_timeseries` * **Documentation** * New frontend and style * New, simpler navigation between modules * Rework the search functionality. (Use ``⌘+k`` on mac or ``ctrl+k`` on windows) * Updated the documentation with new examples and code snippets * Updated the TESS and CHEOPS modules in the docs to reflect the new backend and functionalities * Replaced large static lists with dropdowns to reduce visual clutter. * Refactored code snippets across all modules to support new styling * Added copy-to-clipboard function for code snippets .. dropdown:: 1.2.3 * Reverted the required setuptools version to below 77.0.0 due to changes in how the license is reported in ``pyproject.toml``. * This avoids requiring a newer setuptools version that is not yet available in ``conda``. .. dropdown:: 1.2.2 * Fixed a bug where column names in the Simbad result of astroquery module were updated to be lowercase. * Changed "IDS" to "ids". .. dropdown:: 1.2.1 * New standalone webapp for the Sun module. * Sun.get_timeseries() is deprecated and has been removed. Use query_database() instead. .. dropdown:: 1.2.0 * New Hipparcos data in the Astrometry module * Query the Hipparcos catalog for a specific target : ``Astrometry.query_hipparcos_database()`` * Query the Hipparcos Intermediate Astrometric Data (IAD) for a specific target : ``Astrometry.get_hipparcos_timeseries()`` * Updated the tests that were failing due to previous updates in the databases .. dropdown:: 1.1.0 * Cheops module * List data products for a specified visit : ``Cheops.list_data_product()`` * Download specific files using exact filenames: ``Cheops.download_files()`` * Fixes * Duplicated log issue * Download issue (with the accessing results method) * Code improvements * Enhanced documentation .. dropdown:: 1.0.1 **The first public release of the dace-query package** * Use `dace `_'s rest endpoints to retrieve datas * Handle dace authentication using a **.dacerc** file * New modules added * astrometry * atmosphericSpectroscopy * catalog * cheops * cheops * exoplanet * imaging * lossy * monitoring * opacity * opendata * photometry * population * spectroscopy * sun * target * tess