Smithsonian / sma2casa

Code to convert SMA data files into FITS-IDI files suitable for importing to CASA
3 stars 6 forks source link

smaImportFix.py fails in CASA 4.7.2 due to importfitsidi task #2

Open vilhelmp opened 7 years ago

vilhelmp commented 7 years ago

smaImportFix.py fails for importfitsidi task in CASA 4.7.2. Importfitsidi raises the following error Reading in chunk s00 (Lower) WARN FitsIDItoMS()::fillFieldTable Treating ?FLUX, ALPHA, FREQOFF, SYSVEL, and RESTFREQ columns in input SOURCE table as scalar, WARN FitsIDItoMS()::fillFieldTable+ i.e. using same value for all bands. WARN FitsIDItoMS()::readFitsFile Treating POLAA and POLAB columns in input ANTENNA table as scalar, WARN FitsIDItoMS()::readFitsFile+ i.e. using same value for all bands. SEVERE Exception Reported: Invalid Table data type when accessing column in ArrayColumn ctor for column TSYS_1 *** Error *** Invalid Table data type when accessing column in ArrayColumn ctor for column TSYS_1 SEVERE importfitsidi:::: An error occurred running task importfitsidi. ` and exits but this does not halt script, and it will instead halt when the script tries to use the presumed output filename from importfitsidi which does not exist. I just tried this in CASA 4.5.3 and it seems to work there.