Opened 17 years ago

Closed 17 years ago

#99 closed defect (fixed)

scantable.convert_flux does not work for unkown telescope

Reported by: ttsutsum@… Owned by: Malte Marquarding
Priority: normal Milestone: ASAP 2.1
Component: General Version: 2.0
Severity: normal Keywords:
Cc:

Description

Hi Malte,

Steve Myers reported the following error. Is this a bug? It seems to me it should work for GBT if the eta and d are given.

Tak

The messages from Steve follows: ---

I can't get scantable_convert_flux to work on GBT data, even if I give it eta and d, e.g.

s.convert_flux(eta=0.43,d=104.9)

which gives /home/ballista/casa/daily/linux_gnu/python/2.5/asap/scantable.py in convert_flux(self, jyperk, eta, d, insitu)

952 if d is None: d = -1.0 953 if eta is None: eta = -1.0

--> 954 s = scantable(self._math._convertflux(self, d, eta, jyperk))

955 s._add_history("convert_flux", varlist) 956 print_log()

<type 'exceptions.RuntimeError?'>: Unrecognized instrument - use function scan.set_instrument to set

even though the manual says this is the way to do unrecognized instruments.

Change History (1)

comment:1 Changed 17 years ago by Malte Marquarding

Resolution: fixed
Status: newclosed

Fixed in trunk.

Note: See TracTickets for help on using tickets.