v30.0.4 (2026-02-28)#
New Features#
Switched
ObservationInfoimplementation so that it is now a PydanticBaseModel. There should be no change from a user perspective. (DM-54087)Added new
VisitInfoTranslator, designed to be able to extract a minimal consistent set of information from the headers of visit images that were created from anlsst.afw.image.VisitInfo. This translator is not enabled by default since it can result in confusion when an instrument translator can also translate the bulk of the headers.Added new
--translator-namecommand-line option toastrometadata translateto force a specific translator to be used (such asVisitInfo). This does require that the translator has been registered (such as with the-poption).Added
MetadataTranslator.get_translator_by_name()class method to return a translator class from the name of the translator. (DM-54255)
API Changes#
Added a new
quietparameter toObservationInfoconstructor andObservationInfo.from_header()constructor. This can be used to turn warning log messages on translator failure into debug log messages. (DM-54279)
Other Changes and Additions#
Migrated the documentation build to use
sphinxutils. (DM-54087)
v30.0.0 (2026-01-15)#
Dropped support for Python 3.10.
New features#
Modified the file readers (including command-line tooling) to support URIs as well as local files. This can be used to read headers from S3 buckets or HTTPS servers. (DM-41256)
Added two new translated properties:
exposure_time_requestedis the requested exposure time andexposure_timeis now defined to be the actual exposure time. The default value for an older translator is for the two values to be the same.altaz_endnow contains the telescope position at the end of the observation. If a translator has not been updated to support this property the default value isNone. (DM-50382)
Miscellaneous Changes#
Added a default clipping of the Alt/Az values, which can be overridden by translators. (DM-50167)
v29.0.0 (2025-04-16)#
Dropped support for Python 3.9.
New features#
Added support for entry points to be declared by packages providing their own metadata translators. Use
astrometadata --list-pluginsto list all registered translators. Given the high overheads that can be encountered during the importing of translators, plugins have to be requested explicitly by label rather than preemptively loading all plugins. (DM-47972)
Miscellaneous Changes#
Improved the robustness of table mode output when there is a translation failure. (DM-46970)
v28.0.0 (2025-01-24)#
Miscellaneous Changes#
v27.0.0 (2024-06-25)#
New features#
Added new property,
can_see_skyto report whether the observation can see sky photons or not. The default implementation tries to infer the answer from the observation types. (DM-43103)
Miscellaneous Changes#
v26.0.0 (2023-12-14)#
Drop support for Python 3.8.