Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Reason for change

This version (FastMon-05-03-03) fixes a bug in the FastMon package in how we parse the date from the M7 files and cast it to a float to be passed to the IGRF package (to initialize the Geomagnetic model).
The detailed description of the changes is in the last section.

Test Procedure

We have read through the new tag of the package one of the offending M7 files

/nfs/farm/g/glast/u28/stage/141201003/magic7_141201003.txt

and verified that the output is now correct.

Rollback procedure

The package can be rolled back to the previous version.

CCB Jira

SSC-386@JIRA

Details (release notes for FastMon-05-03-03)

Bug fix in the way we calculate the (floating point year-equivalent) of the date and time in the M7 file to be passed to the IGRF package to initialize the Geomagnetic field model. Essentially the patch changes the old implementation

yearfloat = year + month/12.

to

yearfloat = year + (month - 1)/12. + (day - 1)/365.

Relevant thread(s):

https://www-glast.stanford.edu/protected/mail/opsprob/8065.html