Closed maxnoe closed 5 years ago
Happens e.g. for file 20131011_222.fits.fz
It's not the file, I checked with https://github.com/fact-project/zfits
From https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html#asShortBuffer
The content of the new buffer will start at this buffer's current position. Changes to this buffer's content will be visible in the new buffer, and vice versa; the two buffers' position, limit, and mark values will be independent.
So the buffer does not get advanced.
fixed in #390
Now I came to see that this also affected StartCellData
, so all our DRS calibrations also must have been wrong since that change was made.
So this should affect all files with ZTILELEN
> 1
Now I came to see that this also affected StartCellData, so all our DRS calibrations also must have been wrong since that change was made.
Was this not realized, since the data in the fits files are already DRS-amplitude calibrated a little bit, and then applying a wrong DRS-calibration is not so easily visible anymore?
But still. Does this mean, the currently running analysis should better be restarted?
Was this not realized, since the data in the fits files are already DRS-amplitude calibrated a little bit, and then applying a wrong DRS-calibration is not so easily visible anymore?
But still. Does this mean, the currently running analysis should better be restarted?
I jsut checked the ZTILELEN
of the files at ISDC, only files from 2013 until mid October have ZTILELEN == 100
, after that, most have ZTILELEN == 1
, a few have small integer numbers.
This is probably why it never was realized. Only files before 2013-10-22 are affected heavily. All other files are ZTILELEN == 1, 2, 3
, so not or only not as badly affected.
When reading zfits files, 100 consecutive events have the same
UnixTimeUTC
andBoardTime
.This smells like a bug related to zfits tiles.