Piyush Sharma

GSoC 2024 @OpenAstronomy: Overview of Merged and Pending PRs

img

This blogpost deals with all the PRs that were merged/opened in NDCube/ SunPy / Astropy for completing the project.


The PRs were filed in accordance with the tasks recorded in the GitHub task-tab.

NDCube

PR #708: Asdf-Support

(Merged)

  • PR for supporting the serialization of basic ndcube.NDCube objects with the serialization logic written for the below classes NDCube, GlobalCoords, ExtraCoords.

PR #751: Add support for the serialization of the ndcube WCS wrappers

(Yet to be Merged)

  • This PR introduces serialization support for ndcube WCS wrappers, including CompoundLowLevelWCS, ResampledLowLevelWCS and ReorderedLowLevelWCS, allowing them to be saved in ASDF format.

PR #756: Add serialization logic for the NDCubeSequence and NDCollection

(Yet to be Merged)

  • This PR introduces serialization support for NDCubeSequence and NDCollection objects, enabling their conversion to and from ASDF format.

Astropy

PR #237: Remove astropy version check

(Merged)

  • This PR removes the astropy version check, which was previously set to version 5.1, from the codebase. The minimum required version is updated to 5.2, and associated conditional logic in test_transform.py is removed.

PR #235: Support serialization of astropy.wcs.WCS objects to ASDF

(Yet to be Merged)

  • This PR introduces support for serializing astropy.wcs.WCS and astropy.wcs.wcsapi.SlicedLowLevelWCS objects to ASDF format. With this enhancement, any ndcube.NDCube objects can be serialized to ASDF while preserving the underlying WCS as astropy.wcs.WCS. Additionally, it ensures that sliced ndcube.NDCube objects maintain proper WCS preservation when serialized and are restored correctly upon deserialization.

PR #239: Add serialization logic for uncertainty objects

(Yet to be Merged)

  • This PR adds serialization logic for astropy.nddata.StdDevUncertainty and astropy.nddata.UnknownUncertainty objects. This update enables the serialization of these uncertainty types, ensuring that the uncertainty attribute of the ndcube.NDCube object is properly preserved and restored.

SunPy

PR #7686: ASDF schema update: minor change

(Merged)

  • This PR updates the ASDF schema by removing incorrect usage of the unsupported allowAdditionalProperties validator. This minor change ensures that the schema files for generic_map (versions 1.0.0, 1.1.0, and 1.2.0) are correctly formatted.