Panoptes-utils

Latest version: v0.2.43

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

Scan your dependencies

Page 5 of 8

0.2.14

Not secure
-------------------

Added
^^^^^

* Add snappy decompression for parquet; ``pyarrow`` instead of ``fastparquet`` (193)
* Password-less sudo for panoptes user on dev docker image (193)
* ``get_metadata`` has an optional progress bar. (194)
* Add ``bayer.get_stamp_slice`` for getting a stamp slice while respecting the superpixel. This was removed awhile ago and has been re-added and improved. (196)
* Adjusting the offsets so the center pixel is always::

G2 B
R G1

Bug fixes
^^^^^^^^^

* Fix time-based search (193)
* Fix the build (197)
* Removed ``versioneer`` in favor of ``setuptools-scm`` for workin version numbers.
* Removed the MANIFEST.in
* Added a simple ``pyproject.toml``.

Changed
^^^^^^^

* **Breaking** Only support getting stars directly from the WCS, not the footprint. (194)
* ``get_stars_from_footprint`` -> ``get_stars_from_wcs``
* Better logging
* Consistent column names for dtypes
* Vmag bin comes from sql.
* Allow for different RA/Dec column names.
* Better catalog match function.
* ``sextractor`` param changes. (194)
* **Breaking** ``panoptes.utils.logger`` -> ``panoptes.utils.logger`` so we can ``from panoptes.utils import logger`` (197)
* **Breaking** The ``panoptes.utils.data.assets`` module was removed and the
``Downloader`` class is placed directly within the ``scripts/download-data.py`` file. (197)
* The ``panopes-utils`` module is not installed in editable mode in the ``latest`` docker image. (197)
* Slight clean up of latest.Dockerfile

0.2.13

-------------------

Bug fixes
^^^^^^^^^

* Fix some passing of options between ``get_solve_field`` and ``solve_field`` that was leading to double parameter issues. (189)

Changed
^^^^^^^

* The ``panoptes.utils.data`` functions use static versions of the file rather than firestore. (192)
* Updated development environment (191)
* ``get_metadata`` filter the fields at the parquet level. (194)

0.2.12

-------------------

Quick release to get the ``panoptes.utils.sources`` into the package.

Bug fixes
^^^^^^^^^

* ``panoptes.utils.sources`` not included in package. (187, 188)

Changed
^^^^^^^

* Ability to pass credentials to underlying google client functions. (187)

0.2.11

Not secure
-------------------

Added
^^^^^

* Data
* Added basic data access components for getting observation and image metadata. (178, 181)
* Added a ``search_observations`` function for searching by various criteria. (181)
* Uses anonymous credentials to connect to firestore.
* Added a basic notebook demonstrating features.
* Adding ``holoviews`` and ``hvplot`` as required dependencies.


Bug fixes
^^^^^^^^^

* FITS Utils fixes:
* Fix docstring return types for some functions. (173)
* ``fpack``/``funpack`` and ``get_solve_field`` were not properly overwriting FITS files
under certain conditions when an uncompressed file of the same name was present alongside
the compressed version. (175)
* Properly pass ``args`` and ``kwargs`` to ``astropy.io.fits.getdata``. (180)

Changed
^^^^^^^

* Docker
* Changed developer tag from ``dev`` to ``develop``. (174)
* FITS Utils changes (173):
* Uncompressed file is always used for solve because we were occasionally seeing odd errors as described in dstndstn/astrometry.net182. (173)
* :warning: ``get_solve_field`` will ``overwrite`` by default.
* Better log output for solving.
* Better checking for solved file at end (via ``is_celestial``).
* Cleanup the cleanup of solve files, removing ``remove_extras`` option.
* Pass ``kwargs`` to underlying ``writeto`` method for ``write_fits``. Needed for, e.g. ``overwrite``.
* Allow additional options to be passed to solve field functions without having to override all options. (180)
* Changed default options in ``get_solve_field`` to use ``scale-low`` and ``scale-high`` instead of ``radius`` (which
requires an ``ra`` and ``dec``). (180)
* Changed ``bin/panoptes-dev`` -> ``bin/panoptes-develop`` for naming consistency. (175)
* Data
* **BREAKING** The ``panoptes.utils.data.py`` has moved into the ``panoptes.utils.data`` namespace with the relevant existing ``Downloader`` class placed in the ``assets.py`` module. (181)
* Changed the ``get_data`` (and images and observations equivalent) to ``get_metadata``. (181)

Removed
^^^^^^^

FITS Utils removals (173):
* Removing unused and confusing ``improve_wcs``.
* PanLogger class moved to POCS. (186)

0.2.10

Not secure
-------------------

Added
^^^^^

* ``get_stars_from_footpr int`` can accept a ``WCS`` directly instead of just the output from ``calc_footprint()``. (164)
* Ability to create different tags for the docker image. The ``develop`` directory is now used to create a ``develop`` image and is provided along with ``latest``. (165)
* ``get_rgb_backgrounds(return_separate-True)`` will now return the ``Background2D`` objects. (166)
* Added BigQuery pandas dependencies. (168)
* Added a developer image at ``panoptes-utils:dev``, which is also auto-built along with the ``latest`` in the cloudbuild. Offers a ``jupyter-lab`` instance along with a number of plotting modules. Can be easily started via ``panoptes-dev``. (170, 171)

Bug fixes
^^^^^^^^^

* ``image_id_from_path`` and ``sequence_id_from_path`` can recognize a zero in the ``camera_id`` and ``None`` when no match. (163)
* Fixed the bigquery client param for star lookup. (164)
* Unquote paths before id matching. (169)
* Do WCS match for all unmatched sources, not just matched sources. (172)

Changed
^^^^^^^

* Docker entrypoint no longer tries to activate service account if ``$GOOGLE_APPLICATION_CREDENTIALS`` is found. The python client libraries will recognize the env var so this means we can avoid installing ``gcloud`` utilities just to activate. (165)
* The ``sources`` module does not require a BigQuery client to be passed but can start it's own. A warning is given if ``$GOOGLE_APPLICATION_CREDENTIALS`` is not found. (167)
* ``lookup_point_sources`` updates: default vmag range expanded so less false positive matches [4,18). (168)
* Removed TOC from changelog. (170)
* Sextractor param changes: (171)
* Threshold for detection changed from 3 pixels to 10 pixels.
* Seeing changed from 0.7 arcsec to 15.3 arcsec. (Isn't used.)
* Removed ``class_star`` from sextractor results.

0.2.9

Not secure
------------------

Pointless version bump because of issue with `PyPi <https://github.com/pypa/packaging-problems/issues/74>`_.

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.