Skip to content

Commit ea04602

Browse files
authored
Merge pull request #375 from perrygreenfield/proposal
STSCI proposal to add more support for ASDF serialization of astropy objects
2 parents 059bd09 + 25d5fa2 commit ea04602

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
### Title
2+
Expanding Astropy and Astropy-affiliated objects to be serialized to ASDF
3+
4+
### Project Team
5+
- Elizabeth Madison: Approximately 1.5 years of scientific python programming experience; previous experience calibrating HST/WFPC camera and image analysis of resulting orbital data; much experience with image analysis and distortion calibration and projection onto planetary coordinate systems, particularly with regard to Jupiter and Saturn (CV upon request)
6+
7+
- Brett Graham, Perry Greenfield and Nadia Dencheva will collaborate on this project but will not be funded by this proposal.
8+
9+
10+
### Project Description
11+
The Advanced Scientific Data Format (ASDF) was developed to address shortcomings of the FITS format, like serializing complex WCS transformations or dealing with newer types of instrumentation (IFS, MSA), that FITS is effectively incapable of handling (Thomas, B., Jenness. T. et al. (2015)). A Python library was developed to implement the standard. Extensions to the standard define the schemas (descriptions of how the relevant information should be saved, and used for validation) for astropy types and asdf_astropy is the Python package which serializes astropy types using those extensions.
12+
13+
https://github.com/astropy/asdf-astropy
14+
15+
There is already support for serializing many Astropy objects using ASDF. These include:
16+
17+
- modeling
18+
- coordinate frames (many, but not all frames)
19+
- units and quantities
20+
- tables
21+
- times and dates
22+
23+
https://github.com/asdf-format
24+
25+
Nevertheless, there are a number of other Astropy objects that can benefit from serialization. We propose to implement ASDF serialization for other commonly used astropy types. The work is split in two proposals of which this is the first one. We propose to implement ASDF serialization of
26+
27+
- the remaining coordinate frames
28+
- frames derived from BaseEclipticFrame
29+
- remaining BaseRADecFrames (LSR, LSRD, LSRK, TETE, TEME)
30+
- the PSF models in photutils
31+
32+
The work includes writing schemas and converters for these data types, writing tests and documentation.
33+
34+
Should this work be completed within the funded amount, we will pull extra items from the next phase of the work described in the following section.
35+
36+
### Approximate Budget
37+
We are requesting $19200 for a salary for the main developer, Elizabeth Madison.
38+
39+
We will submit a similar proposal for the next cycle contingent on successful completion of this one that adds extra serialization support for
40+
41+
- photutils apertures
42+
- regions
43+
- improve astropy table implementation.
44+
45+
### Period of Performance
46+
The work will be completed within a year.
47+

0 commit comments

Comments
 (0)