Opened 17 years ago

Last modified 17 years ago

#139 closed defect

Errors while trying to load some Parkes rpf files as scantables — at Initial Version

Reported by: slbreen@… Owned by: Malte Marquarding
Priority: normal Milestone: ASAP 2.2
Component: General Version: 2.0
Severity: normal Keywords:
Cc: slbreen@…, mark.calabretta@…

Description

Some rpf files from Parkes cannot be loaded into ASAP with the command data = scantable('file.rpf')

The error that it returns of a couple of files is

Traceback (most recent call last): File "<ipython console>", line 1, in ? File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/asap/scantable.py", line 70, in init

self._fill([filename], unit, average)

File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/asap/scantable.py", line 1743, in _fill

r._read() RuntimeError: ArrayBase::Array(const IPosition&) - Negative shape

We have also tried loading the files in with commands r = reader('2008-06-20_0425-P625.rpf') data = r.read()

and get a similar error, as follows

Traceback (most recent call last):

File "<ipython console>", line 1, in ? File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/asap/asapreader.py", line 57, in read

stfiller._read(self) RuntimeError: ArrayBase::Array(const IPosition&) - Negative shape

if we then enter data = r.read() again it does it without error.

We have also loaded the data into SPC without error. I can email one of the data files if you like?

Change History (0)

Note: See TracTickets for help on using tickets.