Opened 19 years ago

Closed 18 years ago

#39 closed defect (wontfix)

reports illegal unit string for using scantable on multiple files - and a request.

Reported by: Erik M. Owned by: Malte Marquarding
Priority: normal Milestone: ASAP2 beta release
Component: General Version: 2.0
Severity: normal Keywords:
Cc: erik.muller@…

Description

ASAP> s=scantable("../Data_MPCOR/2006-05-03_2100-M136.rpf","../Data_MPCOR/2006-05-03_2348-M136.rpf","../Data_MPCOR/2006-05-04_0524-M136.rpf") Auto averaging integrations Importing ../Data_MPCOR/2006-05-03_2100-M136.rpf...


Traceback (most recent call last):

File "<console>", line 1, in ? File "/usr/local/lib/python2.3/site-packages/asap/scantable.py", line 66, in init

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

File "/usr/local/lib/python2.3/site-packages/asap/scantable.py", line 1510, in _fill

self.set_fluxunit(unit)

RuntimeError: Unit::check Illegal unit string '../Data_MPCOR/2006-05-04_0524-M136.rpf'


The file "../Data_MPCOR/2006-05-04_0524-M136.rpf" contains ok data, I can run scantable on it separately, with success.


I'm not sure of the best way to load in multiple files. At the moment, there is a problem with averaging multiple scans together so I'm using scantable. depending on the limitations, I'd suggest that having a limit of only 4 files is not very useful for those needing to average many files together. I have >10 files that I need to avaerage together, for example.

Change History (2)

comment:1 by Malte Marquarding, 18 years ago

Cc: erik.muller@… added
Status: newassigned

scantable needs either one filname string "abc.rpf", or a list of filenames ["abc.rpf", "def.rpf"] This could be documented a little better.

comment:2 by Malte Marquarding, 18 years ago

Resolution: wontfix
Status: assignedclosed

I close this now.

Note: See TracTickets for help on using tickets.