Build: #19 failed
Job: Test Tools MPI Many Linux 2.28 Rocky 8.10 Py3.10 failed
get empty: Test case result
The below summarizes the result of the test " get empty" in build 19 of CASA - CMake MPI - Test Tools MPI Many Linux 2.28 Rocky 8.10 Py3.10.
- Description
- get empty
- Test class
- tests.tools.calanalysis.test_tool_calanalysis.calanalysis_tsys1_get
- Method
- test_get_empty
- Duration
- < 1 sec
- Status
- Failed (Existing Failure)
Error Log
RuntimeError: Table /home/casatest/casa6/casatestutils/nosedir/test_tool_calanalysis/uid___A002_X30a93d_X43e.ms.tsys.s3.tbl/ANTENNA does not exist
self = <test_tool_calanalysis.calanalysis_tsys1_get testMethod=test_get_empty>
def test_get_empty(self):
""" Test tool get function with wrong selections """
# This uses parameters in similar way as the pipeline does in tsyscal/renderer
# SPW 10 is missing
> stats10 = ca.get(spw='10', antenna=self.antennaName, axis='TIME',
ap='AMPLITUDE')
../../../casatools/tests/tools/calanalysis/test_tool_calanalysis.py:174:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../../venv/lib/python3.10/site-packages/casatools/calanalysis.py:151: in get
return self._swigobj.get(field, antenna, timerange, spw, feed, axis, ap, norm, unwrap, jumpmax)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <casatools.__casac__.calanalysis.calanalysis; proxy of <Swig Object of type 'casac::calanalysis *' at 0x7f9144772b20> >
args = ([], ['DA41', 'DA42', 'DA43', 'DV02', 'DV03', 'DV05', ...], [], '10', [], 'TIME', ...)
kwargs = {}
def get(self, *args, **kwargs):
"""
get(self, _field, _antenna, _timerange, _spw, _feed, _axis, _ap, _norm, _unwrap, _jumpmax) -> record *
Summary:
Return the calibration data.
Description:
This member function returns the calibration data.
Input Parameters:
field The python comma-delimited string or list of strings containing the field names or numbers. The default is '' (all fields).
antenna The python comma-delimited string or list of strings containing the antenna 1s and antenna 2s. The default is '' (all antenna 1s and antenna 2s).
timerange The python list of floats of length two containing the start and stop times (in MJD seconds). The default is [] (the minimum start time and the maximum stop time).
spw The python comma-delimited string containing the spectral window names and numbers along with their channel numbers. The default is '' (all spectral windows and channels).
feed The python comma-delimited string or list of strings containing the feeds. The default is '' (all feeds).
axis The python string containing the user-specified iteration axis. The allowed values are 'TIME' and 'FREQ'. The default is '' ('FREQ').
ap The python string which determines whether complex gains are converted to amplitudes or phases. The allowed values are 'AMPLITUDE' and 'PHASE'. The default is '' ('AMPLITUDE'). This parameter is ignored when the 'gain' values in the calibration table are real.
norm The python boolean which determines whether the amplitudes are normalized along each non-iteration axis. The default is False. This parameter is ignored when the 'gain' values in the calibration table are real or ap='PHASE'.
unwrap The python boolean which determines whether the phases are unwrapped along each non-iteration axis. The default is False. This parameter is ignored when the 'gain' values in the calibration table are real or ap='AMPLITUDE'.
jumpmax The python float which determines the maximum phase jump near +/- PI before unwrapping is performed. E.g., jumpmax = 0.1. The default is 0.0. It is ignored if the 'gain' values in the calibration table are real or ap = 'AMPLITUDE'. If the non-iteration axis is frequency: 1) if jumpmax == 0.0, use fringe fitting (only available when the non-iteration axis is time); 2) if jumpmax != 0.0, use simple unwrapping (same algorithm as used when the non-iteration axis is time or frequency).
Example:
# All data limited only by the spectral window and channel input
data = ca.get( spw='0:4~15,1,2:10~20' )
--------------------------------------------------------------------------------
"""
> return _calanalysis.calanalysis_get(self, *args, **kwargs)
E RuntimeError: Table /home/casatest/casa6/casatestutils/nosedir/test_tool_calanalysis/uid___A002_X30a93d_X43e.ms.tsys.s3.tbl/ANTENNA does not exist
../../../../venv/lib/python3.10/site-packages/casatools/__casac__/calanalysis.py:727: RuntimeError