Build: #133 was successful
Job: Build and Package RHEL6 was successful
Build log
The build generated 1,389 lines of output.The output is too long and has been truncated to the last 1,000 lines. Download or view full build log.
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/task_imdev.py -> build/lib/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/task_immath.py -> build/lib/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/task_sdfixscan.py -> build/lib/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/task_uvcontsub.py -> build/lib/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/task_gencal.py -> build/lib/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/task_imhistory.py -> build/lib/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/task_sdimaging.py -> build/lib/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/task_rerefant.py -> build/lib/casatasks/private |
23-Aug-2019 12:49:14 | creating build/lib/casatasks/private/parallel |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/parallel/parallel_task_helper.py -> build/lib/casatasks/private/parallel |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/parallel/parallel_data_helper.py -> build/lib/casatasks/private/parallel |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/parallel/rflag_post_proc.py -> build/lib/casatasks/private/parallel |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/parallel/__init__.py -> build/lib/casatasks/private/parallel |
23-Aug-2019 12:49:14 | creating build/lib/casatasks/private/imagerhelpers |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers/imager_parallel_cube.py -> build/lib/casatasks/private/imagerhelpers |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers/__init__.py -> build/lib/casatasks/private/imagerhelpers |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers/parallel_imager_helper.py -> build/lib/casatasks/private/imagerhelpers |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers/imager_parallel_deconvolver.py -> build/lib/casatasks/private/imagerhelpers |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers/input_parameters.py -> build/lib/casatasks/private/imagerhelpers |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers/imager_parallel_continuum.py -> build/lib/casatasks/private/imagerhelpers |
23-Aug-2019 12:49:14 | copying build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers/imager_base.py -> build/lib/casatasks/private/imagerhelpers |
23-Aug-2019 12:49:14 | creating build/bdist.linux-x86_64 |
23-Aug-2019 12:49:14 | creating build/bdist.linux-x86_64/wheel |
23-Aug-2019 12:49:14 | creating build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/setjy.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/rerefant.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/cvel.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/imregrid.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/sdimaging.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/polfromgain.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/blcal.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/rmfit.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/predictcomp.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/virtualconcat.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/uvmodelfit.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/spxfit.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/sdfixscan.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/fixplanets.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/imreframe.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/importmiriad.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/mstransform.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/imrebin.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/specsmooth.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | creating build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_fixplanets.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_accum.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_uvmodelfit.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_imsubimage.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_importvla.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/JPLephem_reader2.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_sdfit.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_applycal.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_imcollapse.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_imval.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_feather.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_listhistory.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_listpartition.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_fluxscale.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_tclean.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/vishead_util.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_listfits.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_mstransform.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_asdmsummary.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_importfitsidi.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_clearstat.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_sdbaseline.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_listobs.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_uvsub.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_imhead.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_simobserve.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/setjy_helper.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_importgmrt.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_statwt.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_vishead.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_cvel2.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/convertephem.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_importnro.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_split.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_calstat.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/sdbeamutil.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_imstat.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_cvel.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_splattotable.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/correct_ant_posns.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_listcal.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/flaghelper.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/userconfig.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_spxfit.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_flagcmd.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_flagdata.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_importatca.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_importmiriad.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/correct_ant_posns_alma.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/cleanhelper.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_flagmanager.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_imreframe.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_setjy.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_virtualconcat.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_importasap.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_ft.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/casa_transition.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_visstat.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_impv.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_imrebin.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_slsearch.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_specsmooth.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_listvis.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_hanningsmooth.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | creating build/bdist.linux-x86_64/wheel/casatasks/private/parallel |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/parallel/parallel_task_helper.py -> build/bdist.linux-x86_64/wheel/casatasks/private/parallel |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/parallel/parallel_data_helper.py -> build/bdist.linux-x86_64/wheel/casatasks/private/parallel |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/parallel/rflag_post_proc.py -> build/bdist.linux-x86_64/wheel/casatasks/private/parallel |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/parallel/__init__.py -> build/bdist.linux-x86_64/wheel/casatasks/private/parallel |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_sdgaincal.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_initweights.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_blcal.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_simanalyze.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_importfits.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_partition.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_imfit.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_sdsmooth.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_importuvfits.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_gaincal.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_widebandpbcor.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_concat.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_immoments.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_clearcal.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_conjugatevis.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/solar_system_setjy.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_polcal.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_impbcor.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_imsmooth.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/mstools.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_rmtables.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_predictcomp.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_listsdm.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/sdutil.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/partitionhelper.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_importasdm.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_simalma.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_imregrid.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/ialib.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_sdcal.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_delmod.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | creating build/bdist.linux-x86_64/wheel/casatasks/private/imagerhelpers |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/imagerhelpers/imager_parallel_cube.py -> build/bdist.linux-x86_64/wheel/casatasks/private/imagerhelpers |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/imagerhelpers/__init__.py -> build/bdist.linux-x86_64/wheel/casatasks/private/imagerhelpers |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/imagerhelpers/parallel_imager_helper.py -> build/bdist.linux-x86_64/wheel/casatasks/private/imagerhelpers |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/imagerhelpers/imager_parallel_deconvolver.py -> build/bdist.linux-x86_64/wheel/casatasks/private/imagerhelpers |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/imagerhelpers/input_parameters.py -> build/bdist.linux-x86_64/wheel/casatasks/private/imagerhelpers |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/imagerhelpers/imager_parallel_continuum.py -> build/bdist.linux-x86_64/wheel/casatasks/private/imagerhelpers |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/imagerhelpers/imager_base.py -> build/bdist.linux-x86_64/wheel/casatasks/private/imagerhelpers |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_exportuvfits.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_bandpass.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_makemask.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/callibrary.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/imtools.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_exportasdm.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_polfromgain.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_specfit.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/concatephem.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/predictcomp_helper.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/correct_ant_posns_evla.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/update_spw.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_exportfits.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_smoothcal.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/simutil.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_imtrans.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_fixvis.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_specflux.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_rmfit.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/cvt.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_accor.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_imcontsub.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_imdev.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_immath.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_sdfixscan.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_uvcontsub.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_gencal.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_imhistory.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_sdimaging.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/private/task_rerefant.py -> build/bdist.linux-x86_64/wheel/casatasks/private |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/delmod.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/widebandpbcor.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/visstat.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/hanningsmooth.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/importvla.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/tclean.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/listcal.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/cvel2.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/listpartition.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/exportfits.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/sdsmooth.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/asdmsummary.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/clearcal.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/rmtables.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/clearstat.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/partition.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/imtrans.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/flagcmd.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/importfitsidi.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/fixvis.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/imval.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/importnro.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/sdcal.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/importasdm.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/smoothcal.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/sdgaincal.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/accum.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/__init__.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/listhistory.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/importgmrt.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/gaincal.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/immath.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/bandpass.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/simanalyze.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/specflux.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/applycal.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/sdbaseline.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/importuvfits.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/listobs.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/imstat.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/listsdm.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/immoments.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/importasap.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/uvcontsub.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/exportasdm.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/fluxscale.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/gencal.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/imcollapse.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/config.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/imcontsub.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/vishead.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/calstat.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/imdev.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/feather.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/specfit.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/uvsub.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/ft.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/initweights.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/listfits.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/imsubimage.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/simalma.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/impv.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/split.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/polcal.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/conjugatevis.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/flagdata.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/slsearch.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/imfit.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/flagmanager.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/simobserve.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/makemask.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/exportuvfits.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/sdfit.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/importatca.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/splattotable.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/accor.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/impbcor.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/importfits.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/listvis.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/imsmooth.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/imhistory.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/concat.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/statwt.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | copying build/lib/casatasks/imhead.py -> build/bdist.linux-x86_64/wheel/casatasks |
23-Aug-2019 12:49:14 | running install_egg_info |
23-Aug-2019 12:49:14 | running egg_info |
23-Aug-2019 12:49:14 | creating casatasks.egg-info |
23-Aug-2019 12:49:14 | writing casatasks.egg-info/PKG-INFO |
23-Aug-2019 12:49:14 | writing dependency_links to casatasks.egg-info/dependency_links.txt |
23-Aug-2019 12:49:14 | writing requirements to casatasks.egg-info/requires.txt |
23-Aug-2019 12:49:14 | writing top-level names to casatasks.egg-info/top_level.txt |
23-Aug-2019 12:49:14 | writing manifest file 'casatasks.egg-info/SOURCES.txt' |
23-Aug-2019 12:49:14 | reading manifest file 'casatasks.egg-info/SOURCES.txt' |
23-Aug-2019 12:49:14 | writing manifest file 'casatasks.egg-info/SOURCES.txt' |
23-Aug-2019 12:49:14 | Copying casatasks.egg-info to build/bdist.linux-x86_64/wheel/casatasks-2019.137-py3.6.egg-info |
23-Aug-2019 12:49:14 | running install_scripts |
23-Aug-2019 12:49:14 | creating build/bdist.linux-x86_64/wheel/casatasks-2019.137.dist-info/WHEEL |
23-Aug-2019 12:49:14 | creating 'dist/casatasks-2019.137-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it |
23-Aug-2019 12:49:14 | adding 'casatasks/__init__.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/accor.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/accum.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/applycal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/asdmsummary.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/bandpass.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/blcal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/calstat.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/clearcal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/clearstat.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/concat.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/config.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/conjugatevis.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/cvel.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/cvel2.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/delmod.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/exportasdm.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/exportfits.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/exportuvfits.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/feather.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/fixplanets.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/fixvis.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/flagcmd.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/flagdata.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/flagmanager.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/fluxscale.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/ft.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/gaincal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/gencal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/hanningsmooth.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/imcollapse.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/imcontsub.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/imdev.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/imfit.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/imhead.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/imhistory.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/immath.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/immoments.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/impbcor.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/importasap.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/importasdm.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/importatca.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/importfits.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/importfitsidi.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/importgmrt.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/importmiriad.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/importnro.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/importuvfits.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/importvla.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/impv.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/imrebin.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/imreframe.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/imregrid.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/imsmooth.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/imstat.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/imsubimage.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/imtrans.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/imval.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/initweights.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/listcal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/listfits.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/listhistory.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/listobs.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/listpartition.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/listsdm.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/listvis.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/makemask.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/mstransform.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/partition.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/polcal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/polfromgain.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/predictcomp.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/rerefant.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/rmfit.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/rmtables.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/sdbaseline.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/sdcal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/sdfit.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/sdfixscan.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/sdgaincal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/sdimaging.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/sdsmooth.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/setjy.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/simalma.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/simanalyze.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/simobserve.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/slsearch.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/smoothcal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/specfit.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/specflux.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/specsmooth.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/splattotable.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/split.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/spxfit.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/statwt.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/tclean.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/uvcontsub.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/uvmodelfit.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/uvsub.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/virtualconcat.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/vishead.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/visstat.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/widebandpbcor.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/JPLephem_reader2.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/callibrary.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/casa_transition.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/cleanhelper.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/concatephem.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/convertephem.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/correct_ant_posns.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/correct_ant_posns_alma.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/correct_ant_posns_evla.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/cvt.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/flaghelper.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/ialib.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/imtools.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/mstools.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/partitionhelper.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/predictcomp_helper.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/sdbeamutil.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/sdutil.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/setjy_helper.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/simutil.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/solar_system_setjy.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_accor.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_accum.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_applycal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_asdmsummary.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_bandpass.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_blcal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_calstat.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_clearcal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_clearstat.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_concat.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_conjugatevis.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_cvel.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_cvel2.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_delmod.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_exportasdm.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_exportfits.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_exportuvfits.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_feather.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_fixplanets.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_fixvis.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_flagcmd.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_flagdata.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_flagmanager.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_fluxscale.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_ft.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_gaincal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_gencal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_hanningsmooth.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_imcollapse.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_imcontsub.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_imdev.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_imfit.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_imhead.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_imhistory.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_immath.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_immoments.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_impbcor.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_importasap.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_importasdm.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_importatca.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_importfits.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_importfitsidi.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_importgmrt.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_importmiriad.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_importnro.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_importuvfits.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_importvla.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_impv.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_imrebin.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_imreframe.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_imregrid.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_imsmooth.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_imstat.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_imsubimage.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_imtrans.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_imval.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_initweights.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_listcal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_listfits.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_listhistory.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_listobs.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_listpartition.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_listsdm.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_listvis.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_makemask.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_mstransform.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_partition.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_polcal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_polfromgain.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_predictcomp.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_rerefant.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_rmfit.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_rmtables.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_sdbaseline.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_sdcal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_sdfit.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_sdfixscan.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_sdgaincal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_sdimaging.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_sdsmooth.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_setjy.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_simalma.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_simanalyze.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_simobserve.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_slsearch.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_smoothcal.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_specfit.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_specflux.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_specsmooth.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_splattotable.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_split.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_spxfit.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_statwt.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_tclean.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_uvcontsub.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_uvmodelfit.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_uvsub.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_virtualconcat.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_vishead.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_visstat.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/task_widebandpbcor.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/update_spw.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/userconfig.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/vishead_util.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/imagerhelpers/__init__.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/imagerhelpers/imager_base.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/imagerhelpers/imager_parallel_continuum.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/imagerhelpers/imager_parallel_cube.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/imagerhelpers/imager_parallel_deconvolver.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/imagerhelpers/input_parameters.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/imagerhelpers/parallel_imager_helper.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/parallel/__init__.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/parallel/parallel_data_helper.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/parallel/parallel_task_helper.py' |
23-Aug-2019 12:49:14 | adding 'casatasks/private/parallel/rflag_post_proc.py' |
23-Aug-2019 12:49:14 | adding 'casatasks-2019.137.dist-info/METADATA' |
23-Aug-2019 12:49:14 | adding 'casatasks-2019.137.dist-info/WHEEL' |
23-Aug-2019 12:49:14 | adding 'casatasks-2019.137.dist-info/top_level.txt' |
23-Aug-2019 12:49:14 | adding 'casatasks-2019.137.dist-info/RECORD' |
23-Aug-2019 12:49:14 | removing build/bdist.linux-x86_64/wheel |
23-Aug-2019 12:49:15 | Cloning into 'casatasks'... |
23-Aug-2019 12:49:15 | Cloning into 'casa-build-utils'... |
23-Aug-2019 12:49:16 | diff --git a/casa-source b/casa-source |
23-Aug-2019 12:49:16 | index ea48a15..3888946 160000 |
23-Aug-2019 12:49:16 | --- a/casa-source |
23-Aug-2019 12:49:16 | +++ b/casa-source |
23-Aug-2019 12:49:16 | @@ -1 +1 @@ |
23-Aug-2019 12:49:16 | -Subproject commit ea48a15b59649064b1c1ffe5d4ac43566952176a |
23-Aug-2019 12:49:16 | +Subproject commit 3888946e23b2c6581e4b055a1c94518688247575 |
23-Aug-2019 12:49:16 | diff --git a/setup.py b/setup.py |
23-Aug-2019 12:49:16 | index 7225d45..edc91b3 100755 |
23-Aug-2019 12:49:16 | --- a/setup.py |
23-Aug-2019 12:49:16 | +++ b/setup.py |
23-Aug-2019 12:49:16 | @@ -224,6 +224,7 @@ private_scripts = [ 'src/scripts/userconfig.py', |
23-Aug-2019 12:49:16 | 'src/tasks/task_makemask.py', |
23-Aug-2019 12:49:16 | 'src/scripts/imtools.py', |
23-Aug-2019 12:49:16 | 'src/tasks/task_polcal.py', |
23-Aug-2019 12:49:16 | + 'src/tasks/task_polfromgain.py', |
23-Aug-2019 12:49:16 | 'src/tasks/task_predictcomp.py', |
23-Aug-2019 12:49:16 | 'src/tasks/task_rerefant.py', |
23-Aug-2019 12:49:16 | 'src/tasks/task_rmfit.py', |
23-Aug-2019 12:49:16 | @@ -334,6 +335,7 @@ xml_xlate = { 'casa-source/gcwrap/tasks/imhead.xml': 'xml/imhead.xml', |
23-Aug-2019 12:49:16 | 'casa-source/gcwrap/tasks/listvis.xml': 'xml/listvis.xml', |
23-Aug-2019 12:49:16 | 'casa-source/gcwrap/tasks/makemask.xml': 'xml/makemask.xml', |
23-Aug-2019 12:49:16 | 'casa-source/gcwrap/tasks/polcal.xml': 'xml/polcal.xml', |
23-Aug-2019 12:49:16 | + 'casa-source/gcwrap/tasks/polfromgain.xml': 'xml/polfromgain.xml', |
23-Aug-2019 12:49:16 | 'casa-source/gcwrap/tasks/predictcomp.xml': 'xml/predictcomp.xml', |
23-Aug-2019 12:49:16 | 'casa-source/gcwrap/tasks/rerefant.xml': 'xml/rerefant.xml', |
23-Aug-2019 12:49:16 | 'casa-source/gcwrap/tasks/rmfit.xml': 'xml/rmfit.xml', |
23-Aug-2019 12:49:16 | @@ -436,6 +438,7 @@ xml_files = [ 'xml/imhead.xml', |
23-Aug-2019 12:49:16 | 'xml/listvis.xml', |
23-Aug-2019 12:49:16 | 'xml/makemask.xml', |
23-Aug-2019 12:49:16 | 'xml/polcal.xml', |
23-Aug-2019 12:49:16 | + 'xml/polfromgain.xml', |
23-Aug-2019 12:49:16 | 'xml/predictcomp.xml', |
23-Aug-2019 12:49:16 | 'xml/rerefant.xml', |
23-Aug-2019 12:49:16 | 'xml/rmfit.xml', |
23-Aug-2019 12:49:16 | diff --git a/src/tasks/task_polfromgain.py b/src/tasks/task_polfromgain.py |
23-Aug-2019 12:49:16 | new file mode 100644 |
23-Aug-2019 12:49:16 | index 0000000..27ec740 |
23-Aug-2019 12:49:16 | --- /dev/null |
23-Aug-2019 12:49:16 | +++ b/src/tasks/task_polfromgain.py |
23-Aug-2019 12:49:16 | @@ -0,0 +1,217 @@ |
23-Aug-2019 12:49:16 | +# enable local tools |
23-Aug-2019 12:49:16 | +import os |
23-Aug-2019 12:49:16 | +from math import pi,floor,atan2,sin,cos,sqrt |
23-Aug-2019 12:49:16 | +import pylab |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | +from casatasks.private.casa_transition import is_CASA6 |
23-Aug-2019 12:49:16 | +if is_CASA6: |
23-Aug-2019 12:49:16 | + import casatools |
23-Aug-2019 12:49:16 | + from casatasks import casalog |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + mytb=casatools.table() |
23-Aug-2019 12:49:16 | + myme=casatools.measures() |
23-Aug-2019 12:49:16 | + mymd=casatools.msmetadata() |
23-Aug-2019 12:49:16 | +else: |
23-Aug-2019 12:49:16 | + from taskinit import * |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + mytb=tbtool() |
23-Aug-2019 12:49:16 | + myme=metool() |
23-Aug-2019 12:49:16 | + mymd=msmdtool() |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | +def polfromgain(vis,tablein,caltable,paoffset): |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + casalog.origin('polfromgain') |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + casalog.post("Deriving calibrator linear polarization from gain ratios.") |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + try: |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + if ((type(vis)==str) & (os.path.exists(vis))): |
23-Aug-2019 12:49:16 | + mymd.open(vis) |
23-Aug-2019 12:49:16 | + else: |
23-Aug-2019 12:49:16 | + raise Exception('Visibility data set not found - please verify the name') |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + nant=mymd.nantennas() |
23-Aug-2019 12:49:16 | + nfld=mymd.nfields() |
23-Aug-2019 12:49:16 | + fldnames=mymd.fieldnames() |
23-Aug-2019 12:49:16 | + nspw=mymd.nspw() |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + rempol=False |
23-Aug-2019 12:49:16 | + if ((type(tablein)==str) & (os.path.exists(tablein))): |
23-Aug-2019 12:49:16 | + if type(caltable)==str and len(caltable)>0: |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + if os.path.exists(caltable): |
23-Aug-2019 12:49:16 | + raise Exception('Output caltable='+caltable+' exists. Choose another name or delete it.') |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + casalog.post("New caltable, "+caltable+", corrected for linear polarization, will be generated.") |
23-Aug-2019 12:49:16 | + mytb.open(tablein) |
23-Aug-2019 12:49:16 | + myout=mytb.copy(newtablename=caltable,deep=True) |
23-Aug-2019 12:49:16 | + mytb.close() |
23-Aug-2019 12:49:16 | + myout.close() |
23-Aug-2019 12:49:16 | + rempol=True |
23-Aug-2019 12:49:16 | + else: |
23-Aug-2019 12:49:16 | + casalog.post("No new caltable will be generated") |
23-Aug-2019 12:49:16 | + caltable=tablein |
23-Aug-2019 12:49:16 | + else: |
23-Aug-2019 12:49:16 | + raise Exception('input calibration table not found - please verify the name') |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + if paoffset!=0.0: |
23-Aug-2019 12:49:16 | + casalog.post("NB: default band position angle will be offset by "+str(paoffset)+"deg.") |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + # Field coords |
23-Aug-2019 12:49:16 | + mytb.open(caltable+'/FIELD') |
23-Aug-2019 12:49:16 | + dirs=mytb.getcol('DELAY_DIR')[:,0,:] |
23-Aug-2019 12:49:16 | + mytb.close() |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + # Must retrieve nominal feed angles from MS.FEED! |
23-Aug-2019 12:49:16 | + mytb.open(vis+'/FEED') |
23-Aug-2019 12:49:16 | + nfeed=mytb.nrows() |
23-Aug-2019 12:49:16 | + fang=mytb.getcol('RECEPTOR_ANGLE') |
23-Aug-2019 12:49:16 | + fspw=mytb.getcol('SPECTRAL_WINDOW_ID') |
23-Aug-2019 12:49:16 | + fant=mytb.getcol('ANTENNA_ID') |
23-Aug-2019 12:49:16 | + rang=pylab.zeros((nant,nspw)); |
23-Aug-2019 12:49:16 | + for ifeed in range(nfeed): |
23-Aug-2019 12:49:16 | + rang[fant[ifeed],fspw[ifeed]]=fang[0,ifeed] |
23-Aug-2019 12:49:16 | + mytb.close() |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + R=pylab.zeros((nspw,nfld)) |
23-Aug-2019 12:49:16 | + Q=pylab.zeros((nspw,nfld)) |
23-Aug-2019 12:49:16 | + U=pylab.zeros((nspw,nfld)) |
23-Aug-2019 12:49:16 | + mask=pylab.zeros((nspw,nfld),dtype=bool) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + IQUV={} |
23-Aug-2019 12:49:16 | + nomod=not rempol |
23-Aug-2019 12:49:16 | + mytb.open(caltable,nomodify=nomod) |
23-Aug-2019 12:49:16 | + uflds=pylab.unique(mytb.getcol('FIELD_ID')) |
23-Aug-2019 12:49:16 | + uspws=pylab.unique(mytb.getcol('SPECTRAL_WINDOW_ID')) |
23-Aug-2019 12:49:16 | + for ifld in uflds: |
23-Aug-2019 12:49:16 | + rah=dirs[0,ifld]*12.0/pi |
23-Aug-2019 12:49:16 | + decr=dirs[1,ifld] |
23-Aug-2019 12:49:16 | + IQUV[fldnames[ifld]]={} |
23-Aug-2019 12:49:16 | + for ispw in uspws: |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + r=pylab.zeros(nant) |
23-Aug-2019 12:49:16 | + q=pylab.zeros(nant) |
23-Aug-2019 12:49:16 | + u=pylab.zeros(nant) |
23-Aug-2019 12:49:16 | + antok=pylab.zeros(nant,dtype=bool) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + for iant in range(nant): |
23-Aug-2019 12:49:16 | + qstring='FIELD_ID=='+str(ifld)+' && SPECTRAL_WINDOW_ID=='+str(ispw)+' && ANTENNA1=='+str(iant) |
23-Aug-2019 12:49:16 | + st=mytb.query(query=qstring) |
23-Aug-2019 12:49:16 | + nrows=st.nrows() |
23-Aug-2019 12:49:16 | + if nrows > 0: |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + times=st.getcol('TIME') |
23-Aug-2019 12:49:16 | + gains=st.getcol('CPARAM') |
23-Aug-2019 12:49:16 | + flags=st.getcol('FLAG') |
23-Aug-2019 12:49:16 | + flags=pylab.logical_or(flags[0,0,:],flags[1,0,:]) # 1D |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + # Escape if insufficient data |
23-Aug-2019 12:49:16 | + if (nrows-pylab.sum(flags))<3: |
23-Aug-2019 12:49:16 | + antok[iant]=False |
23-Aug-2019 12:49:16 | + st.close() |
23-Aug-2019 12:49:16 | + continue |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + # parang |
23-Aug-2019 12:49:16 | + parang=pylab.zeros(len(times)) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + apos=mymd.antennaposition(iant) |
23-Aug-2019 12:49:16 | + latr=myme.measure(apos,'WGS84')['m1']['value'] |
23-Aug-2019 12:49:16 | + myme.doframe(apos) |
23-Aug-2019 12:49:16 | + har=pylab.zeros(nrows) |
23-Aug-2019 12:49:16 | + for itim in range(len(times)): |
23-Aug-2019 12:49:16 | + tm=myme.epoch('UTC',str(times[itim])+'s') |
23-Aug-2019 12:49:16 | + last=myme.measure(tm,'LAST')['m0']['value'] |
23-Aug-2019 12:49:16 | + last-=floor(last) # days |
23-Aug-2019 12:49:16 | + last*=24.0 # hours |
23-Aug-2019 12:49:16 | + ha=last-rah # hours |
23-Aug-2019 12:49:16 | + har[itim]=ha*2.0*pi/24.0 # radians |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + parang=pylab.arctan2( (cos(latr)*pylab.sin(har)), |
23-Aug-2019 12:49:16 | + (sin(latr)*cos(decr)-cos(latr)*sin(decr)*pylab.cos(har)) ) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + parang+=rang[iant,ispw] |
23-Aug-2019 12:49:16 | + parang+=(paoffset*pi/180.) # manual feed pa offset |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + # indep var matrix |
23-Aug-2019 12:49:16 | + A=pylab.ones((nrows,3)) |
23-Aug-2019 12:49:16 | + A[:,1]=pylab.cos(2*parang) |
23-Aug-2019 12:49:16 | + A[:,2]=pylab.sin(2*parang) |
23-Aug-2019 12:49:16 | + A[flags,:]=0.0 # zero flagged rows |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + # squared gain amplitude ratio |
23-Aug-2019 12:49:16 | + amps=pylab.absolute(gains) |
23-Aug-2019 12:49:16 | + amps[amps==0.0]=1.0 |
23-Aug-2019 12:49:16 | + gratio2=pylab.square(amps[0,0,:]/amps[1,0,:]) |
23-Aug-2019 12:49:16 | + gratio2[flags]=0.0 # zero flagged samples |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + fit=pylab.lstsq(A,gratio2) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + r[iant]=fit[0][0] |
23-Aug-2019 12:49:16 | + q[iant]=fit[0][1]/r[iant]/2.0 |
23-Aug-2019 12:49:16 | + u[iant]=fit[0][2]/r[iant]/2.0 |
23-Aug-2019 12:49:16 | + r[iant]=sqrt(r[iant]) |
23-Aug-2019 12:49:16 | + p=sqrt(q[iant]**2+u[iant]**2) |
23-Aug-2019 12:49:16 | + x=0.5*atan2(u[iant],q[iant])*180/pi |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + antok[iant]=True; |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + #print 'Fld='+fldnames[ifld],'Spw='+str(ispw),'Ant='+str(iant), '(PA offset='+str(rang[iant,ispw]*180/pi+paoffset)+'deg)','Gx/Gy='+str(r[iant]),'q='+str(q[iant]),'u='+str(u[iant]),'p='+str(p),'x='+str(x) |
23-Aug-2019 12:49:16 | + casalog.post('Fld='+fldnames[ifld]+' Spw='+str(ispw)+' Ant='+str(iant)+' (PA offset='+str(rang[iant,ispw]*180/pi+paoffset)+'deg)'+' q='+str(q[iant])+' u='+str(u[iant])+' p='+str(p)+' x='+str(x)+' Gx/Gy='+str(sqrt(r[iant]))) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + if rempol: |
23-Aug-2019 12:49:16 | + if p<1.0: |
23-Aug-2019 12:49:16 | + Qpsi=q[iant]*pylab.cos(2*parang) + u[iant]*pylab.sin(2*parang) |
23-Aug-2019 12:49:16 | + gains[0,0,:]/=pylab.sqrt(1.0+Qpsi) |
23-Aug-2019 12:49:16 | + gains[1,0,:]/=pylab.sqrt(1.0-Qpsi) |
23-Aug-2019 12:49:16 | + st.putcol('CPARAM',gains) |
23-Aug-2019 12:49:16 | + else: |
23-Aug-2019 12:49:16 | + st.close() |
23-Aug-2019 12:49:16 | + raise Exception('Spurious fractional polarization!') |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + st.close() |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + nantok=pylab.sum(antok) |
23-Aug-2019 12:49:16 | + if nantok>0: |
23-Aug-2019 12:49:16 | + Q[ispw,ifld]=pylab.sum(q)/nantok |
23-Aug-2019 12:49:16 | + U[ispw,ifld]=pylab.sum(u)/nantok |
23-Aug-2019 12:49:16 | + R[ispw,ifld]=pylab.sum(r)/nantok |
23-Aug-2019 12:49:16 | + mask[ispw,ifld]=True |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + P=sqrt(Q[ispw,ifld]**2+U[ispw,ifld]**2) |
23-Aug-2019 12:49:16 | + X=0.5*atan2(U[ispw,ifld],Q[ispw,ifld])*180/pi |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + #print 'Fld='+fldnames[ifld],'Spw='+str(ispw),'Ant=*', '(PA offset='+str(rang[iant,ispw]*180/pi+paoffset)+'deg)','Gx/Gy='+str(R[ispw,ifld]),'Q='+str(Q[ispw,ifld]),'U='+str(U[ispw,ifld]),'P='+str(P),'X='+str(X) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + casalog.post('Fld='+fldnames[ifld]+' Spw='+str(ispw)+' Ant=*'+' (PA offset='+str(rang[iant,ispw]*180/pi+paoffset)+'deg)'+' Q='+str(Q[ispw,ifld])+' U='+str(U[ispw,ifld])+' P='+str(P)+' X='+str(X)) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + IQUV[fldnames[ifld]]['Spw'+str(ispw)]=[1.0,Q[ispw,ifld],U[ispw,ifld],0.0] |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + else: |
23-Aug-2019 12:49:16 | + mask[ispw,ifld]=False |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + if sum(mask[:,ifld])>0: |
23-Aug-2019 12:49:16 | + casalog.post('For field='+fldnames[ifld]+' there are '+str(sum(mask[:,ifld]))+' good spws.') |
23-Aug-2019 12:49:16 | + Qm=pylab.mean(Q[mask[:,ifld],ifld]) |
23-Aug-2019 12:49:16 | + Um=pylab.mean(U[mask[:,ifld],ifld]) |
23-Aug-2019 12:49:16 | + IQUV[fldnames[ifld]]['SpwAve']=[1.0,Qm,Um,0.0] |
23-Aug-2019 12:49:16 | + Qe=pylab.std(Q[mask[:,ifld],ifld]) |
23-Aug-2019 12:49:16 | + Ue=pylab.std(U[mask[:,ifld],ifld]) |
23-Aug-2019 12:49:16 | + Pm=sqrt(Qm**2+Um**2) |
23-Aug-2019 12:49:16 | + Xm=0.5*atan2(Um,Qm)*180/pi |
23-Aug-2019 12:49:16 | + casalog.post('Spw mean: Fld='+fldnames[ifld]+' Q='+str(Qm)+' U='+str(Um)+' P='+str(Pm)+' X='+str(Xm)) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + mytb.close() |
23-Aug-2019 12:49:16 | + mymd.close() |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + casalog.post("NB: Returning dictionary containing fractional Stokes results.") |
23-Aug-2019 12:49:16 | + return IQUV |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + except Exception as instance: |
23-Aug-2019 12:49:16 | + print('*** Error ***',instance) |
23-Aug-2019 12:49:16 | + mytb.close() |
23-Aug-2019 12:49:16 | + mymd.close() |
23-Aug-2019 12:49:16 | + raise |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | diff --git a/src/tasks/task_predictcomp.py b/src/tasks/task_predictcomp.py |
23-Aug-2019 12:49:16 | index c64679b..7917a95 100644 |
23-Aug-2019 12:49:16 | --- a/src/tasks/task_predictcomp.py |
23-Aug-2019 12:49:16 | +++ b/src/tasks/task_predictcomp.py |
23-Aug-2019 12:49:16 | @@ -89,7 +89,7 @@ def predictcomp(objname=None, standard=None, epoch=None, |
23-Aug-2019 12:49:16 | minfreqHz = _qa.convert(minfreqq, 'Hz')['value'] |
23-Aug-2019 12:49:16 | try: |
23-Aug-2019 12:49:16 | maxfreqq = _qa.quantity(maxfreq) |
23-Aug-2019 12:49:16 | - except Exception(instance): |
23-Aug-2019 12:49:16 | + except Exception as instance: |
23-Aug-2019 12:49:16 | maxfreqq = minfreqq |
23-Aug-2019 12:49:16 | frequnit = maxfreqq['unit'] |
23-Aug-2019 12:49:16 | maxfreqHz = _qa.convert(maxfreqq, 'Hz')['value'] |
23-Aug-2019 12:49:16 | diff --git a/tests/tasks/test_predictcomp.py b/tests/tasks/test_predictcomp.py |
23-Aug-2019 12:49:16 | index c4ead23..335f64a 100644 |
23-Aug-2019 12:49:16 | --- a/tests/tasks/test_predictcomp.py |
23-Aug-2019 12:49:16 | +++ b/tests/tasks/test_predictcomp.py |
23-Aug-2019 12:49:16 | @@ -87,6 +87,13 @@ class predictcomp_test(unittest.TestCase): |
23-Aug-2019 12:49:16 | self.res=predictcomp(objname='Titan', epoch='2017/09/01/00:00', minfreq='100',maxfreq='120') |
23-Aug-2019 12:49:16 | self.assertIsNone(self.res) |
23-Aug-2019 12:49:16 | |
23-Aug-2019 12:49:16 | + def test_badmaxfreq(self): |
23-Aug-2019 12:49:16 | + '''predictcomp: invalid maxfreq ''' |
23-Aug-2019 12:49:16 | + # ignore the maxfreq just calculate for minfreq |
23-Aug-2019 12:49:16 | + self.res=predictcomp(objname='Titan', epoch='2017/09/01/00:00', minfreq='100GHz', maxfreq='120BadUnit', standard='Butler-JPL-Horizons 2012') |
23-Aug-2019 12:49:16 | + self.assertTrue(type(self.res)==dict) |
23-Aug-2019 12:49:16 | + self.assertTrue(os.path.exists(self.res['clist'])) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | @unittest.skipIf(is_CASA6,"no plotting in casatasks") |
23-Aug-2019 12:49:16 | def test_predicted_visplot(self): |
23-Aug-2019 12:49:16 | '''predictcomp: generate visibility plot for a given array configuration''' |
23-Aug-2019 12:49:16 | diff --git a/tests/tasks/test_req_task_polfromgain.py b/tests/tasks/test_req_task_polfromgain.py |
23-Aug-2019 12:49:16 | new file mode 100644 |
23-Aug-2019 12:49:16 | index 0000000..86c7718 |
23-Aug-2019 12:49:16 | --- /dev/null |
23-Aug-2019 12:49:16 | +++ b/tests/tasks/test_req_task_polfromgain.py |
23-Aug-2019 12:49:16 | @@ -0,0 +1,141 @@ |
23-Aug-2019 12:49:16 | +########################################################################## |
23-Aug-2019 12:49:16 | +# test_req_task_polfromgain.py |
23-Aug-2019 12:49:16 | +# |
23-Aug-2019 12:49:16 | +# Copyright (C) 2018 |
23-Aug-2019 12:49:16 | +# Associated Universities, Inc. Washington DC, USA. |
23-Aug-2019 12:49:16 | +# |
23-Aug-2019 12:49:16 | +# This script is free software; you can redistribute it and/or modify it |
23-Aug-2019 12:49:16 | +# under the terms of the GNU Library General Public License as published by |
23-Aug-2019 12:49:16 | +# the Free Software Foundation; either version 2 of the License, or (at your |
23-Aug-2019 12:49:16 | +# option) any later version. |
23-Aug-2019 12:49:16 | +# |
23-Aug-2019 12:49:16 | +# This library is distributed in the hope that it will be useful, but WITHOUT |
23-Aug-2019 12:49:16 | +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
23-Aug-2019 12:49:16 | +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public |
23-Aug-2019 12:49:16 | +# License for more details. |
23-Aug-2019 12:49:16 | +# |
23-Aug-2019 12:49:16 | +# [Add the link to the JIRA ticket here once it exists] |
23-Aug-2019 12:49:16 | +# |
23-Aug-2019 12:49:16 | +# Based on the requirements listed in plone found here: |
23-Aug-2019 12:49:16 | +# https://casa.nrao.edu/casadocs/casa-5.4.0/global-task-list/task_polfromgain/about |
23-Aug-2019 12:49:16 | +# |
23-Aug-2019 12:49:16 | +# |
23-Aug-2019 12:49:16 | +########################################################################## |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | +CASA6 = False |
23-Aug-2019 12:49:16 | +try: |
23-Aug-2019 12:49:16 | + import casatools |
23-Aug-2019 12:49:16 | + from casatasks import polfromgain |
23-Aug-2019 12:49:16 | + CASA6 = True |
23-Aug-2019 12:49:16 | + tb = casatools.table() |
23-Aug-2019 12:49:16 | +except ImportError: |
23-Aug-2019 12:49:16 | + from __main__ import default |
23-Aug-2019 12:49:16 | + from tasks import * |
23-Aug-2019 12:49:16 | + from taskinit import * |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | +import os |
23-Aug-2019 12:49:16 | +import unittest |
23-Aug-2019 12:49:16 | +import shutil |
23-Aug-2019 12:49:16 | +import time |
23-Aug-2019 12:49:16 | +import casaTestHelper |
23-Aug-2019 12:49:16 | +import numpy |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | +# DATA # |
23-Aug-2019 12:49:16 | +if CASA6: |
23-Aug-2019 12:49:16 | + datapath = casatools.ctsys.resolve('visibilities/vla/ngc5921.ms/') |
23-Aug-2019 12:49:16 | + caldata = casatools.ctsys.resolve('caltables/ngcgain.G0/') |
23-Aug-2019 12:49:16 | + refcal = casatools.ctsys.resolve('caltables/polfromgainCalCompare.cal') |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | +else: |
23-Aug-2019 12:49:16 | + if os.path.exists(os.environ.get('CASAPATH').split()[0] + '/data/casa-data-req'): |
23-Aug-2019 12:49:16 | + datapath = os.environ.get('CASAPATH').split()[0] + '/data/casa-data-req/visibilities/vla/ngc5921.ms/' |
23-Aug-2019 12:49:16 | + caldata = os.environ.get('CASAPATH').split()[0] + '/data/casa-data-req/caltables/ngcgain.G0/' |
23-Aug-2019 12:49:16 | + refcal = os.environ.get('CASAPATH').split()[0] + '/data/casa-data-req/caltables/polfromgainCalCompare.cal' |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + else: |
23-Aug-2019 12:49:16 | + datapath = os.environ.get('CASAPATH').split()[0] + '/casa-data-req/visibilities/vla/ngc5921.ms/' |
23-Aug-2019 12:49:16 | + caldata = os.environ.get('CASAPATH').split()[0] + '/casa-data-req/caltables/ngcgain.G0/' |
23-Aug-2019 12:49:16 | + refcal = os.environ.get('CASAPATH').split()[0] + '/casa-data-req/caltables/polfromgainCalCompare.cal' |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | +datacopy = 'gaincopy.ms' |
23-Aug-2019 12:49:16 | +calpath = 'polfromgainout.cal' |
23-Aug-2019 12:49:16 | +refcopy = 'refcopy.cal' |
23-Aug-2019 12:49:16 | +test_dict = {} |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | +class polfromgain_test(unittest.TestCase): |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + def setUp(self): |
23-Aug-2019 12:49:16 | + if not CASA6: |
23-Aug-2019 12:49:16 | + default(polfromgain) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + shutil.copytree(datapath, datacopy) |
23-Aug-2019 12:49:16 | + shutil.copytree(refcal, refcopy) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + def tearDown(self): |
23-Aug-2019 12:49:16 | + shutil.rmtree(datacopy) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + if os.path.exists(refcopy): |
23-Aug-2019 12:49:16 | + shutil.rmtree(refcopy) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + if os.path.exists(calpath): |
23-Aug-2019 12:49:16 | + shutil.rmtree(calpath) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + @classmethod |
23-Aug-2019 12:49:16 | + def tearDownClass(cls): |
23-Aug-2019 12:49:16 | + casaTestHelper.generate_weblog("polfromgain", test_dict) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + @casaTestHelper.stats_dict(test_dict) |
23-Aug-2019 12:49:16 | + def test_dictOutput(self): |
23-Aug-2019 12:49:16 | + ''' Check that the task takes a MS and outputs a dictionary ''' |
23-Aug-2019 12:49:16 | + result = polfromgain(datacopy, tablein=caldata) |
23-Aug-2019 12:49:16 | + casaTestHelper.add_to_dict(self, output=test_dict, dataset=datacopy, resulting_dict = result) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + self.assertTrue(type(result) == type({})) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + @casaTestHelper.stats_dict(test_dict) |
23-Aug-2019 12:49:16 | + def test_calTable(self): |
23-Aug-2019 12:49:16 | + ''' Check that using the caltable param creates a new cal file ''' |
23-Aug-2019 12:49:16 | + polfromgain(datacopy, tablein=caldata, caltable=calpath) |
23-Aug-2019 12:49:16 | + cal_exists = os.path.exists(calpath) |
23-Aug-2019 12:49:16 | + casaTestHelper.add_to_dict(self, output=test_dict, dataset=datacopy) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + self.assertTrue(cal_exists) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + @casaTestHelper.stats_dict(test_dict) |
23-Aug-2019 12:49:16 | + def test_dictContains(self): |
23-Aug-2019 12:49:16 | + ''' Check that the dict contains all the correct infromation ''' |
23-Aug-2019 12:49:16 | + casaTestHelper.add_to_dict(self, output=test_dict, dataset=datacopy) |
23-Aug-2019 12:49:16 | + refdict = {'1331+30500002_0': {}, '1445+09900002_0': {'Spw0': [1.0, 0.0085134637703004248, 0.025951269611231682, 0.0], 'SpwAve': [1.0, 0.0085134637703004248, 0.025951269611231682, 0.0]}, 'N5921_2': {}} |
23-Aug-2019 12:49:16 | + result = polfromgain(datacopy, tablein=caldata) |
23-Aug-2019 12:49:16 | + print(result) |
23-Aug-2019 12:49:16 | + print(refdict) |
23-Aug-2019 12:49:16 | + print(casaTestHelper.compare_dictionaries(result, refdict)) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + keyCheck = result.keys() == refdict.keys() |
23-Aug-2019 12:49:16 | + Spw0Check = numpy.all(numpy.isclose(refdict['1445+09900002_0']['Spw0'],result['1445+09900002_0']['Spw0'], rtol = 8e-7, atol=1e-8)) |
23-Aug-2019 12:49:16 | + SpwAveCheck = numpy.all(numpy.isclose(refdict['1445+09900002_0']['SpwAve'],result['1445+09900002_0']['SpwAve'], rtol = 8e-7, atol=1e-8)) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + if Spw0Check and SpwAveCheck and keyCheck: |
23-Aug-2019 12:49:16 | + self.assertTrue(True) |
23-Aug-2019 12:49:16 | + else: |
23-Aug-2019 12:49:16 | + self.fail(msg='{} != {}'.format(result,refdict)) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + #self.assertTrue(casaTestHelper.compare_dictionaries(result, refdict, rtol = 8e-7)) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + @casaTestHelper.stats_dict(test_dict) |
23-Aug-2019 12:49:16 | + def test_calTableContains(self): |
23-Aug-2019 12:49:16 | + ''' Check that the contents of the calibration table match the reference file ''' |
23-Aug-2019 12:49:16 | + result = polfromgain(datacopy, tablein=caldata, caltable=calpath) |
23-Aug-2019 12:49:16 | + casaTestHelper.add_to_dict(self, output=test_dict, dataset=datacopy, resulting_dict=result) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + self.assertTrue(casaTestHelper.compare_caltables(calpath, refcopy)) |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | +def suite(): |
23-Aug-2019 12:49:16 | + return[polfromgain_test] |
23-Aug-2019 12:49:16 | + |
23-Aug-2019 12:49:16 | +if __name__ == '__main__': |
23-Aug-2019 12:49:16 | + unittest.main() |
23-Aug-2019 12:49:16 | Argument values: |
23-Aug-2019 12:49:16 | casatasks |
23-Aug-2019 12:49:16 | /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1/casatasks |
23-Aug-2019 12:49:16 | master |
23-Aug-2019 12:49:16 | None |
23-Aug-2019 12:49:16 | Last Tag: 2019.136 |
23-Aug-2019 12:49:16 | New Tag: 2019.137 |
23-Aug-2019 12:49:16 | Creating a new tag |
23-Aug-2019 12:49:16 | |
23-Aug-2019 12:49:16 | None |
23-Aug-2019 12:49:16 | Push enabled. Pushing new tag upstream. |
23-Aug-2019 12:49:16 | To ssh://git@open-bitbucket.nrao.edu:7999/casa/casatasks.git |
23-Aug-2019 12:49:16 | * [new tag] 2019.137 -> 2019.137 |
23-Aug-2019 12:49:16 | |
23-Aug-2019 12:49:16 | None |
23-Aug-2019 12:49:16 | Finished task 'Create wheel' with result: Success |
23-Aug-2019 12:49:16 | Running post build plugin 'Docker Container Cleanup' |
23-Aug-2019 12:49:16 | Beginning to execute external process for build 'CASA - Casa6 Tasks Wheel Build - Build and Package RHEL6 #133 (CASA-CTB-JOB1-133)' ... running command line: /bin/docker rm -f task-wheel-container ... in: /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1 |
23-Aug-2019 12:49:18 | task-wheel-container |
23-Aug-2019 12:49:18 | Running post build plugin 'NCover Results Collector' |
23-Aug-2019 12:49:18 | Running post build plugin 'Clover Results Collector' |
23-Aug-2019 12:49:18 | Running post build plugin 'npm Cache Cleanup' |
23-Aug-2019 12:49:18 | Running post build plugin 'Artifact Copier' |
23-Aug-2019 12:49:18 | Publishing an artifact: EL6 wheel |
23-Aug-2019 12:49:18 | Finished publishing of artifact Non required shared artifact: [EL6 wheel], pattern: [*-any.whl] anchored at: [wheeldirectory/] in 159.7 ms |
23-Aug-2019 12:49:18 | Finalising the build... |
23-Aug-2019 12:49:18 | Stopping timer. |
23-Aug-2019 12:49:18 | Build CASA-CTB-JOB1-133 completed. |
23-Aug-2019 12:49:18 | Running on server: post build plugin 'NCover Results Collector' |
23-Aug-2019 12:49:18 | Running on server: post build plugin 'Build Hanging Detection Configuration' |
23-Aug-2019 12:49:18 | Running on server: post build plugin 'Clover Delta Calculator' |
23-Aug-2019 12:49:18 | Running on server: post build plugin 'Maven Dependencies Postprocessor' |
23-Aug-2019 12:49:18 | All post build plugins have finished |
23-Aug-2019 12:49:18 | Generating build results summary... |
23-Aug-2019 12:49:18 | Saving build results to disk... |
23-Aug-2019 12:49:18 | Logging substituted variables... |
23-Aug-2019 12:49:18 | Indexing build results... |
23-Aug-2019 12:49:18 | Finished building CASA-CTB-JOB1-133. |