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

PfsObject filename format: change nVisit component from %02d to %03d

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Labels:
      None
    • Story Points:
      1

      Description

      Currently the component of the filename for pfsObject s storing the number of visits for a given object is limited to 100 visits (0-99):

           "pfsObject-%05d-%s-%3d-%08x-%02d-0x%08x.fits" % (tract, patch, catId, objId, nVisit % 100, pfsVisitHash)
      

      This will probably not be exceeded, but just in case it's safer to increase that to 1000 visits (so %03d format.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hassan hassan
                Reporter:
                hassan hassan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: