Pull request #850: CAS-14218
Merge in CASA/casa6 from CAS-14218 to master
* commit '76a73df42bbb7c827c85845db494af4ee088e64f':
remove reference to almatasks in casatestutils. Update component_to_test_map.json for wvrgcal ( update almatasks to casatasks ) CAS-14218: introduced new parameter "rseed" (random seed) in the user interface of task wvrgcal and the tool method wvr.gcal(). Default value 0 (zero) means that internally the original seed value of 43 is used. CAS-14218: made changes to remove "almatasks" and Python 2 compatibility CAS-14218: mostly re-coded the method loadCSV. The "almatasks" version had used boost heavily and my first refactoring was not good. Now using sstream. CAS-14218: increased the CPARAM phase angle comparison tolerance in unit test case test11 by factor 2 in order to accommodate differences between Linux and MacOS. CAS-14218: Fixed bug in method ALMAAbsProcessor(). The list of pointers to ALMAResBase objects wasn't properly iterated. (Only had an impact when nsol>1). Updated wvrgcal task unit test to partially use new reference caltables created in CAS-14294. CAS-14218: fixed bug in the handling of the "reversespw" parameter of the wvrgcal task script (introduced during the refactoring) CAS-14218: fixed an old bug in the time interpolation of the dtdl coefficients. The interpolation formula was multiplying the previous and the next (in time) coefficent with swapped factors.
Make air_casawvr dependency on synthesis PRIVATE CAS-14218: task return dictionary now also contains a list "Frac_unflagged" which contains the fraction of unflagged WVR datapoints per antenna. Updated unit test to exercise this new feature.
Fix air_casawvr linking CAS-14218: First completely running version with proper logging and return dict. CAS-14218: fixed a segfault and improved error handling. The task unit test completes now but still fails. The return dictionary is not yet filled correctly. CAS-14218: eliminated a memory allocation error (which occured in the context of replacing boost::const_multi_array_ref by what is available in C++11 and casacore) CAS-14218: removed/modified all references to "almatasks" to take into account that wvrgcal is now a normal task in casatasks. Created the task unit test test_task_wvrgcal.py from the old casa5 version. It does not pass, yet. wvr.gcal() still needs to be debugged. CAS-14218: first CASA6 version of the wvrgcal task - built but not yet tested CAS-14218: disabled the use (and compilation) of the pda_lmdif__() function code which is F77 and was also disabled in the original wvrgcal bnmin1 code. It was just accidentally enabled during refactoring. CAS-14218: first version with the new "wvr" tool. This version builds but has not been tested otherwise. CAS-14218: code copied over from branch prelim_wvrgcal2. This is the first version of the refactored code for the air_casawvr and bnmin1 libraries which builds without errors. No testing done, yet.
Pull request #852: CAS-14299
Merge in CASA/casa6 from CAS-14299 to master
* commit '0f39801df00b47a55bf6010cbe69a2cc549a0106':
relaxed UVW checks to fewer digits after the decimal point, reflects observed differences with small UT1-UTC differences triggered by these tests and how TableMeas::dUT1 works. CAS-14299/CAS-14361.
fixed a typo in one of the shortdescriptions in importasdm.xml
polyephem_tabtimestep long documentation edited to have similar line lengths to other parameter documentation CAS-14299, removed orphaned, confusing code from asdm2MS and clarified behavior of polyephem_tabtimestep when the default value was used, behaves as import2asdm did in casa5 for EVLA and ALMA
Pull request #853: CAS-14411
Merge in CASA/casa6 from CAS-14411 to master
* commit '2e6f18b82707751eb96186e771c5166d6b4fb677':
assertRaisesRegexp to assertRaisesRegex
with python 3.12 the "PyObject_HEAD_INIT(&PyType_Type)" idiom for creating a type object no longer works [CAS-14411]
Pull request #851: CAS-14007
Merge in CASA/casa6 from CAS-14007 to master
* commit '378e9c95b5121e7ea19d5930a1b1ee1622df86be':
the ASDM ds and stream reader is now closed explicitly including on caught exceptions CAS-14007 : fillMainLazily needs try/except block for the new exxception, fixed some typos, re-exposed an info output line summarizing each Main row fill, added cmments related to this bug for future debuggers CAS-14007, throw exception when rows would exceed maximum uint32 value, use rowptr_t and size_t throughout as appropriate