latis-data / latis3

Apache License 2.0
8 stars 1 forks source link

Explore the FITS data model and API and map to functional data model and algebra #155

Open dlindhol opened 3 years ago

dlindhol commented 3 years ago

We will use this information (in a new issue) to create an Adapter with an abstraction layer for reading data from FITS files. We will want to push down some Operations to the native API if it supports it.

dlindhol commented 3 years ago

From @lindholc

Here’s a service Rob Norris and the Gemini Observatory folks put together to make mosaic images using FITS files: https://github.com/gemini-hlsw/gsp-montage

They have abstract representations of the parts of FITS files they care about: https://github.com/gemini-hlsw/gsp-montage/blob/master/modules/core/src/main/scala/data/Table.scala

And they break their concerns (running external processes, fetching data, caching mosaics, etc.) into algebras: https://github.com/gemini-hlsw/gsp-montage/tree/master/modules/core/src/main/scala/algebra