Uploaded image for project: 'Data Model'
  1. Data Model
  2. DAMD-62

Change filenameFormat for pfsObject or update datamodel.txt

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      2DDRP-2019 F, 2DDRP-2019 G

      Description

      I noticed that the filename format for pfsObject (and pfsSingle and pfsReference as well) described in drp.py is

      "pfsObject-%(catId)03d-%(tract)05d-%(patch)s-%(objId)016x-%(nVisit)03d-%(pfsVisitHash)016x.fits"

      , but, according to datamodel.txt, it should be

      "pfsObject-%05d-%s-%03d-%016x-%03d-0x%016x.fits" % (tract, patch, catId, objId, nVisit % 1000, pfsVisitHash)

      (I mean the location of catId is different)

      Could tell me which one is correct?

        Attachments

          Activity

            People

            • Assignee:
              hassan hassan
              Reporter:
              kiyoto.yabe Kiyoto Yabe
              Reviewers:
              price
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: