lsst-uk / lsst-adler

Apache License 2.0
0 stars 0 forks source link

AdlerPlanetoid should also ingest from saved AdlerData #133

Open astronomerritt opened 2 months ago

astronomerritt commented 2 months ago

We need AdlerPlanetoid to also ingest the previously-calculated AdlerData values.

This likely means another dataclass.

astronomerritt commented 1 month ago

I think what would actually work best is a constructor on the AdlerData object that allows it to be populated from a SQL database by selecting the correct row. Then AdlerPlanetoid can have two attributes that are AdlerData objects - adler_data_old and adler_data_new.