Opened 17 years ago
Last modified 14 years ago
#111 assigned enhancement
writing to SDFITS fails if data are pol averaged
Reported by: | Owned by: | Malte Marquarding | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | General | Version: | 2.0 |
Severity: | normal | Keywords: | sdfits, export |
Cc: | herpin@… |
Description
using data /DATA/KAPUTAR_3/mopra/MOPSarchive/2007-06-25_2212-M232.rpf with these steps:
s=scantable(fileinname) q=s.auto_quotient() tav=q.average_time(weight='tsys') polav=tav.average_pol() polav.set_unit('MHz') plotter.plot(tav) polav.save('NMLTAU2007-06-25_2212','SDFITS')
generates: Traceback (most recent call last):
File "<console>", line 1, in ? File "reduction.py", line 42, in ?
polav.save('NMLTAU2007-06-25_2212','SDFITS')
File "/usr/local/lib/python2.3/site-packages/asap/scantable.py", line 120, in save
writer.write(self, name)
RuntimeError: poltype = stokes not yet supported in output.
The error isn't produced if the average_pol step is omitted.
Change History (2)
comment:1 by , 17 years ago
Cc: | added |
---|---|
Keywords: | sdfits export added |
Owner: | changed from | to
Status: | new → assigned |
Type: | defect → enhancement |
comment:2 by , 14 years ago
Milestone: | ASAP 2.2 |
---|
As the "error" states it is a feature (Stokes export) which is currently not supported.
averaging "XX" and "YY" will create Stokes I, which is what you would expect.
So I will file this as an enhancement request.