Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-8697

Atlas is using incorrectly the API function for displaying cutout image

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: IRSA
    • Templates:
    • Epic Link:
    • Sprint:
      SUIT Sprint 2016-12
    • Team:
      Science User Interface

      Description

      While testing Atlas with cutouts images, such as found in a search from COSMOS dataset for example, the image failed to display in IRSAViewer.

      To reproduce the problem, go to COSMOS and do a search:

      http://hades1.ipac.caltech.edu/data/COSMOS/

      The result page uses the API to externally show cutout (and entire image) through IRSAVIewer calling for example - one of the row -

      javascript:extViewer.showImageFileOrUrl("http://irsatest.ipac.caltech.edu/cgi-bin/Subimage/nph-subimage?origfile=/irsadata/COSMOS//images%2Facs_2.0%2FI%2Facs_I_100056%2B0233_unrot_sci_20.fits&ra=150.239830&dec=2.562830&xsize=0.200000")
      

      Seems that this function in the new Firefly API is expecting 2 parameters and and not one.
      The first one is the location of the file locally and second one is the URL. Please check. The function si defined here ApiViewer.js:118

      the function should probably be called like:

      javascript:extViewer.showImageFileOrUrl(null, ".........");
      

      Please, fix asap in ATLAS master branch.
      Once done, ask Walter/Loi Ly to rebuild and notify testing team.

        Attachments

          Activity

            People

            • Assignee:
              wmi Wei Mi
              Reporter:
              ejoliet Emmanuel Joliet
              Watchers:
              Emmanuel Joliet, Loi Ly, Trey Roby, Wei Mi, Xiuqin Wu [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel