Uploaded image for project: 'SAFe Program'
  1. SAFe Program
  2. SP-3911

Enable astroquery.ska prototype to support multiple data formats

Change Owns to Parent OfsSet start and due date...
    XporterXMLWordPrintable

Details

    • SRCnet
    • Hide

      BH: Operations on data could be defined to integrate remote operations. This will be particularly important to prevent data latency for certain formats (e.g data cubes)

      Show
      BH: Operations on data could be defined to integrate remote operations. This will be particularly important to prevent data latency for certain formats (e.g data cubes)
    • Hide

      AC1: Add properly the formats astroquery.srcnet submodule and integrate SODA calls following a factory pattern

      AC2: Add methods documentation into the astroquery.srcnet sphynx pages

      Show
      AC1: Add properly the formats astroquery.srcnet submodule and integrate SODA calls following a factory pattern AC2: Add methods documentation into the astroquery.srcnet sphynx pages
    • Inter Program
    • 0.5
    • 0.5
    • 0
    • PI23 - UNCOVERED

    • PI21-PB service-integration

    Description

      Now that we have a basic version of the astroquery.srcnet (https://gitlab.com/ska-telescope/src/src-service-apis/ska-src-astroquery) , it could be expanded to define extra functionality navigating datalink.

      This could be done by creating a factory to create the formats:

      astroquery.ska.formats.formatFactory

      Once this is done, users can create a specific instantiation of a class per data type, for example

      import astroquery.ska.formats.formatFactory as SKAFormatFactory

      import.astroquery.ska.formats.*

      if(SKAFormatFactory.isCube(<identifier>))

            cube = SKAFormatFactory.getCube(<identifier>)

      This class (cube as one example cube, image, spectra, visibility, etc) will have some features provided in the interface for this particular data type and described in the data link, for example:

      subcube = cube.SodaQuery(circle=12 34 0.5, range=None, polygon=None, band=None, **kwargs)

      (which could invoke internally pyvo.sodaquery)

      Once one format is added as an example, new methods could be added later for cube or other formats)

      Important: The code signature suggested is just to express the idea so it could be changed if there are implementation reasons that justify it

      Attachments

        Issue Links

          Structure

            Activity

              People

                r.bolton Bolton, Rosie
                Jesus.Salgado Salgado, Jesus
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Feature Progress

                  Story Point Burn-up: (0%)

                  Feature Estimate: 0.5

                  IssuesStory Points
                  To Do00.0
                  In Progress   00.0
                  Complete00.0
                  Total00.0

                  Dates

                    Created:
                    Updated:

                    Structure Helper Panel