Vcraft files had wrong sizes. We know some cards for this FRB (210407) had wrong sizes, however the current version is suppose to account for this issue.
_warnings.warn('VCRAFT file {} had unexpected size. Mode {} expected {} actual {}'.format(self.fname, self.mode, self.expected_nsamp, self.nsamps))
/fred/oz002/askap/craft/craco/craft-python/vcraft.py:110: UserWarning: VCRAFT file /fred/oz002/askap/craft/craco/processing/data/210407/frb/ak15/beam64/ak15_c4_f5.vcraft had unexpected size. Mode 2 expected 3728256 actual 2779820.0
warnings.warn('VCRAFT file {} had unexpected size. Mode {} expected {} actual {}'.format(self.fname, self.mode, self.expected_nsamp, self.nsamps))
Traceback (most recent call last):
File "/fred/oz002/askap/craft/craco/CELEBI/craco_postproc/beamform/craftcor_tab.py", line 817, in
_main()
File "/fred/oz002/askap/craft/craco/CELEBI/craco_postproc/beamform/craftcor_tab.py", line 88, in _main
ant_ics = corr.do_ics(values.an)
File "/fred/oz002/askap/craft/craco/CELEBI/craco_postproc/beamform/craftcor_tab.py", line 524, in do_ics
ant_ics = ant.do_ics(self, an)
File "/fred/oz002/askap/craft/craco/CELEBI/craco_postproc/beamform/craftcor_tab.py", line 263, in do_ics
rawd = self.vfile.read(whole_delay + corr.abs_delay, corr.nfft)
File "/fred/oz002/askap/craft/craco/craft-python/vcraft.py", line 414, in read
assert samp_start + nsamp <= self.nsamps, 'Invalid read request. nsamp={} samp_start ={} differnce{}'.format(nsamp, samp_start, nsamp-samp_start)
AssertionError: Invalid read request. nsamp=3675776 samp_start =12416 differnce3663360
Work dir:
/fred/oz002/askap/craft/craco/processing/work/210407/2a/83a02b66a3e6090a56d2dec3c1c2fb _
Vcraft files had wrong sizes. We know some cards for this FRB (210407) had wrong sizes, however the current version is suppose to account for this issue.
_warnings.warn('VCRAFT file {} had unexpected size. Mode {} expected {} actual {}'.format(self.fname, self.mode, self.expected_nsamp, self.nsamps)) /fred/oz002/askap/craft/craco/craft-python/vcraft.py:110: UserWarning: VCRAFT file /fred/oz002/askap/craft/craco/processing/data/210407/frb/ak15/beam64/ak15_c4_f5.vcraft had unexpected size. Mode 2 expected 3728256 actual 2779820.0 warnings.warn('VCRAFT file {} had unexpected size. Mode {} expected {} actual {}'.format(self.fname, self.mode, self.expected_nsamp, self.nsamps)) Traceback (most recent call last): File "/fred/oz002/askap/craft/craco/CELEBI/craco_postproc/beamform/craftcor_tab.py", line 817, in
_main()
File "/fred/oz002/askap/craft/craco/CELEBI/craco_postproc/beamform/craftcor_tab.py", line 88, in _main
ant_ics = corr.do_ics(values.an)
File "/fred/oz002/askap/craft/craco/CELEBI/craco_postproc/beamform/craftcor_tab.py", line 524, in do_ics
ant_ics = ant.do_ics(self, an)
File "/fred/oz002/askap/craft/craco/CELEBI/craco_postproc/beamform/craftcor_tab.py", line 263, in do_ics
rawd = self.vfile.read(whole_delay + corr.abs_delay, corr.nfft)
File "/fred/oz002/askap/craft/craco/craft-python/vcraft.py", line 414, in read
assert samp_start + nsamp <= self.nsamps, 'Invalid read request. nsamp={} samp_start ={} differnce{}'.format(nsamp, samp_start, nsamp-samp_start)
AssertionError: Invalid read request. nsamp=3675776 samp_start =12416 differnce3663360
Work dir: /fred/oz002/askap/craft/craco/processing/work/210407/2a/83a02b66a3e6090a56d2dec3c1c2fb _
Under investigation.