#9 closed defect (fixed)
incorrect scanlen values
Reported by: | Matthew Whiting | Owned by: | Matthew Whiting |
---|---|---|---|
Priority: | major | Component: | pvoconvert: FITS access |
Version: | Keywords: | ||
Cc: |
Description
Currently, the scanlen phu header is read from the header of the blocks, which provides the requested scan length. However, if an observation is terminated prematurely, the total scan length in that file will be less than that requested, so the phu header will be wrong.
The subint column offs_sub does actually record the passing of time, and so it should be possible to extract the total time from this -- simply add half BLK_SEC to the last value of offs_sub and you'll get the total time.
Note: See
TracTickets for help on using
tickets.
This has been fixed in [89]. Needed a kludge for the PM data, as the initial block value was not being set properly (it was being updated each time the file was opened) -- this is hardwired to be 1, on the assumption that each PM file will only have one sky position.