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
    • 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

          ejoliet Emmanuel Joliet created issue -
          ejoliet Emmanuel Joliet made changes -
          Field Original Value New Value
          Epic Link DM-7227 [ 26309 ]
          wmi Wei Mi made changes -
          Status To Do [ 10001 ] In Progress [ 3 ]
          ejoliet Emmanuel Joliet made changes -
          Link This issue blocks DM-8627 [ DM-8627 ]
          ejoliet Emmanuel Joliet made changes -
          Link This issue blocks DM-8627 [ DM-8627 ]
          xiuqin Xiuqin Wu [X] (Inactive) made changes -
          Labels Firefly Firefly FireflyCCB
          ejoliet Emmanuel Joliet made changes -
          Resolution Done [ 10000 ]
          Status In Progress [ 3 ] Done [ 10002 ]

            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