You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 26 Next »

Note: This procedure assumes that a change has already been approved by C&A, and that a JIRA has been entered documenting the desired change. Please document JIRAs in the comments, and note when they are closed.

6/17/19 - TS - I'll be updating this page to reflect what has been done and any outstanding questions on how to proceed.  Feel free to answer any questions (marked in red) that come up if you know the answer.  Also, please add in any steps or sub-steps.   Items with (tick) by them are completed.

STGEN-165 - Getting issue details... STATUS

Implementation Process:

  1. (tick) Define the name of the columns
  2. (tick) Update File Format Document & Interface Control Document.
  3. (tick) Implement the new columns in fitsGen, which means adding them to the template FT2 file: https://github.com/fermi-lat/fitsGen/blob/master/data/ft2.tpl
  4. (tick) Change the ft2 code. to get the velocities from the magic7 and save them in the new columns
    1. (tick) Create pipeline tasks to reprocess the FT2 data
    2. (tick) Create pipeline tasks to properly apply the Bad Time interval data.
  5. (tick) Test everything end-to-end with a sample of the new ft2 files. (by this I mean the pulsar software)
    1. (tick) Use the code to reprocess 1-2 weeks of data for testing.
      1. we reprocessed a two-week chunk of data from runs 545208791 to 546407418.  This included several files with BTI data in the database
      2. more files were reprocessed with the P310 task(s). This includes a variety of cases for BTIs and a selection of different DATA_QUALs.
    2. (tick) Check to make sure the velocities are being copied correctly from the magic7 packets and that they make sense based on the change in coordinates - Don/Tom.
    3. (tick) Ingest files at FSSC - Don/Alex
    4. (tick) Verify that the BTI data is correct - ME/Tom/Simone
    5. (tick) Test with Pulsar Tools - Dave Smith 
    6. (tick) Non-pulsar tests - Joe Eggen.
    7. (tick) Check with the C& A group. Don brought it up at the 6/24 C&A group meeting. No one raised any issues (or volunteered to do any testing).
    8. (tick) Check with other mission elements. Don checked with Michelle Hui at the GIOC that the change won't affect them.
    9. (tick) Paul Ray checked the files against the velocities computed by PINT and found good agreement.
  6. Fix all the runs that need repiping (Runs to be rePiped and reprocessed): still in progress.
  7. (tick) Obtain a new GlastRelease:
    1. JIRA issue for the new GR:  LPATE-198 - Getting issue details... STATUS
    2. We also need to update the spacecraft's geoposition ( GRINF-76 - Getting issue details... STATUS ). A new version of the astro package is included in the new GR.
  8. Remake the P310 tasks
  9. Re-reprocess a selection of files to verify that the geo lattitude and longitude are properly created (Toby will do this).
    1. Repeat the checks in item 5. above (spot-checks are probably fine).
  10. Reprocess the FT2 files (Usually done in two steps. Initial reprocess & backfill):
    1. Pick an end date/time for the reprocessing window, once we all agree that we are ready to go. 
    2. Create a list of runs for reprocessing and BTI flagging from the datacatalog. Validate against the list at the FSSC server.
    3. Install the reprocessing tasks in the PROD pipeline.
    4. The reprocessing step will be putting them into /Data/Flight/Reprocess/P310.
    5. FSSC will pick them up from xrootd for ingestion directly.
    6. The reprocessing will take ~1 month.
  11. Transfer the files to the FSSC and ingest them into the FSSC's data server.
    1. Wilko has setup a proxy server so Don can copy the files directly from xroot.
    2. Alex estimates the ingest may take ~1 week.
    3. This may be able to take place in parallel with the reprocessing by transferring batches as they are reprocessed.
  12. Create a new version of the L1Proc, rePipeL1 and Flag FT2 tasks.
    1. Test them meaningfully on DEV.
    2. Get CCB approval to make the change operational.
  13. Coordinate a switchover date between ISOC and FSSC.
  14. Switch to the new L1 task(s).  Note: backfill and switch must be coordinated and timed together.
  15. Switch the data server to use the new files.  The FSSC has an internal wiki page on the steps for this.

DataCatalog Commands:

datacat find --sort nRun --filter 'nRun>=239557414 && nRun<=585049107' --group FT2 /Data/Flight/Level1/LPA > P310_FT2_bulk.txt

To be updated with a newer upper range run when the cutoff date is chosen.

 

 

 

  • No labels