Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: astro_metadata_translator
-
Labels:None
-
Story Points:2
-
Team:Ops Middleware
-
Urgent?:No
Description
Define a JSON serialization format for ObservationInfo and allow ObservationInfo to be constructed from the JSON.
This will require conversion of the Astropy objects to standard form since they can not be directly embedded in the JSON.
Tagged as pre-ops since it is a pre-requisite for DM-27476
Eli Rykoff would you mind looking at this please? It's a fairly small change. The biggest change is adding the per-type simplification methods that allow me to convert astropy objects to my standard JSON form.