Build: #18 failed
Job: Test Tools MPI Many Linux 2.28 Rocky 8.10 Py3.10 failed
statistics: Test case result
The below summarizes the result of the test " statistics" in build 18 of CASA - CMake MPI - Test Tools MPI Many Linux 2.28 Rocky 8.10 Py3.10.
- Description
- statistics
- Test class
- tests.tools.ms.test_tool_ms.mstool_test_summary
- Method
- test_statistics
- Duration
- < 1 sec
- Status
- Failed (New Failure)
Error Log
RuntimeError: FiledesIO: file /home/casatest/casa6/casatestutils/nosedir/test_tool_ms/ngc5921.ms/OBSERVATION/table.f0 could not be opened: No such file or directory
self = <test_tool_ms.mstool_test_summary testMethod=test_statistics>
def test_statistics(self):
"""test ms.statistics"""
# Returns record (python dict)
> stats = self.ms.statistics(column="DATA", complex_value='amp', field="2")
../../../casatools/tests/tools/ms/test_tool_ms.py:266:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../../venv/lib/python3.10/site-packages/casatools/ms.py:642: in statistics
return self._swigobj.statistics(column, complex_value, useflags, useweights, spw, field, baseline, uvrange, time, correlation, scan, intent, array, obs, reportingaxes, timeaverage, timebin, timespan, maxuvwdistance, doquantiles)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <casatools.__casac__.ms.ms; proxy of <Swig Object of type 'casac::ms *' at 0x7f955b12db30> >
args = ('DATA', 'amp', True, False, '', '2', ...), kwargs = {}
def statistics(self, *args, **kwargs):
"""
statistics(self, _column, _complex_value, _useflags, _useweights, _spw, _field, _baseline, _uvrange, _time, _correlation, _scan, _intent, _array, _obs, _reportingaxes, _timeaverage, _timebin, _timespan, _maxuvwdistance, _doquantiles) -> record *
Summary:
Get statistics on the selected measurement set
Description:
This function computes descriptive statistics on the measurement
set. It returns the statistical values as a python dictionary. The
given column name must be a numerical column. If it is a complex
valued column, the parameter complex_value defines which derived
real value is used for the statistics computation.
Input Parameters:
column Column name
complex_value Which derived value to use for complex columns (amp, amplitude, phase, imag, real, imaginary)
useflags Use the data flags.
useweights Use the data weights.
spw Spectral Window Indices or names. Example : '1,2'
field Field indices or source names. Example : '2,3C48'
baseline Baseline number(s). Example: '2&3;4&5'
uvrange UV-distance range, with a unit. Example : '2.0-3000.0 m'
time Time range, as MJDs or date strings. Example : 'xx.x.x.x.x~yy.y.y.y.y'
correlation Correlations/polarizations. Example : 'RR,LL,RL,LR,XX,YY,XY,YX'
scan Scan number. Example : '1,2,3'
intent Scan intents. Example : '*AMPL*,*PHASE*'
array Array Indices or names. Example : 'VLAA'
obs Observation ID(s). Examples : '' or '1~3'
reportingaxes Statistics reporting axes. Example: 'ddid,field'
timeaverage Average data in time.
timebin Time averaging interval.
timespan Boundaries to ignore in time averaging. Example: 'scan,state'
maxuvwdistance Maximum separation of start-to-end baselines that can be included in an average. (meters)
doquantiles If False, quantile-like statistics are not computed. These include the first and third quartiles, the median, and the median of the absolute deviation from the median.
Example:
ms.open('3C273XC1.MS')
ms.statistics(column='DATA', complex_value='amp', field='2')
--------------------------------------------------------------------------------
"""
> return _ms.ms_statistics(self, *args, **kwargs)
E RuntimeError: FiledesIO: file /home/casatest/casa6/casatestutils/nosedir/test_tool_ms/ngc5921.ms/OBSERVATION/table.f0 could not be opened: No such file or directory
../../../../venv/lib/python3.10/site-packages/casatools/__casac__/ms.py:1681: RuntimeError