simple 30-Jul-2019 15:07:07 Build CASA - Casa6 Tasks Wheel Build - Build and Package RHEL6 #124 (CASA-CTB-JOB1-124) started building on agent cbt-el7-6.cv.nrao.edu (2) simple 30-Jul-2019 15:07:07 Remote agent on host cbt-el7-6.cv.nrao.edu simple 30-Jul-2019 15:07:07 Build working directory is /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1 simple 30-Jul-2019 15:07:07 Executing build CASA - Casa6 Tasks Wheel Build - Build and Package RHEL6 #124 (CASA-CTB-JOB1-124) simple 30-Jul-2019 15:07:07 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask' simple 30-Jul-2019 15:07:07 Cleaning working directory '/export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1' simple 30-Jul-2019 15:07:12 Finished task 'Clean working directory task' with result: Success simple 30-Jul-2019 15:07:12 Running pre-build action: VCS Version Collector simple 30-Jul-2019 15:07:12 Starting task 'Create wheeldirectory' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 30-Jul-2019 15:07:12 Beginning to execute external process for build 'CASA - Casa6 Tasks Wheel Build - Build and Package RHEL6 #124 (CASA-CTB-JOB1-124)'\n ... running command line: \n/export/home/cbt-el7-6/bamboohome/temp/CASA-CTB-JOB1-124-ScriptBuildTask-6904019813118090866.sh\n ... in: /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1\n ... using extra environment variables: \nbamboo_planRepository_1_branch=master\nbamboo_dependency_parent_1=CASA-CTT-204\nbamboo_dependency_parent_0=CASA-DOCKERTEST-230\nbamboo_capability_buildmachinetype=test\nbamboo_planRepository_2_branch=master\nbamboo_dependency_parent_total=2\nbamboo_repository_34078771_name=OPEN-CASA-PKG\nbamboo_planRepository_1_branchDisplayName=master\nbamboo_repository_revision_number=eef4c44be23fa00d4ab1db27079107e65057d86b\nbamboo_resultsUrl=https://open-bamboo.nrao.edu/browse/CASA-CTB-JOB1-124\nbamboo_build_working_directory=/export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1\nbamboo_planRepository_1_name=OPEN-CASA\nbamboo_buildKey=CASA-CTB-JOB1\nbamboo_shortPlanName=Casa6 Tasks Wheel Build\nbamboo_capability_hostname=cbt-el7-6.cv.nrao.edu\nbamboo_planRepository_2_username=\nbamboo_planRepository_name=OPEN-CASA\nbamboo_buildNumber=124\nbamboo_planRepository_2_branchDisplayName=master\nbamboo_capability_system_jdk_JDK_1_8_0_131=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-11.b12.el7.x86_64\nbamboo_shortJobName=Build and Package RHEL6\nbamboo_buildResultsUrl=https://open-bamboo.nrao.edu/browse/CASA-CTB-JOB1-124\nbamboo_planRepository_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_repository_34078770_name=OPEN-CASA\nbamboo_repository_34078770_revision_number=eef4c44be23fa00d4ab1db27079107e65057d86b\nbamboo_agentId=21790725\nbamboo_planName=CASA - Casa6 Tasks Wheel Build\nbamboo_shortPlanKey=CTB\nbamboo_shortJobKey=JOB1\nbamboo_repository_34078771_branch_name=master\nbamboo_planRepository_2_name=OPEN-CASA-PKG\nbamboo_planRepository_revision=eef4c44be23fa00d4ab1db27079107e65057d86b\nbamboo_repository_34078770_branch_name=master\nbamboo_buildTimeStamp=2019-07-30T15:07:07.737-04:00\nbamboo_repository_previous_revision_number=f933d129fd037994a9245af55e8f8c4d0e1de77e\nbamboo_repository_git_branch=master\nbamboo_buildResultKey=CASA-CTB-JOB1-124\nbamboo_repository_branch_name=master\nbamboo_buildPlanName=CASA - Casa6 Tasks Wheel Build - Build and Package RHEL6\nbamboo_planRepository_1_revision=eef4c44be23fa00d4ab1db27079107e65057d86b\nbamboo_capability_system_hg_executable=/bin/hg\nbamboo_repository_34078770_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_repository_name=OPEN-CASA-PKG\nbamboo_buildFailed=false\nbamboo_capability_system_docker_executable=/bin/docker\nbamboo_planRepository_branch=master\nbamboo_repository_34078770_git_branch=master\nbamboo_agentWorkingDirectory=/export/home/cbt-el7-6/bamboohome/xml-data/build-dir\nbamboo_capability_system_git_executable=/bin/git\nbamboo_planRepository_2_revision=87be669195ac4f41cb3df045e9fcf5e7ab63ca69\nbamboo_repository_git_username=\nbamboo_capability_operating_system=EL7\nbamboo_planRepository_branchDisplayName=master\nbamboo_planRepository_1_type=bbserver\nbamboo_planRepository_branchName=master\nbamboo_repository_34078771_git_branch=master\nbamboo_capability_project=CASA\nbamboo_planRepository_2_type=bbserver\nbamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64\nbamboo_repository_34078771_git_username=\nbamboo_repository_34078771_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa-pkg.git\nbamboo_repository_34078771_previous_revision_number=87be669195ac4f41cb3df045e9fcf5e7ab63ca69\nbamboo_plan_storageTag=plan-33882474\nbamboo_hg_cache_directory=/export/home/cbt-el7-6/bamboohome/xml-data/build-dir/_hg-repositories-cache\nbamboo_repository_34078770_git_username=\nbamboo_planRepository_2_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa-pkg.git\nbamboo_planRepository_1_username=\nbamboo_planRepository_type=bbserver\nbamboo_git_cache_directory=/export/home/cbt-el7-6/bamboohome/xml-data/build-dir/_git-repositories-cache\nbamboo_repository_34078770_previous_revision_number=f933d129fd037994a9245af55e8f8c4d0e1de77e\nbamboo_repository_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_planRepository_2_branchName=master\nbamboo_capability_system_builder_ant_Ant=/usr\nbamboo_tmp_directory=/export/home/cbt-el7-6/bamboohome/temp\nbamboo_working_directory=/export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1\nbamboo_planKey=CASA-CTB\nbamboo_planRepository_1_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_planRepository_username=\nbamboo_capability_system_jdk_JDK_1_8=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64\nbamboo_capability_system_jdk_JDK_1_8_0_161=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64\nbamboo_repository_34078771_revision_number=87be669195ac4f41cb3df045e9fcf5e7ab63ca69\nbamboo_planRepository_1_branchName=master\n simple 30-Jul-2019 15:07:12 Finished task 'Create wheeldirectory' with result: Success command 30-Jul-2019 15:07:12 Substituting variable: ${bamboo.working.directory} with /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1 simple 30-Jul-2019 15:07:12 Starting task 'Start container' of type 'com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli' simple 30-Jul-2019 15:07:12 Running image name (casa-docker.nrao.edu:5000/casa-build-tools-centos6) command 30-Jul-2019 15:07:12 Beginning to execute external process for build 'CASA - Casa6 Tasks Wheel Build - Build and Package RHEL6 #124 (CASA-CTB-JOB1-124)'\n ... running command line: \n/bin/docker run --volume /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1/wheeldirectory:/wheeldirectory --detach --name task-wheel-container casa-docker.nrao.edu:5000/casa-build-tools-centos6 tail -f /dev/null\n ... in: /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1\n ... using extra environment variables: \nbamboo_planRepository_1_branch=master\nbamboo_dependency_parent_1=CASA-CTT-204\nbamboo_dependency_parent_0=CASA-DOCKERTEST-230\nbamboo_capability_buildmachinetype=test\nbamboo_planRepository_2_branch=master\nbamboo_dependency_parent_total=2\nbamboo_repository_34078771_name=OPEN-CASA-PKG\nbamboo_planRepository_1_branchDisplayName=master\nbamboo_repository_revision_number=eef4c44be23fa00d4ab1db27079107e65057d86b\nbamboo_resultsUrl=https://open-bamboo.nrao.edu/browse/CASA-CTB-JOB1-124\nbamboo_build_working_directory=/export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1\nbamboo_planRepository_1_name=OPEN-CASA\nbamboo_buildKey=CASA-CTB-JOB1\nbamboo_shortPlanName=Casa6 Tasks Wheel Build\nbamboo_capability_hostname=cbt-el7-6.cv.nrao.edu\nbamboo_planRepository_2_username=\nbamboo_planRepository_name=OPEN-CASA\nbamboo_buildNumber=124\nbamboo_planRepository_2_branchDisplayName=master\nbamboo_capability_system_jdk_JDK_1_8_0_131=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-11.b12.el7.x86_64\nbamboo_shortJobName=Build and Package RHEL6\nbamboo_buildResultsUrl=https://open-bamboo.nrao.edu/browse/CASA-CTB-JOB1-124\nbamboo_planRepository_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_repository_34078770_name=OPEN-CASA\nbamboo_repository_34078770_revision_number=eef4c44be23fa00d4ab1db27079107e65057d86b\nbamboo_agentId=21790725\nbamboo_planName=CASA - Casa6 Tasks Wheel Build\nbamboo_shortPlanKey=CTB\nbamboo_build_commandline_com_atlassian_bamboo_plugins_scripttask_task_builder_script_9=/export/home/cbt-el7-6/bamboohome/temp/CASA-CTB-JOB1-124-ScriptBuildTask-6904019813118090866.sh\nbamboo_shortJobKey=JOB1\nbamboo_repository_34078771_branch_name=master\nbamboo_planRepository_2_name=OPEN-CASA-PKG\nbamboo_planRepository_revision=eef4c44be23fa00d4ab1db27079107e65057d86b\nbamboo_repository_34078770_branch_name=master\nbamboo_buildTimeStamp=2019-07-30T15:07:07.737-04:00\nbamboo_repository_previous_revision_number=f933d129fd037994a9245af55e8f8c4d0e1de77e\nbamboo_repository_git_branch=master\nbamboo_buildResultKey=CASA-CTB-JOB1-124\nbamboo_repository_branch_name=master\nbamboo_buildPlanName=CASA - Casa6 Tasks Wheel Build - Build and Package RHEL6\nbamboo_planRepository_1_revision=eef4c44be23fa00d4ab1db27079107e65057d86b\nbamboo_capability_system_hg_executable=/bin/hg\nbamboo_repository_34078770_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_repository_name=OPEN-CASA-PKG\nbamboo_buildFailed=false\nbamboo_capability_system_docker_executable=/bin/docker\nbamboo_planRepository_branch=master\nbamboo_repository_34078770_git_branch=master\nbamboo_agentWorkingDirectory=/export/home/cbt-el7-6/bamboohome/xml-data/build-dir\nbamboo_capability_system_git_executable=/bin/git\nbamboo_planRepository_2_revision=87be669195ac4f41cb3df045e9fcf5e7ab63ca69\nbamboo_repository_git_username=\nbamboo_capability_operating_system=EL7\nbamboo_planRepository_branchDisplayName=master\nbamboo_planRepository_1_type=bbserver\nbamboo_planRepository_branchName=master\nbamboo_repository_34078771_git_branch=master\nbamboo_capability_project=CASA\nbamboo_planRepository_2_type=bbserver\nbamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64\nbamboo_repository_34078771_git_username=\nbamboo_repository_34078771_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa-pkg.git\nbamboo_repository_34078771_previous_revision_number=87be669195ac4f41cb3df045e9fcf5e7ab63ca69\nbamboo_plan_storageTag=plan-33882474\nbamboo_hg_cache_directory=/export/home/cbt-el7-6/bamboohome/xml-data/build-dir/_hg-repositories-cache\nbamboo_repository_34078770_git_username=\nbamboo_planRepository_2_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa-pkg.git\nbamboo_planRepository_1_username=\nbamboo_planRepository_type=bbserver\nbamboo_git_cache_directory=/export/home/cbt-el7-6/bamboohome/xml-data/build-dir/_git-repositories-cache\nbamboo_repository_34078770_previous_revision_number=f933d129fd037994a9245af55e8f8c4d0e1de77e\nbamboo_repository_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_planRepository_2_branchName=master\nbamboo_capability_system_builder_ant_Ant=/usr\nbamboo_tmp_directory=/export/home/cbt-el7-6/bamboohome/temp\nbamboo_working_directory=/export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1\nbamboo_planKey=CASA-CTB\nbamboo_planRepository_1_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_planRepository_username=\nbamboo_capability_system_jdk_JDK_1_8=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64\nbamboo_capability_system_jdk_JDK_1_8_0_161=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64\nbamboo_repository_34078771_revision_number=87be669195ac4f41cb3df045e9fcf5e7ab63ca69\nbamboo_planRepository_1_branchName=master\n build 30-Jul-2019 15:07:12 96a6d91cae24a778ae5d23d1d567707852102213faa4258dbafb74aebfd0e2cf simple 30-Jul-2019 15:07:13 Finished task 'Start container' with result: Success command 30-Jul-2019 15:07:13 Substituting variable: ${bamboo.working.directory} with /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1 command 30-Jul-2019 15:07:13 Substituting variable: ${bamboo.working.directory} with /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1 simple 30-Jul-2019 15:07:13 Starting task 'Create wheel' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 30-Jul-2019 15:07:13 Beginning to execute external process for build 'CASA - Casa6 Tasks Wheel Build - Build and Package RHEL6 #124 (CASA-CTB-JOB1-124)'\n ... running command line: \n/export/home/cbt-el7-6/bamboohome/temp/CASA-CTB-JOB1-124-ScriptBuildTask-757688155070739250.sh\n ... in: /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1\n ... using extra environment variables: \nbamboo_planRepository_1_branch=master\nbamboo_dependency_parent_1=CASA-CTT-204\nbamboo_dependency_parent_0=CASA-DOCKERTEST-230\nbamboo_capability_buildmachinetype=test\nbamboo_planRepository_2_branch=master\nbamboo_dependency_parent_total=2\nbamboo_repository_34078771_name=OPEN-CASA-PKG\nbamboo_planRepository_1_branchDisplayName=master\nbamboo_repository_revision_number=eef4c44be23fa00d4ab1db27079107e65057d86b\nbamboo_resultsUrl=https://open-bamboo.nrao.edu/browse/CASA-CTB-JOB1-124\nbamboo_build_working_directory=/export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1\nbamboo_planRepository_1_name=OPEN-CASA\nbamboo_buildKey=CASA-CTB-JOB1\nbamboo_shortPlanName=Casa6 Tasks Wheel Build\nbamboo_capability_hostname=cbt-el7-6.cv.nrao.edu\nbamboo_planRepository_2_username=\nbamboo_planRepository_name=OPEN-CASA\nbamboo_buildNumber=124\nbamboo_planRepository_2_branchDisplayName=master\nbamboo_capability_system_jdk_JDK_1_8_0_131=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-11.b12.el7.x86_64\nbamboo_shortJobName=Build and Package RHEL6\nbamboo_buildResultsUrl=https://open-bamboo.nrao.edu/browse/CASA-CTB-JOB1-124\nbamboo_planRepository_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_repository_34078770_name=OPEN-CASA\nbamboo_repository_34078770_revision_number=eef4c44be23fa00d4ab1db27079107e65057d86b\nbamboo_agentId=21790725\nbamboo_planName=CASA - Casa6 Tasks Wheel Build\nbamboo_shortPlanKey=CTB\nbamboo_build_commandline_com_atlassian_bamboo_plugins_scripttask_task_builder_script_9=/export/home/cbt-el7-6/bamboohome/temp/CASA-CTB-JOB1-124-ScriptBuildTask-6904019813118090866.sh\nbamboo_dockerContainerNames=task-wheel-container\nbamboo_shortJobKey=JOB1\nbamboo_repository_34078771_branch_name=master\nbamboo_planRepository_2_name=OPEN-CASA-PKG\nbamboo_planRepository_revision=eef4c44be23fa00d4ab1db27079107e65057d86b\nbamboo_repository_34078770_branch_name=master\nbamboo_buildTimeStamp=2019-07-30T15:07:07.737-04:00\nbamboo_repository_previous_revision_number=f933d129fd037994a9245af55e8f8c4d0e1de77e\nbamboo_build_commandline_com_atlassian_bamboo_plugins_bamboo_docker_plugin_task_docker_cli_7=/bin/docker run --volume /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1/wheeldirectory:/wheeldirectory --detach --name task-wheel-container casa-docker.nrao.edu:5000/casa-build-tools-centos6 tail -f /dev/null\nbamboo_repository_git_branch=master\nbamboo_buildResultKey=CASA-CTB-JOB1-124\nbamboo_repository_branch_name=master\nbamboo_buildPlanName=CASA - Casa6 Tasks Wheel Build - Build and Package RHEL6\nbamboo_planRepository_1_revision=eef4c44be23fa00d4ab1db27079107e65057d86b\nbamboo_capability_system_hg_executable=/bin/hg\nbamboo_repository_34078770_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_repository_name=OPEN-CASA-PKG\nbamboo_buildFailed=false\nbamboo_capability_system_docker_executable=/bin/docker\nbamboo_planRepository_branch=master\nbamboo_repository_34078770_git_branch=master\nbamboo_agentWorkingDirectory=/export/home/cbt-el7-6/bamboohome/xml-data/build-dir\nbamboo_capability_system_git_executable=/bin/git\nbamboo_planRepository_2_revision=87be669195ac4f41cb3df045e9fcf5e7ab63ca69\nbamboo_repository_git_username=\nbamboo_capability_operating_system=EL7\nbamboo_planRepository_branchDisplayName=master\nbamboo_planRepository_1_type=bbserver\nbamboo_planRepository_branchName=master\nbamboo_repository_34078771_git_branch=master\nbamboo_capability_project=CASA\nbamboo_planRepository_2_type=bbserver\nbamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64\nbamboo_repository_34078771_git_username=\nbamboo_repository_34078771_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa-pkg.git\nbamboo_repository_34078771_previous_revision_number=87be669195ac4f41cb3df045e9fcf5e7ab63ca69\nbamboo_plan_storageTag=plan-33882474\nbamboo_hg_cache_directory=/export/home/cbt-el7-6/bamboohome/xml-data/build-dir/_hg-repositories-cache\nbamboo_repository_34078770_git_username=\nbamboo_planRepository_2_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa-pkg.git\nbamboo_planRepository_1_username=\nbamboo_planRepository_type=bbserver\nbamboo_git_cache_directory=/export/home/cbt-el7-6/bamboohome/xml-data/build-dir/_git-repositories-cache\nbamboo_repository_34078770_previous_revision_number=f933d129fd037994a9245af55e8f8c4d0e1de77e\nbamboo_repository_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_planRepository_2_branchName=master\nbamboo_capability_system_builder_ant_Ant=/usr\nbamboo_tmp_directory=/export/home/cbt-el7-6/bamboohome/temp\nbamboo_working_directory=/export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1\nbamboo_planKey=CASA-CTB\nbamboo_planRepository_1_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_planRepository_username=\nbamboo_capability_system_jdk_JDK_1_8=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64\nbamboo_capability_system_jdk_JDK_1_8_0_161=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64\nbamboo_repository_34078771_revision_number=87be669195ac4f41cb3df045e9fcf5e7ab63ca69\nbamboo_planRepository_1_branchName=master\n build 30-Jul-2019 15:07:13 datapath=[ "/opt/casa/data/master" ] build 30-Jul-2019 15:07:14 datapath=[ "/opt/casa/data/master" ] build 30-Jul-2019 15:07:17 Collecting casatools build 30-Jul-2019 15:07:17 Downloading https://casa-pip.nrao.edu:443/repository/pypi-group/packages/casatools/2019.127/casatools-2019.127-cp36-cp36m-linux_x86_64.whl (515.0MB) build 30-Jul-2019 15:08:08 Requirement already satisfied: numpy in /opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages (from casatools) build 30-Jul-2019 15:08:08 Installing collected packages: casatools build 30-Jul-2019 15:08:11 Successfully installed casatools-2019.127 error 30-Jul-2019 15:08:11 You are using pip version 9.0.1, however version 19.2.1 is available. error 30-Jul-2019 15:08:11 You should consider upgrading via the 'pip install --upgrade pip' command. build 30-Jul-2019 15:08:23 Submodule 'casa-source' (https://open-bitbucket.nrao.edu/scm/casa/casa.git) registered for path 'casa-source' build 30-Jul-2019 15:08:23 Cloning into 'casa-source'... build 30-Jul-2019 15:08:32 Submodule path 'casa-source': checked out 'f933d129fd037994a9245af55e8f8c4d0e1de77e' build 30-Jul-2019 15:08:32 Submodule 'casacore' (https://github.com/casacore/casacore.git) registered for path 'casacore' build 30-Jul-2019 15:08:32 Cloning into 'casacore'... build 30-Jul-2019 15:08:41 Submodule path 'casa-source/casacore': checked out 'd076650366f164a2f678a3625c5ef92e8d088e6e' error 30-Jul-2019 15:08:42 Previous HEAD position was f933d12... Merge pull request #1062 in CASA/casa from feature/CAS-12424 to master error 30-Jul-2019 15:08:42 Switched to branch 'master' build 30-Jul-2019 15:08:43 Already up-to-date. build 30-Jul-2019 15:08:45 running bdist_wheel build 30-Jul-2019 15:08:45 initializing options... build 30-Jul-2019 15:08:45 finalizing options... build 30-Jul-2019 15:08:45 running build build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/imhead.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/immoments.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/imhistory.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/applycal.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/bandpass.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/blcal.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/calstat.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/concat.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/split.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/listobs.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/flagdata.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/flagcmd.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/setjy.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/cvel.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/cvel2.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/importuvfits.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/importfits.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/exportfits.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/exportuvfits.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/partition.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/listpartition.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/flagmanager.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/mstransform.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/tclean.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/immath.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/vishead.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/uvsub.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/spxfit.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/splattotable.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/specsmooth.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/specflux.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/smoothcal.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/specfit.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/imstat.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/slsearch.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/delmod.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/imsubimage.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/accor.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/accum.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/asdmsummary.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/clearcal.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/conjugatevis.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/exportasdm.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/importasdm.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/clearstat.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/fixplanets.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/fixvis.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/fluxscale.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/ft.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/gaincal.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/gencal.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/hanningsmooth.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/imcollapse.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/imcontsub.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/imdev.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/imfit.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/impbcor.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/importasap.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/importatca.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/importfitsidi.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/importgmrt.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/importnro.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/importvla.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/impv.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/imrebin.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/imreframe.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/imregrid.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/imsmooth.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/imtrans.xml build 30-Jul-2019 15:10:06 fixing casa-source/gcwrap/tasks/imval.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/imval.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/initweights.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/listcal.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/listfits.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/listhistory.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/listsdm.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/listvis.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/makemask.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/polcal.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/predictcomp.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/rerefant.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/rmfit.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/rmtables.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/sdbaseline.xml build 30-Jul-2019 15:10:06 fixing casa-source/gcwrap/tasks/sdcal.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/sdcal.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/sdfit.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/sdfixscan.xml build 30-Jul-2019 15:10:06 fixing casa-source/gcwrap/tasks/sdgaincal.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/sdgaincal.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/sdimaging.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/sdsmooth.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/simalma.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/simobserve.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/simanalyze.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/feather.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/statwt.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/virtualconcat.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/uvcontsub.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/uvmodelfit.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/visstat.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/widebandpbcor.xml build 30-Jul-2019 15:10:06 upgrading casa-source/gcwrap/tasks/importmiriad.xml build 30-Jul-2019 15:10:06 generating task python files... build 30-Jul-2019 15:10:06 creating build/lib.linux-x86_64-3.6/casatasks/private/parallel build 30-Jul-2019 15:10:06 copying src/modules/parallel/parallel_task_helper.py -> build/lib.linux-x86_64-3.6/casatasks/private/parallel build 30-Jul-2019 15:10:06 copying src/modules/parallel/parallel_data_helper.py -> build/lib.linux-x86_64-3.6/casatasks/private/parallel build 30-Jul-2019 15:10:06 copying src/modules/parallel/rflag_post_proc.py -> build/lib.linux-x86_64-3.6/casatasks/private/parallel build 30-Jul-2019 15:10:06 copying src/modules/parallel/__init__.py -> build/lib.linux-x86_64-3.6/casatasks/private/parallel build 30-Jul-2019 15:10:06 creating build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying src/modules/imagerhelpers/imager_parallel_cube.py -> build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying src/modules/imagerhelpers/__init__.py -> build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying src/modules/imagerhelpers/parallel_imager_helper.py -> build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying src/modules/imagerhelpers/imager_parallel_deconvolver.py -> build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying src/modules/imagerhelpers/input_parameters.py -> build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying src/modules/imagerhelpers/imager_parallel_continuum.py -> build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying src/modules/imagerhelpers/imager_base.py -> build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 installing to build/bdist.linux-x86_64/wheel build 30-Jul-2019 15:10:06 running install build 30-Jul-2019 15:10:06 running install_lib build 30-Jul-2019 15:10:06 running build_py build 30-Jul-2019 15:10:06 creating build/lib build 30-Jul-2019 15:10:06 creating build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/setjy.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/rerefant.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/cvel.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/imregrid.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/sdimaging.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/blcal.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/rmfit.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/predictcomp.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/virtualconcat.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/uvmodelfit.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/spxfit.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/sdfixscan.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/fixplanets.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/imreframe.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/importmiriad.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/mstransform.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/imrebin.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/specsmooth.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/delmod.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/widebandpbcor.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/visstat.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/hanningsmooth.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/importvla.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/tclean.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/listcal.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/cvel2.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/listpartition.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/exportfits.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/sdsmooth.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/asdmsummary.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/clearcal.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/rmtables.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/clearstat.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/partition.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/imtrans.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/flagcmd.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/importfitsidi.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/fixvis.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/imval.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/importnro.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/sdcal.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/importasdm.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/smoothcal.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/sdgaincal.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/accum.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/__init__.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/listhistory.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/importgmrt.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/gaincal.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/immath.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/bandpass.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/simanalyze.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/specflux.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/applycal.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/sdbaseline.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/importuvfits.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/listobs.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/imstat.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/listsdm.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/immoments.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/importasap.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/uvcontsub.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/exportasdm.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/fluxscale.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/gencal.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/imcollapse.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/config.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/imcontsub.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/vishead.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/calstat.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/imdev.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/feather.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/specfit.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/uvsub.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/ft.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/initweights.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/listfits.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/imsubimage.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/simalma.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/impv.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/split.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/polcal.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/conjugatevis.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/flagdata.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/slsearch.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/imfit.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/flagmanager.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/simobserve.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/makemask.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/exportuvfits.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/sdfit.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/importatca.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/splattotable.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/accor.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/impbcor.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/importfits.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/listvis.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/imsmooth.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/imhistory.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/concat.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/statwt.py -> build/lib/casatasks build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/imhead.py -> build/lib/casatasks error 30-Jul-2019 15:10:06 package init file 'build/lib.linux-x86_64-3.6/casatasks/private/__init__.py' not found (or not a regular file) build 30-Jul-2019 15:10:06 creating build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_fixplanets.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_accum.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_uvmodelfit.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_imsubimage.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_importvla.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/JPLephem_reader2.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_sdfit.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_applycal.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_imcollapse.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_imval.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_feather.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_listhistory.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_listpartition.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_fluxscale.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_tclean.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/vishead_util.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_listfits.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_mstransform.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_asdmsummary.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_importfitsidi.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_clearstat.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_sdbaseline.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_listobs.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_uvsub.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_imhead.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_simobserve.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/setjy_helper.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_importgmrt.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_statwt.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_vishead.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_cvel2.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/convertephem.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_importnro.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_split.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_calstat.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/sdbeamutil.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_imstat.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_cvel.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_splattotable.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/correct_ant_posns.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_listcal.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/flaghelper.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/userconfig.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_spxfit.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_flagcmd.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_flagdata.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_importatca.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_importmiriad.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/correct_ant_posns_alma.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/cleanhelper.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_flagmanager.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_imreframe.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_setjy.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_virtualconcat.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_importasap.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_ft.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/casa_transition.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_visstat.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_impv.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_imrebin.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_slsearch.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_specsmooth.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_listvis.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_hanningsmooth.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_sdgaincal.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_initweights.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_blcal.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_simanalyze.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_importfits.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_partition.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_imfit.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_sdsmooth.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_importuvfits.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_gaincal.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_widebandpbcor.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_concat.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_immoments.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_clearcal.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_conjugatevis.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/solar_system_setjy.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_polcal.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_impbcor.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_imsmooth.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/mstools.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_rmtables.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_predictcomp.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_listsdm.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/sdutil.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/partitionhelper.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_importasdm.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_simalma.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_imregrid.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/ialib.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_sdcal.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_delmod.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_exportuvfits.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_bandpass.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_makemask.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/callibrary.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/imtools.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_exportasdm.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_specfit.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/concatephem.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/predictcomp_helper.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/correct_ant_posns_evla.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/update_spw.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_exportfits.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_smoothcal.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/simutil.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_imtrans.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_fixvis.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_specflux.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_rmfit.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/cvt.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_accor.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_imcontsub.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_imdev.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_immath.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_sdfixscan.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_uvcontsub.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_gencal.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_imhistory.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_sdimaging.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/task_rerefant.py -> build/lib/casatasks/private build 30-Jul-2019 15:10:06 creating build/lib/casatasks/private/parallel build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/parallel/parallel_task_helper.py -> build/lib/casatasks/private/parallel build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/parallel/parallel_data_helper.py -> build/lib/casatasks/private/parallel build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/parallel/rflag_post_proc.py -> build/lib/casatasks/private/parallel build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/parallel/__init__.py -> build/lib/casatasks/private/parallel build 30-Jul-2019 15:10:06 creating build/lib/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers/imager_parallel_cube.py -> build/lib/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers/__init__.py -> build/lib/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers/parallel_imager_helper.py -> build/lib/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers/imager_parallel_deconvolver.py -> build/lib/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers/input_parameters.py -> build/lib/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers/imager_parallel_continuum.py -> build/lib/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying build/lib.linux-x86_64-3.6/casatasks/private/imagerhelpers/imager_base.py -> build/lib/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 creating build/bdist.linux-x86_64 build 30-Jul-2019 15:10:06 creating build/bdist.linux-x86_64/wheel build 30-Jul-2019 15:10:06 creating build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/setjy.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/rerefant.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/cvel.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/imregrid.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/sdimaging.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/blcal.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/rmfit.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/predictcomp.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/virtualconcat.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/uvmodelfit.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/spxfit.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/sdfixscan.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/fixplanets.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/imreframe.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/importmiriad.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/mstransform.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/imrebin.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/specsmooth.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 creating build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_fixplanets.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_accum.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_uvmodelfit.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_imsubimage.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_importvla.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/JPLephem_reader2.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_sdfit.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_applycal.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_imcollapse.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_imval.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_feather.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_listhistory.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_listpartition.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_fluxscale.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_tclean.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/vishead_util.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_listfits.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_mstransform.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_asdmsummary.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_importfitsidi.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_clearstat.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_sdbaseline.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_listobs.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_uvsub.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_imhead.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_simobserve.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/setjy_helper.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_importgmrt.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_statwt.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_vishead.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_cvel2.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/convertephem.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_importnro.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_split.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_calstat.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/sdbeamutil.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_imstat.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_cvel.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_splattotable.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/correct_ant_posns.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_listcal.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/flaghelper.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/userconfig.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_spxfit.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_flagcmd.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_flagdata.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_importatca.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_importmiriad.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/correct_ant_posns_alma.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/cleanhelper.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_flagmanager.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_imreframe.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_setjy.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_virtualconcat.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_importasap.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_ft.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/casa_transition.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_visstat.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_impv.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_imrebin.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_slsearch.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_specsmooth.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_listvis.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_hanningsmooth.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 creating build/bdist.linux-x86_64/wheel/casatasks/private/parallel build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/parallel/parallel_task_helper.py -> build/bdist.linux-x86_64/wheel/casatasks/private/parallel build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/parallel/parallel_data_helper.py -> build/bdist.linux-x86_64/wheel/casatasks/private/parallel build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/parallel/rflag_post_proc.py -> build/bdist.linux-x86_64/wheel/casatasks/private/parallel build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/parallel/__init__.py -> build/bdist.linux-x86_64/wheel/casatasks/private/parallel build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_sdgaincal.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_initweights.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_blcal.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_simanalyze.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_importfits.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_partition.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_imfit.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_sdsmooth.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_importuvfits.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_gaincal.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_widebandpbcor.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_concat.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_immoments.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_clearcal.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_conjugatevis.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/solar_system_setjy.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_polcal.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_impbcor.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_imsmooth.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/mstools.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_rmtables.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_predictcomp.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_listsdm.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/sdutil.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/partitionhelper.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_importasdm.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_simalma.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_imregrid.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/ialib.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_sdcal.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_delmod.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 creating build/bdist.linux-x86_64/wheel/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/imagerhelpers/imager_parallel_cube.py -> build/bdist.linux-x86_64/wheel/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/imagerhelpers/__init__.py -> build/bdist.linux-x86_64/wheel/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/imagerhelpers/parallel_imager_helper.py -> build/bdist.linux-x86_64/wheel/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/imagerhelpers/imager_parallel_deconvolver.py -> build/bdist.linux-x86_64/wheel/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/imagerhelpers/input_parameters.py -> build/bdist.linux-x86_64/wheel/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/imagerhelpers/imager_parallel_continuum.py -> build/bdist.linux-x86_64/wheel/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/imagerhelpers/imager_base.py -> build/bdist.linux-x86_64/wheel/casatasks/private/imagerhelpers build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_exportuvfits.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_bandpass.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_makemask.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/callibrary.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/imtools.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_exportasdm.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_specfit.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/concatephem.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/predictcomp_helper.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/correct_ant_posns_evla.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/update_spw.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_exportfits.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_smoothcal.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/simutil.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_imtrans.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_fixvis.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_specflux.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_rmfit.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/cvt.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_accor.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_imcontsub.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_imdev.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_immath.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_sdfixscan.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_uvcontsub.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_gencal.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_imhistory.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_sdimaging.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/private/task_rerefant.py -> build/bdist.linux-x86_64/wheel/casatasks/private build 30-Jul-2019 15:10:06 copying build/lib/casatasks/delmod.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/widebandpbcor.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/visstat.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/hanningsmooth.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/importvla.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/tclean.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/listcal.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/cvel2.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/listpartition.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/exportfits.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/sdsmooth.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/asdmsummary.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/clearcal.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/rmtables.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/clearstat.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/partition.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/imtrans.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/flagcmd.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/importfitsidi.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/fixvis.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/imval.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/importnro.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/sdcal.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/importasdm.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/smoothcal.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/sdgaincal.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/accum.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/__init__.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/listhistory.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/importgmrt.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/gaincal.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/immath.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/bandpass.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/simanalyze.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/specflux.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/applycal.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/sdbaseline.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/importuvfits.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/listobs.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/imstat.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/listsdm.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/immoments.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/importasap.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/uvcontsub.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/exportasdm.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/fluxscale.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/gencal.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/imcollapse.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/config.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/imcontsub.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/vishead.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/calstat.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/imdev.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/feather.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/specfit.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/uvsub.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/ft.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/initweights.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/listfits.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/imsubimage.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/simalma.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/impv.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/split.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/polcal.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/conjugatevis.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/flagdata.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/slsearch.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/imfit.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/flagmanager.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/simobserve.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/makemask.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/exportuvfits.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/sdfit.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/importatca.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/splattotable.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/accor.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/impbcor.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/importfits.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/listvis.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/imsmooth.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/imhistory.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/concat.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/statwt.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 copying build/lib/casatasks/imhead.py -> build/bdist.linux-x86_64/wheel/casatasks build 30-Jul-2019 15:10:06 running install_egg_info build 30-Jul-2019 15:10:06 running egg_info build 30-Jul-2019 15:10:06 creating casatasks.egg-info build 30-Jul-2019 15:10:06 writing casatasks.egg-info/PKG-INFO build 30-Jul-2019 15:10:06 writing dependency_links to casatasks.egg-info/dependency_links.txt build 30-Jul-2019 15:10:06 writing requirements to casatasks.egg-info/requires.txt build 30-Jul-2019 15:10:06 writing top-level names to casatasks.egg-info/top_level.txt build 30-Jul-2019 15:10:06 writing manifest file 'casatasks.egg-info/SOURCES.txt' build 30-Jul-2019 15:10:06 reading manifest file 'casatasks.egg-info/SOURCES.txt' build 30-Jul-2019 15:10:06 writing manifest file 'casatasks.egg-info/SOURCES.txt' build 30-Jul-2019 15:10:06 Copying casatasks.egg-info to build/bdist.linux-x86_64/wheel/casatasks-2019.127-py3.6.egg-info build 30-Jul-2019 15:10:06 running install_scripts build 30-Jul-2019 15:10:06 creating build/bdist.linux-x86_64/wheel/casatasks-2019.127.dist-info/WHEEL build 30-Jul-2019 15:10:06 creating 'dist/casatasks-2019.127-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it build 30-Jul-2019 15:10:06 adding 'casatasks/__init__.py' build 30-Jul-2019 15:10:06 adding 'casatasks/accor.py' build 30-Jul-2019 15:10:06 adding 'casatasks/accum.py' build 30-Jul-2019 15:10:06 adding 'casatasks/applycal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/asdmsummary.py' build 30-Jul-2019 15:10:06 adding 'casatasks/bandpass.py' build 30-Jul-2019 15:10:06 adding 'casatasks/blcal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/calstat.py' build 30-Jul-2019 15:10:06 adding 'casatasks/clearcal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/clearstat.py' build 30-Jul-2019 15:10:06 adding 'casatasks/concat.py' build 30-Jul-2019 15:10:06 adding 'casatasks/config.py' build 30-Jul-2019 15:10:06 adding 'casatasks/conjugatevis.py' build 30-Jul-2019 15:10:06 adding 'casatasks/cvel.py' build 30-Jul-2019 15:10:06 adding 'casatasks/cvel2.py' build 30-Jul-2019 15:10:06 adding 'casatasks/delmod.py' build 30-Jul-2019 15:10:06 adding 'casatasks/exportasdm.py' build 30-Jul-2019 15:10:06 adding 'casatasks/exportfits.py' build 30-Jul-2019 15:10:06 adding 'casatasks/exportuvfits.py' build 30-Jul-2019 15:10:06 adding 'casatasks/feather.py' build 30-Jul-2019 15:10:06 adding 'casatasks/fixplanets.py' build 30-Jul-2019 15:10:06 adding 'casatasks/fixvis.py' build 30-Jul-2019 15:10:06 adding 'casatasks/flagcmd.py' build 30-Jul-2019 15:10:06 adding 'casatasks/flagdata.py' build 30-Jul-2019 15:10:06 adding 'casatasks/flagmanager.py' build 30-Jul-2019 15:10:06 adding 'casatasks/fluxscale.py' build 30-Jul-2019 15:10:06 adding 'casatasks/ft.py' build 30-Jul-2019 15:10:06 adding 'casatasks/gaincal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/gencal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/hanningsmooth.py' build 30-Jul-2019 15:10:06 adding 'casatasks/imcollapse.py' build 30-Jul-2019 15:10:06 adding 'casatasks/imcontsub.py' build 30-Jul-2019 15:10:06 adding 'casatasks/imdev.py' build 30-Jul-2019 15:10:06 adding 'casatasks/imfit.py' build 30-Jul-2019 15:10:06 adding 'casatasks/imhead.py' build 30-Jul-2019 15:10:06 adding 'casatasks/imhistory.py' build 30-Jul-2019 15:10:06 adding 'casatasks/immath.py' build 30-Jul-2019 15:10:06 adding 'casatasks/immoments.py' build 30-Jul-2019 15:10:06 adding 'casatasks/impbcor.py' build 30-Jul-2019 15:10:06 adding 'casatasks/importasap.py' build 30-Jul-2019 15:10:06 adding 'casatasks/importasdm.py' build 30-Jul-2019 15:10:06 adding 'casatasks/importatca.py' build 30-Jul-2019 15:10:06 adding 'casatasks/importfits.py' build 30-Jul-2019 15:10:06 adding 'casatasks/importfitsidi.py' build 30-Jul-2019 15:10:06 adding 'casatasks/importgmrt.py' build 30-Jul-2019 15:10:06 adding 'casatasks/importmiriad.py' build 30-Jul-2019 15:10:06 adding 'casatasks/importnro.py' build 30-Jul-2019 15:10:06 adding 'casatasks/importuvfits.py' build 30-Jul-2019 15:10:06 adding 'casatasks/importvla.py' build 30-Jul-2019 15:10:06 adding 'casatasks/impv.py' build 30-Jul-2019 15:10:06 adding 'casatasks/imrebin.py' build 30-Jul-2019 15:10:06 adding 'casatasks/imreframe.py' build 30-Jul-2019 15:10:06 adding 'casatasks/imregrid.py' build 30-Jul-2019 15:10:06 adding 'casatasks/imsmooth.py' build 30-Jul-2019 15:10:06 adding 'casatasks/imstat.py' build 30-Jul-2019 15:10:06 adding 'casatasks/imsubimage.py' build 30-Jul-2019 15:10:06 adding 'casatasks/imtrans.py' build 30-Jul-2019 15:10:06 adding 'casatasks/imval.py' build 30-Jul-2019 15:10:06 adding 'casatasks/initweights.py' build 30-Jul-2019 15:10:06 adding 'casatasks/listcal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/listfits.py' build 30-Jul-2019 15:10:06 adding 'casatasks/listhistory.py' build 30-Jul-2019 15:10:06 adding 'casatasks/listobs.py' build 30-Jul-2019 15:10:06 adding 'casatasks/listpartition.py' build 30-Jul-2019 15:10:06 adding 'casatasks/listsdm.py' build 30-Jul-2019 15:10:06 adding 'casatasks/listvis.py' build 30-Jul-2019 15:10:06 adding 'casatasks/makemask.py' build 30-Jul-2019 15:10:06 adding 'casatasks/mstransform.py' build 30-Jul-2019 15:10:06 adding 'casatasks/partition.py' build 30-Jul-2019 15:10:06 adding 'casatasks/polcal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/predictcomp.py' build 30-Jul-2019 15:10:06 adding 'casatasks/rerefant.py' build 30-Jul-2019 15:10:06 adding 'casatasks/rmfit.py' build 30-Jul-2019 15:10:06 adding 'casatasks/rmtables.py' build 30-Jul-2019 15:10:06 adding 'casatasks/sdbaseline.py' build 30-Jul-2019 15:10:06 adding 'casatasks/sdcal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/sdfit.py' build 30-Jul-2019 15:10:06 adding 'casatasks/sdfixscan.py' build 30-Jul-2019 15:10:06 adding 'casatasks/sdgaincal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/sdimaging.py' build 30-Jul-2019 15:10:06 adding 'casatasks/sdsmooth.py' build 30-Jul-2019 15:10:06 adding 'casatasks/setjy.py' build 30-Jul-2019 15:10:06 adding 'casatasks/simalma.py' build 30-Jul-2019 15:10:06 adding 'casatasks/simanalyze.py' build 30-Jul-2019 15:10:06 adding 'casatasks/simobserve.py' build 30-Jul-2019 15:10:06 adding 'casatasks/slsearch.py' build 30-Jul-2019 15:10:06 adding 'casatasks/smoothcal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/specfit.py' build 30-Jul-2019 15:10:06 adding 'casatasks/specflux.py' build 30-Jul-2019 15:10:06 adding 'casatasks/specsmooth.py' build 30-Jul-2019 15:10:06 adding 'casatasks/splattotable.py' build 30-Jul-2019 15:10:06 adding 'casatasks/split.py' build 30-Jul-2019 15:10:06 adding 'casatasks/spxfit.py' build 30-Jul-2019 15:10:06 adding 'casatasks/statwt.py' build 30-Jul-2019 15:10:06 adding 'casatasks/tclean.py' build 30-Jul-2019 15:10:06 adding 'casatasks/uvcontsub.py' build 30-Jul-2019 15:10:06 adding 'casatasks/uvmodelfit.py' build 30-Jul-2019 15:10:06 adding 'casatasks/uvsub.py' build 30-Jul-2019 15:10:06 adding 'casatasks/virtualconcat.py' build 30-Jul-2019 15:10:06 adding 'casatasks/vishead.py' build 30-Jul-2019 15:10:06 adding 'casatasks/visstat.py' build 30-Jul-2019 15:10:06 adding 'casatasks/widebandpbcor.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/JPLephem_reader2.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/callibrary.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/casa_transition.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/cleanhelper.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/concatephem.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/convertephem.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/correct_ant_posns.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/correct_ant_posns_alma.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/correct_ant_posns_evla.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/cvt.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/flaghelper.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/ialib.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/imtools.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/mstools.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/partitionhelper.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/predictcomp_helper.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/sdbeamutil.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/sdutil.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/setjy_helper.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/simutil.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/solar_system_setjy.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_accor.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_accum.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_applycal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_asdmsummary.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_bandpass.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_blcal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_calstat.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_clearcal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_clearstat.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_concat.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_conjugatevis.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_cvel.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_cvel2.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_delmod.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_exportasdm.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_exportfits.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_exportuvfits.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_feather.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_fixplanets.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_fixvis.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_flagcmd.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_flagdata.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_flagmanager.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_fluxscale.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_ft.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_gaincal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_gencal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_hanningsmooth.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_imcollapse.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_imcontsub.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_imdev.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_imfit.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_imhead.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_imhistory.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_immath.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_immoments.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_impbcor.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_importasap.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_importasdm.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_importatca.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_importfits.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_importfitsidi.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_importgmrt.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_importmiriad.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_importnro.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_importuvfits.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_importvla.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_impv.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_imrebin.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_imreframe.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_imregrid.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_imsmooth.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_imstat.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_imsubimage.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_imtrans.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_imval.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_initweights.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_listcal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_listfits.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_listhistory.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_listobs.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_listpartition.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_listsdm.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_listvis.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_makemask.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_mstransform.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_partition.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_polcal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_predictcomp.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_rerefant.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_rmfit.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_rmtables.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_sdbaseline.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_sdcal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_sdfit.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_sdfixscan.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_sdgaincal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_sdimaging.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_sdsmooth.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_setjy.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_simalma.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_simanalyze.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_simobserve.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_slsearch.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_smoothcal.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_specfit.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_specflux.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_specsmooth.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_splattotable.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_split.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_spxfit.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_statwt.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_tclean.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_uvcontsub.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_uvmodelfit.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_uvsub.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_virtualconcat.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_vishead.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_visstat.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/task_widebandpbcor.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/update_spw.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/userconfig.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/vishead_util.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/imagerhelpers/__init__.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/imagerhelpers/imager_base.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/imagerhelpers/imager_parallel_continuum.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/imagerhelpers/imager_parallel_cube.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/imagerhelpers/imager_parallel_deconvolver.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/imagerhelpers/input_parameters.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/imagerhelpers/parallel_imager_helper.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/parallel/__init__.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/parallel/parallel_data_helper.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/parallel/parallel_task_helper.py' build 30-Jul-2019 15:10:06 adding 'casatasks/private/parallel/rflag_post_proc.py' build 30-Jul-2019 15:10:06 adding 'casatasks-2019.127.dist-info/METADATA' build 30-Jul-2019 15:10:06 adding 'casatasks-2019.127.dist-info/WHEEL' build 30-Jul-2019 15:10:06 adding 'casatasks-2019.127.dist-info/top_level.txt' build 30-Jul-2019 15:10:06 adding 'casatasks-2019.127.dist-info/RECORD' build 30-Jul-2019 15:10:06 removing build/bdist.linux-x86_64/wheel build 30-Jul-2019 15:10:07 Cloning into 'casatasks'... build 30-Jul-2019 15:10:08 Cloning into 'casa-build-utils'... build 30-Jul-2019 15:10:09 diff --git a/casa-source b/casa-source build 30-Jul-2019 15:10:09 index fd27803..f933d12 160000 build 30-Jul-2019 15:10:09 --- a/casa-source build 30-Jul-2019 15:10:09 +++ b/casa-source build 30-Jul-2019 15:10:09 @@ -1 +1 @@ build 30-Jul-2019 15:10:09 -Subproject commit fd278035e75821b1d87836f3d24537c10b74b7d1 build 30-Jul-2019 15:10:09 +Subproject commit f933d129fd037994a9245af55e8f8c4d0e1de77e build 30-Jul-2019 15:10:09 diff --git a/setup.py b/setup.py build 30-Jul-2019 15:10:09 index 37e4c45..7225d45 100755 build 30-Jul-2019 15:10:09 --- a/setup.py build 30-Jul-2019 15:10:09 +++ b/setup.py build 30-Jul-2019 15:10:09 @@ -580,6 +580,13 @@ def generate_pyinit(moduledir,tasks): build 30-Jul-2019 15:10:09 fd.write("def version_string( ): return \"%s\"\n" % casatasks_version) build 30-Jul-2019 15:10:09 fd.write("casalog.setglobal(True)\n") build 30-Jul-2019 15:10:09 fd.write("\n") build 30-Jul-2019 15:10:09 + fd.write("# When in MPI mode, this will put servers into their serve() loop.\n") build 30-Jul-2019 15:10:09 + fd.write("# From this point on user scripts can use tclean parallelization, Tier0 parallelization,\n") build 30-Jul-2019 15:10:09 + fd.write("# and MMS-parallel tasks\n") build 30-Jul-2019 15:10:09 + fd.write("try:\n") build 30-Jul-2019 15:10:09 + fd.write(" import casampi.private.start_mpi\n") build 30-Jul-2019 15:10:09 + fd.write("except ImportError:\n") build 30-Jul-2019 15:10:09 + fd.write(" pass\n") build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 class BuildCasa(build): build 30-Jul-2019 15:10:09 description = "Description of the command" build 30-Jul-2019 15:10:09 diff --git a/src/modules/imagerhelpers/imager_base.py b/src/modules/imagerhelpers/imager_base.py build 30-Jul-2019 15:10:09 index 52a1b63..adea1b4 100644 build 30-Jul-2019 15:10:09 --- a/src/modules/imagerhelpers/imager_base.py build 30-Jul-2019 15:10:09 +++ b/src/modules/imagerhelpers/imager_base.py build 30-Jul-2019 15:10:09 @@ -10,8 +10,11 @@ import copy build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 from casatasks.private.casa_transition import is_CASA6 build 30-Jul-2019 15:10:09 if is_CASA6: build 30-Jul-2019 15:10:09 - from casatools import synthesisimager, synthesisdeconvolver, synthesisnormalizer, iterbotsink build 30-Jul-2019 15:10:09 + from casatools import synthesisimager, synthesisdeconvolver, synthesisnormalizer, iterbotsink, ctsys, table build 30-Jul-2019 15:10:09 from casatasks import casalog build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + ctsys_hostinfo = ctsys.hostinfo build 30-Jul-2019 15:10:09 + _tb = table() build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 from taskinit import * build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @@ -21,6 +24,9 @@ else: build 30-Jul-2019 15:10:09 # make it look like the CASA6 version even though it's using the CASA5 named tool not present in CASA6 build 30-Jul-2019 15:10:09 iterbotsink = casac.synthesisiterbot build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + ctsys_hostinfo = casac.cu.hostinfo build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + _tb = tb build 30-Jul-2019 15:10:09 ''' build 30-Jul-2019 15:10:09 A set of helper functions for tclean. build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @@ -119,7 +125,6 @@ class PySynthesisImager: build 30-Jul-2019 15:10:09 # For cube imaging: align the data selections and image setup build 30-Jul-2019 15:10:09 #if self.allimpars['0']['specmode'] != 'mfs' and self.allimpars['0']['specmode'] != 'cubedata': build 30-Jul-2019 15:10:09 # self.SItool.tuneselectdata() build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 #self.makeCFCache(exists); build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 ############################################# build 30-Jul-2019 15:10:09 @@ -128,6 +133,7 @@ class PySynthesisImager: build 30-Jul-2019 15:10:09 for immod in range(0,self.NF): build 30-Jul-2019 15:10:09 self.SDtools.append(synthesisdeconvolver()) build 30-Jul-2019 15:10:09 self.SDtools[immod].setupdeconvolution(decpars=self.alldecpars[str(immod)]) build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 ############################################# build 30-Jul-2019 15:10:09 ## Overloaded by ParallelCont build 30-Jul-2019 15:10:09 @@ -145,9 +151,32 @@ class PySynthesisImager: build 30-Jul-2019 15:10:09 itbot = self.IBtool.setupiteration(iterpars=self.iterpars) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 ############################################# build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 + def estimatememory(self): build 30-Jul-2019 15:10:09 + #print "MEMORY usage ", self.SItool.estimatememory(), type(self.SItool.estimatememory()) build 30-Jul-2019 15:10:09 + #griddermem=0 build 30-Jul-2019 15:10:09 + if(self.SItool != None): build 30-Jul-2019 15:10:09 + griddermem= self.SItool.estimatememory() build 30-Jul-2019 15:10:09 + deconmem=0 build 30-Jul-2019 15:10:09 + for immod in range(0,self.NF): build 30-Jul-2019 15:10:09 + ims= self.allimpars[str(immod)]['imsize'] build 30-Jul-2019 15:10:09 + if(type(ims)==int) : build 30-Jul-2019 15:10:09 + ims=[ims, ims] build 30-Jul-2019 15:10:09 + if(len(ims) ==1): build 30-Jul-2019 15:10:09 + ims.append(ims[0]) build 30-Jul-2019 15:10:09 + #print 'shape', self.allimpars[str(immod)]['imsize'], len(ims) build 30-Jul-2019 15:10:09 + #print "DECON mem usage ", self.SDtools[immod].estimatememory(ims) build 30-Jul-2019 15:10:09 + if(len(self.SDtools) > immod): build 30-Jul-2019 15:10:09 + if(self.SDtools != None): build 30-Jul-2019 15:10:09 + deconmem+=self.SDtools[immod].estimatememory(ims) build 30-Jul-2019 15:10:09 + availmem=ctsys_hostinfo()['memory']['available'] build 30-Jul-2019 15:10:09 + if((deconmem+griddermem) > 0.8*availmem): build 30-Jul-2019 15:10:09 + casalog.post("Memory available "+str(availmem)+" kB is very close to amount of required memory "+str(deconmem+griddermem)+" kB" , "WARN") build 30-Jul-2019 15:10:09 + else: build 30-Jul-2019 15:10:09 + casalog.post("Memory available "+str(availmem)+" kB and required memory "+str(deconmem+griddermem)+" kB" , "INFO2") build 30-Jul-2019 15:10:09 +############################################ build 30-Jul-2019 15:10:09 def restoreImages(self): build 30-Jul-2019 15:10:09 - for immod in range(0,self.NF): build 30-Jul-2019 15:10:09 + print("SHOW cache ",_tb.showcache()) build 30-Jul-2019 15:10:09 + for immod in range(0,self.NF): build 30-Jul-2019 15:10:09 self.SDtools[immod].restore() build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 ############################################# build 30-Jul-2019 15:10:09 diff --git a/src/modules/imagerhelpers/imager_parallel_continuum.py b/src/modules/imagerhelpers/imager_parallel_continuum.py build 30-Jul-2019 15:10:09 index fb71225..b0df4db 100644 build 30-Jul-2019 15:10:09 --- a/src/modules/imagerhelpers/imager_parallel_continuum.py build 30-Jul-2019 15:10:09 +++ b/src/modules/imagerhelpers/imager_parallel_continuum.py build 30-Jul-2019 15:10:09 @@ -480,3 +480,9 @@ class PyParallelContSynthesisImager(PySynthesisImager): build 30-Jul-2019 15:10:09 for node in self.listOfNodes: build 30-Jul-2019 15:10:09 joblist.append( self.PH.runcmd("toolsi.predictmodel()",node) ) build 30-Jul-2019 15:10:09 self.PH.checkJobs( joblist ) # this call blocks until all are done. build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + def estimatememory(self): build 30-Jul-2019 15:10:09 + joblist=[] build 30-Jul-2019 15:10:09 + for node in self.listOfNodes: build 30-Jul-2019 15:10:09 + joblist.append( self.PH.runcmd("toolsi.estimatememory()", node) ) build 30-Jul-2019 15:10:09 + self.PH.checkJobs( joblist ) build 30-Jul-2019 15:10:09 diff --git a/src/modules/imagerhelpers/imager_parallel_cube.py b/src/modules/imagerhelpers/imager_parallel_cube.py build 30-Jul-2019 15:10:09 index 98493c6..4ddba80 100644 build 30-Jul-2019 15:10:09 --- a/src/modules/imagerhelpers/imager_parallel_cube.py build 30-Jul-2019 15:10:09 +++ b/src/modules/imagerhelpers/imager_parallel_cube.py build 30-Jul-2019 15:10:09 @@ -384,4 +384,10 @@ class PyParallelCubeSynthesisImager(): build 30-Jul-2019 15:10:09 joblist.append( self.PH.runcmd("imager.deleteTools()", node) ) build 30-Jul-2019 15:10:09 self.PH.checkJobs( joblist ) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + def estimatememory(self): build 30-Jul-2019 15:10:09 + joblist=[] build 30-Jul-2019 15:10:09 + #for node in self.listOfNodes: build 30-Jul-2019 15:10:09 + for node in self.modifiedListOfNodes: build 30-Jul-2019 15:10:09 + joblist.append( self.PH.runcmd("imager.estimatememory()", node) ) build 30-Jul-2019 15:10:09 + self.PH.checkJobs( joblist ) build 30-Jul-2019 15:10:09 ############################################# build 30-Jul-2019 15:10:09 diff --git a/src/modules/imagerhelpers/input_parameters.py b/src/modules/imagerhelpers/input_parameters.py build 30-Jul-2019 15:10:09 index 6fcd72e..bc12ea6 100644 build 30-Jul-2019 15:10:09 --- a/src/modules/imagerhelpers/input_parameters.py build 30-Jul-2019 15:10:09 +++ b/src/modules/imagerhelpers/input_parameters.py build 30-Jul-2019 15:10:09 @@ -114,7 +114,7 @@ class ImagerParameters(): build 30-Jul-2019 15:10:09 deconvolver='hogbom', build 30-Jul-2019 15:10:09 scales=[], build 30-Jul-2019 15:10:09 nterms=1, build 30-Jul-2019 15:10:09 - scalebias=0.6, build 30-Jul-2019 15:10:09 + scalebias=0.0, build 30-Jul-2019 15:10:09 restoringbeam=[], build 30-Jul-2019 15:10:09 # mtype='default', build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 diff --git a/src/modules/parallel/parallel_task_helper.py b/src/modules/parallel/parallel_task_helper.py build 30-Jul-2019 15:10:09 index bf56fd6..b8227c6 100644 build 30-Jul-2019 15:10:09 --- a/src/modules/parallel/parallel_task_helper.py build 30-Jul-2019 15:10:09 +++ b/src/modules/parallel/parallel_task_helper.py build 30-Jul-2019 15:10:09 @@ -46,10 +46,15 @@ import traceback build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 # jagonzal (Migration to MPI) build 30-Jul-2019 15:10:09 try: build 30-Jul-2019 15:10:09 - from mpi4casa.MPIEnvironment import MPIEnvironment build 30-Jul-2019 15:10:09 - from mpi4casa.MPICommandClient import MPICommandClient build 30-Jul-2019 15:10:09 - mpi_available = True build 30-Jul-2019 15:10:09 -except: build 30-Jul-2019 15:10:09 + if is_CASA6: build 30-Jul-2019 15:10:09 + from casampi.MPIEnvironment import MPIEnvironment build 30-Jul-2019 15:10:09 + from casampi.MPICommandClient import MPICommandClient build 30-Jul-2019 15:10:09 + mpi_available = True build 30-Jul-2019 15:10:09 + else: build 30-Jul-2019 15:10:09 + from mpi4casa.MPIEnvironment import MPIEnvironment build 30-Jul-2019 15:10:09 + from mpi4casa.MPICommandClient import MPICommandClient build 30-Jul-2019 15:10:09 + mpi_available = True build 30-Jul-2019 15:10:09 +except ImportError: build 30-Jul-2019 15:10:09 mpi_available = False build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 class JobData: build 30-Jul-2019 15:10:09 @@ -160,7 +165,7 @@ class ParallelTaskHelper: build 30-Jul-2019 15:10:09 a task parallel is to use this rather than the TaskHelper method build 30-Jul-2019 15:10:09 above build 30-Jul-2019 15:10:09 """ build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 __bypass_parallel_processing = 0 build 30-Jul-2019 15:10:09 __async_mode = False build 30-Jul-2019 15:10:09 __multithreading = False build 30-Jul-2019 15:10:09 @@ -261,17 +266,17 @@ class ParallelTaskHelper: build 30-Jul-2019 15:10:09 parameters = job.getCommandArguments() build 30-Jul-2019 15:10:09 try: build 30-Jul-2019 15:10:09 if is_CASA6: build 30-Jul-2019 15:10:09 - vars = globals( ) build 30-Jul-2019 15:10:09 + gvars = globals( ) build 30-Jul-2019 15:10:09 try: build 30-Jul-2019 15:10:09 - exec("from casatasks import *; " + job.getCommandLine(),vars) build 30-Jul-2019 15:10:09 - except Exception as e: build 30-Jul-2019 15:10:09 - print("exec in parallel_task_helper.executeJobs failed: %s" % e) build 30-Jul-2019 15:10:09 + exec("from casatasks import *; " + job.getCommandLine(),gvars) build 30-Jul-2019 15:10:09 + except Exception as exc: build 30-Jul-2019 15:10:09 + casalog.post("exec in parallel_task_helper.executeJobs failed: {}'".format(exc)) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 # jagonzal: Special case for partition build 30-Jul-2019 15:10:09 if 'outputvis' in parameters: build 30-Jul-2019 15:10:09 - self._sequential_return_list[parameters['outputvis']] = vars['returnVar0'] build 30-Jul-2019 15:10:09 + self._sequential_return_list[parameters['outputvis']] = gvars['returnVar0'] build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 - self._sequential_return_list[parameters['vis']] = vars['returnVar0'] build 30-Jul-2019 15:10:09 + self._sequential_return_list[parameters['vis']] = gvars['returnVar0'] build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 exec("from taskinit import *; from tasks import *; " + job.getCommandLine()) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @@ -410,18 +415,19 @@ class ParallelTaskHelper: build 30-Jul-2019 15:10:09 ret = ParallelTaskHelper.consolidateResults(ret_list,taskname) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 return ret build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 def go(self): build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 casalog.origin("ParallelTaskHelper") build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 self.initialize() build 30-Jul-2019 15:10:09 if (self.generateJobs()): build 30-Jul-2019 15:10:09 self.executeJobs() build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 if ParallelTaskHelper.__async_mode: build 30-Jul-2019 15:10:09 - return list(self._command_request_id_list) build 30-Jul-2019 15:10:09 + res_list = [] if self._command_request_id_list is None else list(self._command_request_id_list) build 30-Jul-2019 15:10:09 + return res_list build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 try: build 30-Jul-2019 15:10:09 retVar = self.postExecution() build 30-Jul-2019 15:10:09 @@ -431,10 +437,10 @@ class ParallelTaskHelper: build 30-Jul-2019 15:10:09 return False build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 retVar = False build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 # Restore casalog origin build 30-Jul-2019 15:10:09 casalog.origin(self._taskName) build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 return retVar build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @staticmethod build 30-Jul-2019 15:10:09 @@ -631,14 +637,19 @@ class ParallelTaskWorker: build 30-Jul-2019 15:10:09 self.__completion_event = threading.Event() build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 def getEnvironment(self): build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 - stack=inspect.stack() build 30-Jul-2019 15:10:09 - for stack_level in range(len(stack)): build 30-Jul-2019 15:10:09 - frame_globals=sys._getframe(stack_level).f_globals build 30-Jul-2019 15:10:09 - if 'update_params' in frame_globals: build 30-Jul-2019 15:10:09 - return dict(frame_globals) build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 - raise Exception("CASA top level environment not found") build 30-Jul-2019 15:10:09 + try: build 30-Jul-2019 15:10:09 + # casampi should not depend on globals (casashell). And CASA6/casashell doesn't build 30-Jul-2019 15:10:09 + # anyway have init_tasks:update_params. Keep going w/o globals build 30-Jul-2019 15:10:09 + import casampi build 30-Jul-2019 15:10:09 + return {} build 30-Jul-2019 15:10:09 + except ImportError: build 30-Jul-2019 15:10:09 + stack=inspect.stack() build 30-Jul-2019 15:10:09 + for stack_level in range(len(stack)): build 30-Jul-2019 15:10:09 + frame_globals=sys._getframe(stack_level).f_globals build 30-Jul-2019 15:10:09 + if 'update_params' in frame_globals: build 30-Jul-2019 15:10:09 + return dict(frame_globals) build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + raise Exception("CASA top level environment not found") build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 def start(self): build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 diff --git a/src/scripts/simutil.py b/src/scripts/simutil.py build 30-Jul-2019 15:10:09 index 5a58d22..2ad2c2d 100644 build 30-Jul-2019 15:10:09 --- a/src/scripts/simutil.py build 30-Jul-2019 15:10:09 +++ b/src/scripts/simutil.py build 30-Jul-2019 15:10:09 @@ -3033,7 +3033,7 @@ class simutil: build 30-Jul-2019 15:10:09 cleanlast.write('scaletype = "SAULT"\n') build 30-Jul-2019 15:10:09 cleanlast.write('multiscale = []\n') build 30-Jul-2019 15:10:09 cleanlast.write('negcomponent = -1\n') build 30-Jul-2019 15:10:09 - cleanlast.write('smallscalebias = 0.6\n') build 30-Jul-2019 15:10:09 + cleanlast.write('smallscalebias = 0.0\n') build 30-Jul-2019 15:10:09 cleanlast.write('interactive = '+str(interactive)+'\n') build 30-Jul-2019 15:10:09 if interactive: build 30-Jul-2019 15:10:09 cleanstr=cleanstr+",interactive=True" build 30-Jul-2019 15:10:09 diff --git a/src/tasks/task_importvla.py b/src/tasks/task_importvla.py build 30-Jul-2019 15:10:09 index 8dec46f..fe6b244 100644 build 30-Jul-2019 15:10:09 --- a/src/tasks/task_importvla.py build 30-Jul-2019 15:10:09 +++ b/src/tasks/task_importvla.py build 30-Jul-2019 15:10:09 @@ -5,21 +5,22 @@ import os build 30-Jul-2019 15:10:09 # get is_CASA6 and is_python3 build 30-Jul-2019 15:10:09 from casatasks.private.casa_transition import * build 30-Jul-2019 15:10:09 if is_CASA6: build 30-Jul-2019 15:10:09 - from casatools import vlafiller, ms, agentflagger build 30-Jul-2019 15:10:09 + from casatools import vlafiller, ms, agentflagger, table build 30-Jul-2019 15:10:09 from casatasks import casalog build 30-Jul-2019 15:10:09 from .mstools import write_history build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 _ms = ms( ) build 30-Jul-2019 15:10:09 - _af = agentflagger( ) build 30-Jul-2019 15:10:09 _filler = vlafiller( ) build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 from taskinit import casac, casalog build 30-Jul-2019 15:10:09 + from taskinit import tbtool as table build 30-Jul-2019 15:10:09 from mstools import write_history build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 _filler = casac.vlafillertask() build 30-Jul-2019 15:10:09 - _af = casac.agentflagger() build 30-Jul-2019 15:10:09 _ms = casac.ms() build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + agentflagger = casac.agentflagger build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 def importvla(archivefiles,vis,bandname,frequencytol,project,starttime, build 30-Jul-2019 15:10:09 stoptime,applytsys,autocorr,antnamescheme,keepblanks,evlabands): build 30-Jul-2019 15:10:09 i=0 build 30-Jul-2019 15:10:09 @@ -42,9 +43,25 @@ def importvla(archivefiles,vis,bandname,frequencytol,project,starttime, build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 raise Exception('Archive file not found - please verify the name') build 30-Jul-2019 15:10:09 except Exception: build 30-Jul-2019 15:10:09 - print('*** Error importing %s to %s:' % (archivefiles, vis)) build 30-Jul-2019 15:10:09 + casalog.post("*** Error importing %s to %s" % (archivefiles, vis), 'SEVERE') build 30-Jul-2019 15:10:09 + casalog.post(" %s" % instance, 'SEVERE') build 30-Jul-2019 15:10:09 + raise build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + nrows = 0 build 30-Jul-2019 15:10:09 + try: build 30-Jul-2019 15:10:09 + _tb = table() build 30-Jul-2019 15:10:09 + ok &=_tb.open(vis) build 30-Jul-2019 15:10:09 + nrows = _tb.nrows() build 30-Jul-2019 15:10:09 + _tb.done() build 30-Jul-2019 15:10:09 + except Exception: build 30-Jul-2019 15:10:09 + casalog.post("*** Error checking size of visibility file %s: %s" % (vis,instance), 'SEVERE') build 30-Jul-2019 15:10:09 raise build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + if nrows == 0: build 30-Jul-2019 15:10:09 + msg = "*** visibility file is empty: %s" % vis build 30-Jul-2019 15:10:09 + casalog.post(msg, 'SEVERE') build 30-Jul-2019 15:10:09 + raise Exception(msg) build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 # Write history build 30-Jul-2019 15:10:09 try: build 30-Jul-2019 15:10:09 param_names = importvla.__code__.co_varnames[:importvla.__code__.co_argcount] build 30-Jul-2019 15:10:09 @@ -58,10 +75,12 @@ def importvla(archivefiles,vis,bandname,frequencytol,project,starttime, build 30-Jul-2019 15:10:09 casalog.post("*** Error \'%s\' updating HISTORY" % instance, 'WARN') build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 # write initial flag version build 30-Jul-2019 15:10:09 - try: build 30-Jul-2019 15:10:09 - ok &= _af.open(vis); build 30-Jul-2019 15:10:09 - ok &= _af.saveflagversion('Original', comment='Original flags at import into CASA', merge='replace') build 30-Jul-2019 15:10:09 - ok &= _af.done(); build 30-Jul-2019 15:10:09 - except: build 30-Jul-2019 15:10:09 - print('*** Error writing initial flag version of %s:' % vis) build 30-Jul-2019 15:10:09 - raise build 30-Jul-2019 15:10:09 + if ok: build 30-Jul-2019 15:10:09 + try: build 30-Jul-2019 15:10:09 + _af = agentflagger() build 30-Jul-2019 15:10:09 + ok &= _af.open(vis); build 30-Jul-2019 15:10:09 + ok &= _af.saveflagversion('Original', comment='Original flags at import into CASA', merge='replace') build 30-Jul-2019 15:10:09 + ok &= _af.done(); build 30-Jul-2019 15:10:09 + except: build 30-Jul-2019 15:10:09 + casalog.post("*** Error writing initial flag version of %s: %s" % (vis, instance), 'SEVERE') build 30-Jul-2019 15:10:09 + raise build 30-Jul-2019 15:10:09 diff --git a/src/tasks/task_simobserve.py b/src/tasks/task_simobserve.py build 30-Jul-2019 15:10:09 index 8f987ab..3af91e4 100644 build 30-Jul-2019 15:10:09 --- a/src/tasks/task_simobserve.py build 30-Jul-2019 15:10:09 +++ b/src/tasks/task_simobserve.py build 30-Jul-2019 15:10:09 @@ -19,17 +19,17 @@ else: build 30-Jul-2019 15:10:09 from simutil import is_array_type build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 def simobserve( build 30-Jul-2019 15:10:09 - project=None, build 30-Jul-2019 15:10:09 - skymodel=None, inbright=None, indirection=None, incell=None, build 30-Jul-2019 15:10:09 + project=None, build 30-Jul-2019 15:10:09 + skymodel=None, inbright=None, indirection=None, incell=None, build 30-Jul-2019 15:10:09 incenter=None, inwidth=None, # innchan=None, build 30-Jul-2019 15:10:09 complist=None, compwidth=None, comp_nchan=1, build 30-Jul-2019 15:10:09 setpointings=None, build 30-Jul-2019 15:10:09 - ptgfile=None, integration=None, direction=None, mapsize=None, build 30-Jul-2019 15:10:09 - maptype=None, pointingspacing=None, caldirection=None, calflux=None, build 30-Jul-2019 15:10:09 + ptgfile=None, integration=None, direction=None, mapsize=None, build 30-Jul-2019 15:10:09 + maptype=None, pointingspacing=None, caldirection=None, calflux=None, build 30-Jul-2019 15:10:09 # observe=None, build 30-Jul-2019 15:10:09 - obsmode=None, build 30-Jul-2019 15:10:09 - refdate=None, hourangle=None, build 30-Jul-2019 15:10:09 - totaltime=None, antennalist=None, build 30-Jul-2019 15:10:09 + obsmode=None, build 30-Jul-2019 15:10:09 + refdate=None, hourangle=None, build 30-Jul-2019 15:10:09 + totaltime=None, antennalist=None, build 30-Jul-2019 15:10:09 sdantlist=None, build 30-Jul-2019 15:10:09 sdant=None, build 30-Jul-2019 15:10:09 outframe=None, build 30-Jul-2019 15:10:09 @@ -37,7 +37,7 @@ def simobserve( build 30-Jul-2019 15:10:09 user_pwv=None, t_ground=None, t_sky=None, tau0=None, seed=None, build 30-Jul-2019 15:10:09 leakage=None, build 30-Jul-2019 15:10:09 graphics=None, build 30-Jul-2019 15:10:09 - verbose=None, build 30-Jul-2019 15:10:09 + verbose=None, build 30-Jul-2019 15:10:09 overwrite=None build 30-Jul-2019 15:10:09 ): build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @@ -67,12 +67,13 @@ def simobserve( build 30-Jul-2019 15:10:09 if not is_CASA6: build 30-Jul-2019 15:10:09 myf = stack_frame_find( ) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 - # create the utility object: build 30-Jul-2019 15:10:09 - util = simutil(direction) # this is the dir of the observation - could be "" build 30-Jul-2019 15:10:09 + # create the utility object build 30-Jul-2019 15:10:09 + # this is the dir of the observation (could be "") build 30-Jul-2019 15:10:09 + util = simutil(direction) build 30-Jul-2019 15:10:09 if verbose: util.verbose = True build 30-Jul-2019 15:10:09 msg = util.msg build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 - # it was requested to make the user interface "observe" for what build 30-Jul-2019 15:10:09 + # it was requested to make the user interface "observe" for what build 30-Jul-2019 15:10:09 # is sm.observe and sm.predict. build 30-Jul-2019 15:10:09 # interally the code is clearer if we stick with predict so build 30-Jul-2019 15:10:09 predict = obsmode.startswith('i') or obsmode.startswith('s') build 30-Jul-2019 15:10:09 @@ -99,7 +100,7 @@ def simobserve( build 30-Jul-2019 15:10:09 os.mkdir(fileroot) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 - # filename parsing of cfg file here so that the project filenames build 30-Jul-2019 15:10:09 + # filename parsing of cfg file here so that the project filenames build 30-Jul-2019 15:10:09 # can contain the cfg build 30-Jul-2019 15:10:09 if is_CASA6: build 30-Jul-2019 15:10:09 repodir = ctsys.resolve("alma/simmos") build 30-Jul-2019 15:10:09 @@ -124,11 +125,15 @@ def simobserve( build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 if not overwrite: build 30-Jul-2019 15:10:09 - if (predict and uvmode and os.path.exists(fileroot+"/"+project+".ms")): build 30-Jul-2019 15:10:09 - msg(fileroot+"/"+project+".ms exists but overwrite=F",priority="error") build 30-Jul-2019 15:10:09 + if (predict and uvmode and os.path.exists(fileroot+"/"+ build 30-Jul-2019 15:10:09 + project+".ms")): build 30-Jul-2019 15:10:09 + msg(fileroot+"/"+project+".ms exists but overwrite=F", build 30-Jul-2019 15:10:09 + priority="error") build 30-Jul-2019 15:10:09 return False build 30-Jul-2019 15:10:09 - if (predict and (not uvmode) and os.path.exists(fileroot+"/"+project+".sd.ms")): build 30-Jul-2019 15:10:09 - msg(fileroot+"/"+project+".sd.ms exists but overwrite=F",priority="error") build 30-Jul-2019 15:10:09 + if (predict and (not uvmode) and os.path.exists(fileroot+"/"+ build 30-Jul-2019 15:10:09 + project+".sd.ms")): build 30-Jul-2019 15:10:09 + msg(fileroot+"/"+project+".sd.ms exists but overwrite=F", build 30-Jul-2019 15:10:09 + priority="error") build 30-Jul-2019 15:10:09 return False build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @@ -151,17 +156,21 @@ def simobserve( build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 if((not os.path.exists(skymodel)) and (not os.path.exists(complist))): build 30-Jul-2019 15:10:09 if len(skymodel)>0: build 30-Jul-2019 15:10:09 - msg("Your skymodel '"+skymodel+"' could not be found.",priority="warn") build 30-Jul-2019 15:10:09 + msg("Your skymodel '"+skymodel+"' could not be found.", build 30-Jul-2019 15:10:09 + priority="warn") build 30-Jul-2019 15:10:09 if len(complist)>0: build 30-Jul-2019 15:10:09 - msg("Your complist '"+complist+"' could not be found.",priority="warn") build 30-Jul-2019 15:10:09 + msg("Your complist '"+complist+"' could not be found.", build 30-Jul-2019 15:10:09 + priority="warn") build 30-Jul-2019 15:10:09 if len(skymodel)==0 and len(complist)==0: build 30-Jul-2019 15:10:09 - msg("At least one of skymodel or complist must be set.",priority="error") build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 + msg("At least one of skymodel or complist must be set.", build 30-Jul-2019 15:10:09 + priority="error") build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 - msg("No sky input found. At least one of skymodel or complist must exist.",priority="error") build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 + msg("No sky input found."+ build 30-Jul-2019 15:10:09 + " At least one of skymodel or complist must exist.", build 30-Jul-2019 15:10:09 + priority="error") build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 - ### WORKAROUND for wrong flux in COMP TP simulations build 30-Jul-2019 15:10:09 + ### WORKAROUND for wrong flux in COMP TP simulations (CAS-5095) build 30-Jul-2019 15:10:09 if (obsmode.startswith("s") and os.path.exists(complist)): build 30-Jul-2019 15:10:09 msg("Single dish simulation has a flux recovery issue when using a components list as an input.\nPlease generate compskymodel image first by obsmode='' and use the image as the skymodel input.\nSorry for the inconvenience.", priority="error") build 30-Jul-2019 15:10:09 return False build 30-Jul-2019 15:10:09 @@ -182,7 +191,8 @@ def simobserve( build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 if os.path.exists(skymodel): build 30-Jul-2019 15:10:09 components_only = False build 30-Jul-2019 15:10:09 - # create a new skymodel called skymodel, or if its already there, called newmodel build 30-Jul-2019 15:10:09 + # create a new skymodel called skymodel, build 30-Jul-2019 15:10:09 + # or if it's already there, called newmodel build 30-Jul-2019 15:10:09 default_model = project + ".skymodel" build 30-Jul-2019 15:10:09 if skymodel == default_model: build 30-Jul-2019 15:10:09 newmodel = fileroot + "/" + project + ".newmodel" build 30-Jul-2019 15:10:09 @@ -192,7 +202,9 @@ def simobserve( build 30-Jul-2019 15:10:09 if overwrite: build 30-Jul-2019 15:10:09 shutil.rmtree(newmodel) build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 - msg(newmodel+" exists -- please delete it, change skymodel, or set overwrite=T",priority="error") build 30-Jul-2019 15:10:09 + msg(newmodel+" exists -- "+ build 30-Jul-2019 15:10:09 + "please delete it, change skymodel, or set overwrite=T", build 30-Jul-2019 15:10:09 + priority="error") build 30-Jul-2019 15:10:09 return False build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 # modifymodel just collects info if skymodel==newmodel build 30-Jul-2019 15:10:09 @@ -211,14 +223,17 @@ def simobserve( build 30-Jul-2019 15:10:09 modelflat = fileroot + "/" + project + ".skymodel.flat" build 30-Jul-2019 15:10:09 if os.path.exists(modelflat) and (not predict): build 30-Jul-2019 15:10:09 # if we're not predicting, then we want to use the previously build 30-Jul-2019 15:10:09 - # created modelflat, because it may have components added build 30-Jul-2019 15:10:09 - msg("flat sky model "+modelflat+" exists, predict not requested",priority="warn") build 30-Jul-2019 15:10:09 - msg(" working from existing model image - please delete it if you wish to overwrite.",priority="warn") build 30-Jul-2019 15:10:09 + # created modelflat, because it may have components added build 30-Jul-2019 15:10:09 + msg("flat sky model "+modelflat+ build 30-Jul-2019 15:10:09 + " exists, predict not requested",priority="warn") build 30-Jul-2019 15:10:09 + msg(" working from existing model image - "+ build 30-Jul-2019 15:10:09 + "please delete it if you wish to overwrite.", build 30-Jul-2019 15:10:09 + priority="warn") build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 # create and add components into modelflat with util.flatimage() build 30-Jul-2019 15:10:09 util.flatimage(newmodel,complist=complist,verbose=verbose) build 30-Jul-2019 15:10:09 - # we want the skymodel.flat image to be called that no matter what build 30-Jul-2019 15:10:09 - # the skymodel image is called, since that's what used in analysis build 30-Jul-2019 15:10:09 + # we want skymodel.flat image to be called that no matter what build 30-Jul-2019 15:10:09 + # the skymodel image is called, since it's used in analysis build 30-Jul-2019 15:10:09 if modelflat != newmodel+".flat": build 30-Jul-2019 15:10:09 if os.path.exists(modelflat): build 30-Jul-2019 15:10:09 shutil.rmtree(modelflat) build 30-Jul-2019 15:10:09 @@ -227,11 +242,13 @@ def simobserve( build 30-Jul-2019 15:10:09 casalog.origin('simobserve') build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 # set startfeq and bandwidth in util object after modifymodel build 30-Jul-2019 15:10:09 - bandwidth = qa.mul(qa.quantity(model_nchan),qa.quantity(model_width)) build 30-Jul-2019 15:10:09 + bandwidth = qa.mul(qa.quantity(model_nchan), build 30-Jul-2019 15:10:09 + qa.quantity(model_width)) build 30-Jul-2019 15:10:09 util.bandwidth = bandwidth build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 components_only = True build 30-Jul-2019 15:10:09 + msg("component-only simulation",priority="info") build 30-Jul-2019 15:10:09 # calculate model parameters from the component list: build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 compdirs = [] build 30-Jul-2019 15:10:09 @@ -243,13 +260,15 @@ def simobserve( build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 model_refdir, coffs = util.average_direction(compdirs) build 30-Jul-2019 15:10:09 model_specrefval = cl.getspectrum(0)['frequency']['m0'] build 30-Jul-2019 15:10:09 - model_specrefpix = 0. # components-only doesn't do cube build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 if util.isquantity(compwidth,halt=False): build 30-Jul-2019 15:10:09 model_width = compwidth build 30-Jul-2019 15:10:09 + msg("compwidth set: setting model bandwidth to input", build 30-Jul-2019 15:10:09 + priority="info") build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 model_width = "2GHz" build 30-Jul-2019 15:10:09 - msg("component-only simulation, compwidth unset: setting bandwidth to 2GHz",priority="warn") build 30-Jul-2019 15:10:09 + msg("compwidth unset: setting bandwidth to 2GHz", build 30-Jul-2019 15:10:09 + priority="warn") build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 model_nchan = comp_nchan build 30-Jul-2019 15:10:09 # channelize component-only MS build 30-Jul-2019 15:10:09 @@ -271,16 +290,18 @@ def simobserve( build 30-Jul-2019 15:10:09 model_size = ["%fdeg" % (3*cmax), "%fdeg" % (3*cmax)] build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 - # for cases either if there is a skymodel or if there are only components, build 30-Jul-2019 15:10:09 - # if the user has not input a map size (for setpointings), then use model_size build 30-Jul-2019 15:10:09 + # for cases either if there is a skymodel or are only components, build 30-Jul-2019 15:10:09 + # if user has not input a map size (for setpointings), use model_size build 30-Jul-2019 15:10:09 if len(mapsize) == 0: build 30-Jul-2019 15:10:09 mapsize = model_size build 30-Jul-2019 15:10:09 - if verbose: msg("setting map size to "+str(model_size),origin='simobserve') build 30-Jul-2019 15:10:09 + if verbose: msg("setting map size to "+str(model_size), build 30-Jul-2019 15:10:09 + origin='simobserve') build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 if is_array_type(mapsize): build 30-Jul-2019 15:10:09 if len(mapsize[0]) == 0: build 30-Jul-2019 15:10:09 mapsize = model_size build 30-Jul-2019 15:10:09 - if verbose: msg("setting map size to "+str(model_size),origin="simobserve") build 30-Jul-2019 15:10:09 + if verbose: msg("setting map size to "+str(model_size), build 30-Jul-2019 15:10:09 + origin="simobserve") build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 if components_only: build 30-Jul-2019 15:10:09 if is_array_type(mapsize): build 30-Jul-2019 15:10:09 @@ -317,14 +338,15 @@ def simobserve( build 30-Jul-2019 15:10:09 if util.isquantity(tail,halt=False): build 30-Jul-2019 15:10:09 resl = qa.convert(tail,"arcsec")['value'] build 30-Jul-2019 15:10:09 if os.path.exists(repodir): build 30-Jul-2019 15:10:09 - confnum = (1.044-6.733*pl.log10(resl*qa.convert(model_specrefval,"GHz")['value']/345.)) build 30-Jul-2019 15:10:09 + confnum = (1.044 - 6.733 * pl.log10(resl * qa.convert(model_specrefval,"GHz")['value'] / 345.)) build 30-Jul-2019 15:10:09 confnum = max(1,min(6,confnum)) build 30-Jul-2019 15:10:09 conf = str(int(round(confnum))) build 30-Jul-2019 15:10:09 antennalist = os.path.join(repodir,"alma.cycle1." + conf + ".cfg") build 30-Jul-2019 15:10:09 msg("converted resolution to antennalist "+antennalist) build 30-Jul-2019 15:10:09 resparsed=True build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 - msg("failed to find antenna configuration repository at "+repodir,priority="error") build 30-Jul-2019 15:10:09 + msg("failed to find antenna configuration repository"+ build 30-Jul-2019 15:10:09 + " at "+repodir,priority="error") build 30-Jul-2019 15:10:09 if not resparsed: build 30-Jul-2019 15:10:09 q = re.compile('.*CYCLE.?2.?;(.*)') build 30-Jul-2019 15:10:09 qq = q.match(antennalist.upper()) build 30-Jul-2019 15:10:09 @@ -335,7 +357,7 @@ def simobserve( build 30-Jul-2019 15:10:09 if util.isquantity(tail,halt=False): build 30-Jul-2019 15:10:09 resl = qa.convert(tail,"arcsec")['value'] build 30-Jul-2019 15:10:09 if os.path.exists(repodir): build 30-Jul-2019 15:10:09 - confnum = 10.**(0.91-0.74*(resl*qa.convert(model_specrefval,"GHz")['value']/345.)) build 30-Jul-2019 15:10:09 + confnum = 10. ** (0.91 - 0.74 * (resl * qa.convert(model_specrefval,"GHz")['value']/345.)) build 30-Jul-2019 15:10:09 confnum = max(1,min(7,confnum)) build 30-Jul-2019 15:10:09 conf = str(int(round(confnum))) build 30-Jul-2019 15:10:09 antennalist = os.path.join(repodir,"alma.cycle2." + conf + ".cfg") build 30-Jul-2019 15:10:09 @@ -368,7 +390,8 @@ def simobserve( build 30-Jul-2019 15:10:09 antennalist = os.path.join(repodir,antennalist) build 30-Jul-2019 15:10:09 # Now make sure the antennalist exists build 30-Jul-2019 15:10:09 if not os.path.exists(antennalist): build 30-Jul-2019 15:10:09 - util.msg("Couldn't find antennalist: %s" % antennalist, priority="error") build 30-Jul-2019 15:10:09 + util.msg("Couldn't find antennalist: %s" % antennalist, build 30-Jul-2019 15:10:09 + priority="error") build 30-Jul-2019 15:10:09 return False build 30-Jul-2019 15:10:09 elif predict or components_only: build 30-Jul-2019 15:10:09 # antennalist is required when predicting or components only build 30-Jul-2019 15:10:09 @@ -381,7 +404,8 @@ def simobserve( build 30-Jul-2019 15:10:09 if nant == 1: build 30-Jul-2019 15:10:09 if predict and uvmode: build 30-Jul-2019 15:10:09 # observe="int" but antennalist is SD build 30-Jul-2019 15:10:09 - util.msg("antennalist contains only 1 antenna", priority="error") build 30-Jul-2019 15:10:09 + util.msg("antennalist contains only 1 antenna", build 30-Jul-2019 15:10:09 + priority="error") build 30-Jul-2019 15:10:09 uvmode = False build 30-Jul-2019 15:10:09 antnames = [] build 30-Jul-2019 15:10:09 if not uvmode: #Single-dish build 30-Jul-2019 15:10:09 @@ -414,9 +438,9 @@ def simobserve( build 30-Jul-2019 15:10:09 psfsize = pb build 30-Jul-2019 15:10:09 # check for model size build 30-Jul-2019 15:10:09 if not components_only: build 30-Jul-2019 15:10:09 - minsize = min(qa.convert(model_size[0],'arcsec')['value'],\ build 30-Jul-2019 15:10:09 + minsize = min(qa.convert(model_size[0],'arcsec')['value'], build 30-Jul-2019 15:10:09 qa.convert(model_size[1],'arcsec')['value']) build 30-Jul-2019 15:10:09 - if minsize < 2.5*pb: build 30-Jul-2019 15:10:09 + if minsize < (2.5 * pb): build 30-Jul-2019 15:10:09 msg("skymodel should be larger than 2.5*primary beam. Your skymodel: %.3f arcsec < %.3f arcsec: 2.5*primary beam" % (minsize, 2.5*pb),priority="error") build 30-Jul-2019 15:10:09 del minsize build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 @@ -424,19 +448,20 @@ def simobserve( build 30-Jul-2019 15:10:09 return False build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 - # now we have an estimate of the psf from the antenna configuration, build 30-Jul-2019 15:10:09 - # so we can guess a model_cell for the case of component-only build 30-Jul-2019 15:10:09 - # simulation, build 30-Jul-2019 15:10:09 + # now we have an estimate of the psf from the antenna configuration, build 30-Jul-2019 15:10:09 + # so we can guess a model_cell for the case of component-only build 30-Jul-2019 15:10:09 + # simulation, build 30-Jul-2019 15:10:09 if components_only: build 30-Jul-2019 15:10:09 # first set based on psfsize: build 30-Jul-2019 15:10:09 - # needs high subsampling because small shifts in placement of build 30-Jul-2019 15:10:09 + # needs high subsampling because small shifts in placement of build 30-Jul-2019 15:10:09 # components lead to large changes in the difference image. build 30-Jul-2019 15:10:09 - model_cell = [ qa.quantity(str(psfsize/20)+"arcsec"), qa.quantity(str(psfsize/20)+"arcsec") ] build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 + model_cell = [ qa.quantity(str(psfsize/20)+"arcsec"), build 30-Jul-2019 15:10:09 + qa.quantity(str(psfsize/20)+"arcsec") ] build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 # XXX if the user has set direction should we center the compskymodel there? build 30-Jul-2019 15:10:09 # if len(direction)>0: model_refdir = direction build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 - # and can create a compskymodel image (tmp) and build 30-Jul-2019 15:10:09 + # and can create a compskymodel image (tmp) and build 30-Jul-2019 15:10:09 # skymodel.flat which is what is needed for analysis. build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 if components_only: build 30-Jul-2019 15:10:09 @@ -551,21 +576,23 @@ def simobserve( build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 if len(integration)>0: build 30-Jul-2019 15:10:09 intsec = float(integration) build 30-Jul-2019 15:10:09 - msg("interpreting integration time parameter as "+str(intsec)+"s",priority="warn") build 30-Jul-2019 15:10:09 + msg("interpreting integration time parameter as "+ build 30-Jul-2019 15:10:09 + str(intsec)+"s",priority="warn") build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 intsec = 0 build 30-Jul-2019 15:10:09 integration="%fs" %intsec build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 if setpointings: build 30-Jul-2019 15:10:09 - util.msg("calculating map pointings centered at "+str(dir0),origin='simobserve') build 30-Jul-2019 15:10:09 + util.msg("calculating map pointings centered at "+ build 30-Jul-2019 15:10:09 + str(dir0),origin='simobserve') build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 if len(pointingspacing) < 1: build 30-Jul-2019 15:10:09 if uvmode: build 30-Jul-2019 15:10:09 # ALMA OT uses lambda/d/sqrt(3) build 30-Jul-2019 15:10:09 - pointingspacing = "%fPB" % (gridratio_int/pbcoeff) build 30-Jul-2019 15:10:09 + pointingspacing = "%fPB" % (gridratio_int/pbcoeff) build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 - pointingspacing = "%fPB" % (gridratio_tp/pbcoeff) build 30-Jul-2019 15:10:09 + pointingspacing = "%fPB" % (gridratio_tp/pbcoeff) build 30-Jul-2019 15:10:09 if str.upper(pointingspacing)=="NYQUIST": build 30-Jul-2019 15:10:09 pointingspacing="%fPB" % nyquist build 30-Jul-2019 15:10:09 q = re.compile('(\d+.?\d+)\s*PB') build 30-Jul-2019 15:10:09 @@ -579,8 +606,11 @@ def simobserve( build 30-Jul-2019 15:10:09 # todo make more robust to nonconforming z[0] strings build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 if verbose: build 30-Jul-2019 15:10:09 - msg("pointing spacing in mosaic = "+pointingspacing,origin='simobserve') build 30-Jul-2019 15:10:09 - pointings = util.calc_pointings2(pointingspacing,mapsize,maptype=maptype, direction=dir, beam=pb) build 30-Jul-2019 15:10:09 + msg("pointing spacing in mosaic = "+ build 30-Jul-2019 15:10:09 + pointingspacing,origin='simobserve') build 30-Jul-2019 15:10:09 + pointings = util.calc_pointings2(pointingspacing, build 30-Jul-2019 15:10:09 + mapsize,maptype=maptype, build 30-Jul-2019 15:10:09 + direction=dir, beam=pb) build 30-Jul-2019 15:10:09 nfld=len(pointings) build 30-Jul-2019 15:10:09 etime = qa.convert(qa.mul(qa.quantity(integration),scanlength),"s")['value'] build 30-Jul-2019 15:10:09 # etime is an array of scan lengths - here they're all the same. build 30-Jul-2019 15:10:09 @@ -600,7 +630,8 @@ def simobserve( build 30-Jul-2019 15:10:09 if os.path.exists(fileroot+"/"+ptgfile): build 30-Jul-2019 15:10:09 ptgfile = fileroot + "/" + ptgfile build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 - util.msg("Can't find pointing file "+ptgfile,priority="error") build 30-Jul-2019 15:10:09 + util.msg("Can't find pointing file "+ptgfile, build 30-Jul-2019 15:10:09 + priority="error") build 30-Jul-2019 15:10:09 return False build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 nfld, pointings, etime = util.read_pointings(ptgfile) build 30-Jul-2019 15:10:09 @@ -617,12 +648,14 @@ def simobserve( build 30-Jul-2019 15:10:09 # needs to be less than the min etime: build 30-Jul-2019 15:10:09 if min(etime) < intsec: build 30-Jul-2019 15:10:09 integration = str(min(etime))+"s" build 30-Jul-2019 15:10:09 - msg("Setting integration to "+integration+" to match the shortest time in the pointing file.",priority="warn") build 30-Jul-2019 15:10:09 + msg("Setting integration to "+integration+ build 30-Jul-2019 15:10:09 + " to match the shortest time in the pointing file.", build 30-Jul-2019 15:10:09 + priority="warn") build 30-Jul-2019 15:10:09 intsec = min(etime) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 # find imcenter - phase center build 30-Jul-2019 15:10:09 - imcenter , offsets = util.median_direction(pointings) build 30-Jul-2019 15:10:09 + imcenter , offsets = util.median_direction(pointings) build 30-Jul-2019 15:10:09 epoch, ra, dec = util.direction_splitter(imcenter) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 # model is centered at model_refdir, and has model_size; build 30-Jul-2019 15:10:09 @@ -655,12 +688,12 @@ def simobserve( build 30-Jul-2019 15:10:09 shift = [ (qa.convert(ra,'deg')['value'] - build 30-Jul-2019 15:10:09 qa.convert(mra,'deg')['value'])*pl.cos(qa.convert(dec,'rad')['value'] ), build 30-Jul-2019 15:10:09 (qa.convert(dec,'deg')['value'] - qa.convert(mdec,'deg')['value']) ] build 30-Jul-2019 15:10:09 - if verbose: build 30-Jul-2019 15:10:09 + if verbose: build 30-Jul-2019 15:10:09 msg("pointings are shifted relative to the model by %g,%g arcsec" % (shift[0]*3600,shift[1]*3600),origin='simobserve') build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 xmax = qa.convert(model_size[0],'deg')['value']*0.5 build 30-Jul-2019 15:10:09 ymax = qa.convert(model_size[1],'deg')['value']*0.5 build 30-Jul-2019 15:10:09 - # add PB halfwidth (relmargin=0.5) build 30-Jul-2019 15:10:09 + # add PB halfwidth (relmargin=0.5) build 30-Jul-2019 15:10:09 # for mosaics of small model images build 30-Jul-2019 15:10:09 xmax=xmax+pb*relmargin/3600 build 30-Jul-2019 15:10:09 ymax=ymax+pb*relmargin/3600 build 30-Jul-2019 15:10:09 @@ -709,7 +742,8 @@ def simobserve( build 30-Jul-2019 15:10:09 shutil.rmtree(fileroot+"/"+project+'.cal.cclist') build 30-Jul-2019 15:10:09 util.isdirection(caldirection) build 30-Jul-2019 15:10:09 cl.done() build 30-Jul-2019 15:10:09 - cl.addcomponent(flux=calfluxjy,dir=caldirection,label="phase calibrator") build 30-Jul-2019 15:10:09 + cl.addcomponent(flux=calfluxjy,dir=caldirection, build 30-Jul-2019 15:10:09 + label="phase calibrator") build 30-Jul-2019 15:10:09 # set reference freq to center freq of model build 30-Jul-2019 15:10:09 cl.rename(fileroot+"/"+project+'.cal.cclist') build 30-Jul-2019 15:10:09 cl.done() build 30-Jul-2019 15:10:09 @@ -721,13 +755,13 @@ def simobserve( build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 ################################################################## build 30-Jul-2019 15:10:09 - # create one figure for model and pointings - need antenna diam build 30-Jul-2019 15:10:09 + # create one figure for model and pointings - need antenna diam build 30-Jul-2019 15:10:09 # to determine primary beam build 30-Jul-2019 15:10:09 if grfile: build 30-Jul-2019 15:10:09 file = fileroot + "/" + project + ".skymodel.png" build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 file = "" build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 if grscreen or grfile: build 30-Jul-2019 15:10:09 util.newfig(show=grscreen) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @@ -739,7 +773,7 @@ def simobserve( build 30-Jul-2019 15:10:09 pl.axis("equal") build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 discard = util.statim(modelflat,plot=True,incell=model_cell) build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 lims = pl.xlim(),pl.ylim() build 30-Jul-2019 15:10:09 if pb <= 0 and verbose: build 30-Jul-2019 15:10:09 msg("unknown primary beam size for plot",priority="warn") build 30-Jul-2019 15:10:09 @@ -751,7 +785,8 @@ def simobserve( build 30-Jul-2019 15:10:09 #if offsets.shape[1] > 16 or pb <= 0 or pb > pl.absolute(max(max(lims))): build 30-Jul-2019 15:10:09 if offsets.shape[1] > 19 or pb <= 0: build 30-Jul-2019 15:10:09 lims = pl.xlim(),pl.ylim() build 30-Jul-2019 15:10:09 - pl.plot((offsets[0]+shift[0])*3600.,(offsets[1]+shift[1])*3600., build 30-Jul-2019 15:10:09 + pl.plot((offsets[0]+shift[0])*3600., build 30-Jul-2019 15:10:09 + (offsets[1]+shift[1])*3600., build 30-Jul-2019 15:10:09 plotcolor+'+',markeredgewidth=1) build 30-Jul-2019 15:10:09 #if pb > 0 and pl.absolute(lims[0][0]) > pb: build 30-Jul-2019 15:10:09 if pb > 0: build 30-Jul-2019 15:10:09 @@ -769,7 +804,7 @@ def simobserve( build 30-Jul-2019 15:10:09 ylim = max(abs(pl.array(lims[1]))) build 30-Jul-2019 15:10:09 # show entire pb: (statim doesn't by default) build 30-Jul-2019 15:10:09 pl.xlim([max([xlim,pb/2]),min([-xlim,-pb/2])]) build 30-Jul-2019 15:10:09 - pl.ylim([min([-ylim,-pb/2]),max([ylim,pb/2])]) build 30-Jul-2019 15:10:09 + pl.ylim([min([-ylim,-pb/2]),max([ylim,pb/2])]) build 30-Jul-2019 15:10:09 pl.xlabel("resized model sky",fontsize="x-small") build 30-Jul-2019 15:10:09 util.endfig(show=grscreen,filename=file) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @@ -818,14 +853,15 @@ def simobserve( build 30-Jul-2019 15:10:09 if len(z)>1: build 30-Jul-2019 15:10:09 if len(z[1])>1: build 30-Jul-2019 15:10:09 msg("Discarding time part of refdate, '"+z[1]+ build 30-Jul-2019 15:10:09 - "', in favor of hourangle parameter = "+hourangle,origin='simobserve') build 30-Jul-2019 15:10:09 + "', in favor of hourangle parameter = "+hourangle, build 30-Jul-2019 15:10:09 + origin='simobserve') build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 if hourangle=="transit": build 30-Jul-2019 15:10:09 haoffset=0.0 build 30-Jul-2019 15:10:09 - else: build 30-Jul-2019 15:10:09 + else: build 30-Jul-2019 15:10:09 haoffset="no" build 30-Jul-2019 15:10:09 # is this a time quantity? build 30-Jul-2019 15:10:09 - if qa.isquantity(str(hourangle)+"h"): build 30-Jul-2019 15:10:09 + if qa.isquantity(str(hourangle)+"h"): build 30-Jul-2019 15:10:09 if qa.compare(str(hourangle)+"h","s"): build 30-Jul-2019 15:10:09 haoffset=qa.convert(qa.quantity(str(hourangle)+ build 30-Jul-2019 15:10:09 "h"),'s')['value'] build 30-Jul-2019 15:10:09 @@ -878,7 +914,8 @@ def simobserve( build 30-Jul-2019 15:10:09 diam = stnd; build 30-Jul-2019 15:10:09 # WARNING: sm.setspwindow is not consistent with clean::center build 30-Jul-2019 15:10:09 # but the "start" is the center of the first channel: build 30-Jul-2019 15:10:09 - model_start = qa.sub(model_specrefval,qa.mul(model_width,model_specrefpix)) build 30-Jul-2019 15:10:09 + model_start = qa.sub(model_specrefval, build 30-Jul-2019 15:10:09 + qa.mul(model_width,model_specrefpix)) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 mounttype = 'alt-az' build 30-Jul-2019 15:10:09 if telescopename in ['DRAO', 'WSRT']: build 30-Jul-2019 15:10:09 @@ -887,7 +924,7 @@ def simobserve( build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 sm.setconfig(telescopename=telescopename, x=stnx, y=stny, z=stnz, build 30-Jul-2019 15:10:09 dishdiameter=diam.tolist(), build 30-Jul-2019 15:10:09 - mount=[mounttype], antname=antnames, padname=padnames, build 30-Jul-2019 15:10:09 + mount=[mounttype], antname=antnames, padname=padnames, build 30-Jul-2019 15:10:09 coordsystem='global', referencelocation=posobs) build 30-Jul-2019 15:10:09 if str.upper(telescopename).find('VLA') >= 0: build 30-Jul-2019 15:10:09 sm.setspwindow(spwname=fband, freq=qa.tos(model_start), build 30-Jul-2019 15:10:09 @@ -899,13 +936,14 @@ def simobserve( build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 sm.setspwindow(spwname=fband, freq=qa.tos(model_start), build 30-Jul-2019 15:10:09 deltafreq=qa.tos(model_width), build 30-Jul-2019 15:10:09 - freqresolution=qa.tos(model_width), build 30-Jul-2019 15:10:09 + freqresolution=qa.tos(model_width), build 30-Jul-2019 15:10:09 nchannels=model_nchan, refcode=outframe, build 30-Jul-2019 15:10:09 stokes='XX YY') build 30-Jul-2019 15:10:09 sm.setfeed(mode='perfect X Y',pol=['']) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 - if verbose: build 30-Jul-2019 15:10:09 - msg(" spectral window set at %s" % qa.tos(model_specrefval),origin='simobserve') build 30-Jul-2019 15:10:09 + if verbose: build 30-Jul-2019 15:10:09 + msg(" spectral window set at %s" % qa.tos(model_specrefval), build 30-Jul-2019 15:10:09 + origin='simobserve') build 30-Jul-2019 15:10:09 sm.setlimits(shadowlimit=0.01, elevationlimit='10deg') build 30-Jul-2019 15:10:09 if uvmode: build 30-Jul-2019 15:10:09 sm.setauto(0.0) build 30-Jul-2019 15:10:09 @@ -915,7 +953,7 @@ def simobserve( build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 mereftime = me.epoch('UTC', refdate) build 30-Jul-2019 15:10:09 # integration is a scalar quantity, etime is a vector of seconds build 30-Jul-2019 15:10:09 - sm.settimes(integrationtime=integration, usehourangle=usehourangle, build 30-Jul-2019 15:10:09 + sm.settimes(integrationtime=integration, usehourangle=usehourangle, build 30-Jul-2019 15:10:09 referencetime=mereftime) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 for k in range(0,nfld): build 30-Jul-2019 15:10:09 @@ -927,7 +965,7 @@ def simobserve( build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 sourcefieldlist = sourcefieldlist + ',' + src build 30-Jul-2019 15:10:09 if docalibrator: build 30-Jul-2019 15:10:09 - sm.setfield(sourcename="phase calibrator", build 30-Jul-2019 15:10:09 + sm.setfield(sourcename="phase calibrator", build 30-Jul-2019 15:10:09 sourcedirection=caldirection,calcode='C', build 30-Jul-2019 15:10:09 distance='0m') build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @@ -960,8 +998,8 @@ def simobserve( build 30-Jul-2019 15:10:09 sm.observe(sourcename="phase calibrator", spwname=fband, build 30-Jul-2019 15:10:09 starttime=qa.quantity(sttime, "s"), build 30-Jul-2019 15:10:09 stoptime=qa.quantity(endtime, "s"), build 30-Jul-2019 15:10:09 - state_obs_mode="CALIBRATE_PHASE.ON_SOURCE",state_sig=True, build 30-Jul-2019 15:10:09 - project=project); build 30-Jul-2019 15:10:09 + state_obs_mode="CALIBRATE_PHASE.ON_SOURCE", build 30-Jul-2019 15:10:09 + state_sig=True,project=project); build 30-Jul-2019 15:10:09 sttime = endtime build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 while (sttime-scanstart) < totalsec: # the last scan could exceed totaltime build 30-Jul-2019 15:10:09 @@ -977,11 +1015,15 @@ def simobserve( build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 if kfld == nfld: build 30-Jul-2019 15:10:09 if docalibrator: build 30-Jul-2019 15:10:09 - endtime = sttime + qa.convert(integration,'s')['value'] build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 - # need to observe cal singly to get new row in obs table, so build 30-Jul-2019 15:10:09 - # first observemany the on-source pointing(s) build 30-Jul-2019 15:10:09 - sm.observemany(sourcenames=srces,spwname=fband,starttimes=starttimes,stoptimes=stoptimes,project=project) build 30-Jul-2019 15:10:09 + endtime = sttime + qa.convert(integration,'s')['value'] build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + # need to observe cal singly to get new row in obs table build 30-Jul-2019 15:10:09 + # so first observemany the on-source pointing(s) build 30-Jul-2019 15:10:09 + sm.observemany(sourcenames=srces, build 30-Jul-2019 15:10:09 + spwname=fband, build 30-Jul-2019 15:10:09 + starttimes=starttimes, build 30-Jul-2019 15:10:09 + stoptimes=stoptimes, build 30-Jul-2019 15:10:09 + project=project) build 30-Jul-2019 15:10:09 # and clear the list build 30-Jul-2019 15:10:09 srces = [] build 30-Jul-2019 15:10:09 starttimes = [] build 30-Jul-2019 15:10:09 @@ -990,8 +1032,8 @@ def simobserve( build 30-Jul-2019 15:10:09 sm.observe(sourcename="phase calibrator", spwname=fband, build 30-Jul-2019 15:10:09 starttime=qa.quantity(sttime, "s"), build 30-Jul-2019 15:10:09 stoptime=qa.quantity(endtime, "s"), build 30-Jul-2019 15:10:09 - state_obs_mode="CALIBRATE_PHASE.ON_SOURCE",state_sig=True, build 30-Jul-2019 15:10:09 - project=project); build 30-Jul-2019 15:10:09 + state_obs_mode="CALIBRATE_PHASE.ON_SOURCE", build 30-Jul-2019 15:10:09 + state_sig=True,project=project); build 30-Jul-2019 15:10:09 kfld = kfld + 1 build 30-Jul-2019 15:10:09 sttime = endtime build 30-Jul-2019 15:10:09 # if kfld > nfld: kfld = 0 build 30-Jul-2019 15:10:09 @@ -1000,12 +1042,16 @@ def simobserve( build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 # looks up the direction in the field table. build 30-Jul-2019 15:10:09 if not docalibrator: build 30-Jul-2019 15:10:09 - sm.observemany(sourcenames=srces,spwname=fband,starttimes=starttimes,stoptimes=stoptimes,project=project) build 30-Jul-2019 15:10:09 + sm.observemany(sourcenames=srces, build 30-Jul-2019 15:10:09 + spwname=fband, build 30-Jul-2019 15:10:09 + starttimes=starttimes, build 30-Jul-2019 15:10:09 + stoptimes=stoptimes, build 30-Jul-2019 15:10:09 + project=project) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 sm.setdata(fieldid=range(0,nfld)) build 30-Jul-2019 15:10:09 if uvmode or components_only: #Interferometer only build 30-Jul-2019 15:10:09 sm.setvp(dovp=True,usedefaultvp=False) build 30-Jul-2019 15:10:09 - # only use mosaic gridding for Het arrays for now - build 30-Jul-2019 15:10:09 + # only use mosaic gridding for Het arrays for now - build 30-Jul-2019 15:10:09 # the standard gridding with a VPSkyJones is less susceptible build 30-Jul-2019 15:10:09 # to issues if the image is too small which can happen a lot build 30-Jul-2019 15:10:09 # in Simulation. build 30-Jul-2019 15:10:09 @@ -1015,7 +1061,7 @@ def simobserve( build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 msg("Heterogeneous array only supported for mosaics (nfld>1), and make sure that your image is larger than the primary beam or results may be unstable",priority="error") build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 - # checks have to be manual since there's no way to build 30-Jul-2019 15:10:09 + # checks have to be manual since there's no way to build 30-Jul-2019 15:10:09 # get the "diam" out of PBMath AFAIK build 30-Jul-2019 15:10:09 if telescopename=="ALMA": build 30-Jul-2019 15:10:09 if (diam[0]<10)|(diam[0]>13): build 30-Jul-2019 15:10:09 @@ -1031,13 +1077,14 @@ def simobserve( build 30-Jul-2019 15:10:09 msg("Note: diameters in configuration file will not be used - PB for "+telescopename+" will be used",priority="info") build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 - msg("done setting up observations (blank visibilities)",origin='simobserve') build 30-Jul-2019 15:10:09 + msg("done setting up observations (blank visibilities)", build 30-Jul-2019 15:10:09 + origin='simobserve') build 30-Jul-2019 15:10:09 if verbose: sm.summary() build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 # do actual calculation of visibilities: build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 if not uvmode: #Single-dish build 30-Jul-2019 15:10:09 - sm.setoptions(gridfunction='pb', ftmachine="sd", location=posobs) build 30-Jul-2019 15:10:09 + sm.setoptions(gridfunction='pb',ftmachine="sd",location=posobs) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 if not components_only: build 30-Jul-2019 15:10:09 if docalibrator: build 30-Jul-2019 15:10:09 @@ -1067,13 +1114,15 @@ def simobserve( build 30-Jul-2019 15:10:09 if docalibrator: build 30-Jul-2019 15:10:09 complist=complist+","+fileroot+"/"+project+'.cal.cclist' build 30-Jul-2019 15:10:09 if verbose: build 30-Jul-2019 15:10:09 - msg("predicting from "+complist,priority="warn",origin="simobserve") build 30-Jul-2019 15:10:09 + msg("predicting from "+complist,priority="warn", build 30-Jul-2019 15:10:09 + origin="simobserve") build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 msg("predicting from "+complist,origin="simobserve") build 30-Jul-2019 15:10:09 sm.predict(complist=complist) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 sm.done() build 30-Jul-2019 15:10:09 - msg('generation of measurement set '+msfile+' complete',origin="simobserve") build 30-Jul-2019 15:10:09 + msg('generation of measurement set '+msfile+' complete', build 30-Jul-2019 15:10:09 + origin="simobserve") build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 # rest freqs are hardcoded to the first freq in the spw in core build 30-Jul-2019 15:10:09 tb.open(msfile+"/SPECTRAL_WINDOW/",nomodify=False) build 30-Jul-2019 15:10:09 @@ -1088,13 +1137,13 @@ def simobserve( build 30-Jul-2019 15:10:09 restfreq[i]=qa.convert(qa.quantity(model_specrefval),'Hz')['value'] build 30-Jul-2019 15:10:09 tb.putcol("REST_FREQUENCY",restfreq) build 30-Jul-2019 15:10:09 tb.done() build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 ############################################ build 30-Jul-2019 15:10:09 - # create figure build 30-Jul-2019 15:10:09 + # create figure build 30-Jul-2019 15:10:09 if grfile: build 30-Jul-2019 15:10:09 file = fileroot + "/" + project + ".observe.png" build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 @@ -1127,7 +1176,12 @@ def simobserve( build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 if (grscreen or grfile): build 30-Jul-2019 15:10:09 util.newfig(multi=multi,show=grscreen) build 30-Jul-2019 15:10:09 - util.ephemeris(refdate,direction=util.direction,telescope=telescopename,ms=msfile,usehourangle=usehourangle,cofa=posobs) build 30-Jul-2019 15:10:09 + util.ephemeris(refdate, build 30-Jul-2019 15:10:09 + direction=util.direction, build 30-Jul-2019 15:10:09 + telescope=telescopename, build 30-Jul-2019 15:10:09 + ms=msfile, build 30-Jul-2019 15:10:09 + usehourangle=usehourangle, build 30-Jul-2019 15:10:09 + cofa=posobs) build 30-Jul-2019 15:10:09 casalog.origin('simobserve') build 30-Jul-2019 15:10:09 if uvmode: build 30-Jul-2019 15:10:09 util.nextfig() build 30-Jul-2019 15:10:09 @@ -1149,15 +1203,19 @@ def simobserve( build 30-Jul-2019 15:10:09 util.nextfig() build 30-Jul-2019 15:10:09 im.open(msfile) build 30-Jul-2019 15:10:09 # TODO spectral parms build 30-Jul-2019 15:10:09 - msg("using default model cell "+str(model_cell[0])+" for PSF calculation",origin='simobserve') build 30-Jul-2019 15:10:09 - im.defineimage(cellx=str(model_cell[0]["value"])+str(model_cell[0]["unit"]),nx=int(max([minimsize,128]))) build 30-Jul-2019 15:10:09 + msg("using default model cell "+str(model_cell[0])+ build 30-Jul-2019 15:10:09 + " for PSF calculation",origin='simobserve') build 30-Jul-2019 15:10:09 + im.defineimage(cellx=str(model_cell[0]["value"])+ build 30-Jul-2019 15:10:09 + str(model_cell[0]["unit"]), build 30-Jul-2019 15:10:09 + nx=int(max([minimsize,128]))) build 30-Jul-2019 15:10:09 # TODO trigger im.setoptions(ftmachine="mosaic") build 30-Jul-2019 15:10:09 if os.path.exists(fileroot+"/"+project+".quick.psf"): build 30-Jul-2019 15:10:09 shutil.rmtree(fileroot+"/"+project+".quick.psf") build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 - # if obs is unknown, casalog will send a warning to screen - temporarily suppress that build 30-Jul-2019 15:10:09 + # if obs is unknown, casalog will send a warning to screen build 30-Jul-2019 15:10:09 + # temporarily(?) suppress that build 30-Jul-2019 15:10:09 if not telescopename in me.obslist(): build 30-Jul-2019 15:10:09 - casalog.filter("ERROR") build 30-Jul-2019 15:10:09 + casalog.filter("ERROR") build 30-Jul-2019 15:10:09 im.approximatepsf(psf=fileroot+"/"+project+".quick.psf") build 30-Jul-2019 15:10:09 if not telescopename in me.obslist(): build 30-Jul-2019 15:10:09 casalog.filter() # set back to default level. build 30-Jul-2019 15:10:09 @@ -1176,7 +1234,11 @@ def simobserve( build 30-Jul-2019 15:10:09 flipped_array = beam_array.transpose() build 30-Jul-2019 15:10:09 ttrans_array = flipped_array.tolist() build 30-Jul-2019 15:10:09 ttrans_array.reverse() build 30-Jul-2019 15:10:09 - pl.imshow(ttrans_array,interpolation='bilinear',cmap=pl.cm.jet,extent=xextent+yextent,origin="bottom") build 30-Jul-2019 15:10:09 + pl.imshow(ttrans_array, build 30-Jul-2019 15:10:09 + interpolation='bilinear', build 30-Jul-2019 15:10:09 + cmap=pl.cm.jet, build 30-Jul-2019 15:10:09 + extent=xextent+yextent, build 30-Jul-2019 15:10:09 + origin="bottom") build 30-Jul-2019 15:10:09 pl.title(project+".quick.psf",fontsize="x-small") build 30-Jul-2019 15:10:09 b = qa.convert(beam[1],'arcsec')['value'] build 30-Jul-2019 15:10:09 pl.xlim([-3*b,3*b]) build 30-Jul-2019 15:10:09 @@ -1208,7 +1270,7 @@ def simobserve( build 30-Jul-2019 15:10:09 if not uvmode: #Single-dish build 30-Jul-2019 15:10:09 msroot += ".sd" build 30-Jul-2019 15:10:09 noisymsroot += ".sd" build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 # Cosmic background radiation temperature in K. build 30-Jul-2019 15:10:09 t_cmb = 2.725 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @@ -1230,7 +1292,8 @@ def simobserve( build 30-Jul-2019 15:10:09 shutil.rmtree(noisymsroot+".ms") build 30-Jul-2019 15:10:09 shutil.copytree(msfile,noisymsroot+".ms") build 30-Jul-2019 15:10:09 if sm.name() != '': build 30-Jul-2019 15:10:09 - msg("table persistence error on %s" % sm.name(),priority="error") build 30-Jul-2019 15:10:09 + msg("table persistence error on %s" % sm.name(), build 30-Jul-2019 15:10:09 + priority="error") build 30-Jul-2019 15:10:09 return False build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 # if not predicted this time, get telescopename from ms build 30-Jul-2019 15:10:09 @@ -1240,7 +1303,8 @@ def simobserve( build 30-Jul-2019 15:10:09 telescopename = n[0] build 30-Jul-2019 15:10:09 # todo add check that entire column is the same build 30-Jul-2019 15:10:09 tb.done() build 30-Jul-2019 15:10:09 - msg("telescopename read from "+noisymsroot+".ms: "+telescopename) build 30-Jul-2019 15:10:09 + msg("telescopename read from "+noisymsroot+".ms: "+ build 30-Jul-2019 15:10:09 + telescopename) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 if telescopename not in knowntelescopes: build 30-Jul-2019 15:10:09 msg("thermal noise only works properly for ALMA/ACA, (E)VLA, and SMA",origin="simobserve",priority="warn") build 30-Jul-2019 15:10:09 @@ -1248,7 +1312,7 @@ def simobserve( build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 # antenna efficiency build 30-Jul-2019 15:10:09 eta_a = eta_p * eta_s * eta_b * eta_t build 30-Jul-2019 15:10:09 - if verbose: build 30-Jul-2019 15:10:09 + if verbose: build 30-Jul-2019 15:10:09 msg('antenna efficiency = '+str(eta_a), origin="simobserve") build 30-Jul-2019 15:10:09 msg('spillover efficiency = '+str(eta_s), origin="simobserve") build 30-Jul-2019 15:10:09 msg('correlator efficiency = '+str(eta_q), origin="simobserve") build 30-Jul-2019 15:10:09 @@ -1256,7 +1320,8 @@ def simobserve( build 30-Jul-2019 15:10:09 scoeff = -1 #Force setting the default value, 1./sqrt(2.0) build 30-Jul-2019 15:10:09 if not uvmode: #Single-dish build 30-Jul-2019 15:10:09 scoeff = 1.0 build 30-Jul-2019 15:10:09 - if verbose: msg('sensitivity constant = '+str(scoeff), origin="simobserve") build 30-Jul-2019 15:10:09 + if verbose: msg('sensitivity constant = '+str(scoeff), build 30-Jul-2019 15:10:09 + origin="simobserve") build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 sm.openfromms(noisymsroot+".ms") # an existing MS build 30-Jul-2019 15:10:09 sm.setdata(fieldid=[]) # force to get all fields build 30-Jul-2019 15:10:09 @@ -1313,16 +1378,18 @@ def simobserve( build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 noisymsroot = fileroot + "/" + project + ".noisier" build 30-Jul-2019 15:10:09 if not uvmode: #Single-dish build 30-Jul-2019 15:10:09 - msg("Can't corrupt SD data with polarization leakage",priority="warn") build 30-Jul-2019 15:10:09 + msg("Can't corrupt SD data with polarization leakage", build 30-Jul-2019 15:10:09 + priority="warn") build 30-Jul-2019 15:10:09 if os.path.exists(msfile): build 30-Jul-2019 15:10:09 - msg('copying '+msfile+' to ' + build 30-Jul-2019 15:10:09 + msg('copying '+msfile+' to ' + build 30-Jul-2019 15:10:09 noisymsroot+'.ms and adding polarization leakage', build 30-Jul-2019 15:10:09 origin="noise",priority="warn") build 30-Jul-2019 15:10:09 if os.path.exists(noisymsroot+".ms"): build 30-Jul-2019 15:10:09 shutil.rmtree(noisymsroot+".ms") build 30-Jul-2019 15:10:09 shutil.copytree(msfile,noisymsroot+".ms") build 30-Jul-2019 15:10:09 if sm.name() != '': build 30-Jul-2019 15:10:09 - msg("table persistence error on %s" % sm.name(),priority="error") build 30-Jul-2019 15:10:09 + msg("table persistence error on %s" % sm.name(), build 30-Jul-2019 15:10:09 + priority="error") build 30-Jul-2019 15:10:09 return False build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 sm.openfromms(noisymsroot+".ms") # an existing MS build 30-Jul-2019 15:10:09 @@ -1400,7 +1467,7 @@ def plotpb(pb,axes,lims=None,color='k'): build 30-Jul-2019 15:10:09 #ecy = lims[1][0] + bheight/2.*incy build 30-Jul-2019 15:10:09 ccx = lims[0][0] + boxsize/2.*incx build 30-Jul-2019 15:10:09 ccy = lims[1][0] + boxsize/2.*incy build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 #box = Rectangle((lims[0][0],lims[1][0]),incx*bwidth,incy*bheight, build 30-Jul-2019 15:10:09 box = Rectangle((lims[0][0],lims[1][0]),incx*boxsize,incy*boxsize, build 30-Jul-2019 15:10:09 alpha=0.7,facecolor='w', build 30-Jul-2019 15:10:09 diff --git a/src/tasks/task_tclean.py b/src/tasks/task_tclean.py build 30-Jul-2019 15:10:09 index f68d4f8..f6fd5ce 100644 build 30-Jul-2019 15:10:09 --- a/src/tasks/task_tclean.py build 30-Jul-2019 15:10:09 +++ b/src/tasks/task_tclean.py build 30-Jul-2019 15:10:09 @@ -96,7 +96,7 @@ def tclean( build 30-Jul-2019 15:10:09 deconvolver,#='hogbom', build 30-Jul-2019 15:10:09 scales,#=[], build 30-Jul-2019 15:10:09 nterms,#=1, build 30-Jul-2019 15:10:09 - smallscalebias,#=0.6 build 30-Jul-2019 15:10:09 + smallscalebias,#=0.0 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 ### restoration options build 30-Jul-2019 15:10:09 restoration, build 30-Jul-2019 15:10:09 @@ -183,8 +183,12 @@ def tclean( build 30-Jul-2019 15:10:09 # casalog.post( "The MTMFS deconvolution algorithm (deconvolver='mtmfs') needs nterms>1.Please set nterms=2 (or more). ", "WARN", "task_tclean" ) build 30-Jul-2019 15:10:09 # return build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 - if specmode!='mfs' and deconvolver=="mtmfs": build 30-Jul-2019 15:10:09 - casalog.post( "The MSMFS algorithm (deconvolver='mtmfs') applies only to specmode='mfs'.", "WARN", "task_tclean" ) build 30-Jul-2019 15:10:09 + if (deconvolver=="mtmfs") and (specmode!='mfs') and (specmode!='cube' or nterms!=1) and (specmode!='cubedata' or nterms!=1): build 30-Jul-2019 15:10:09 + casalog.post( "The MSMFS algorithm (deconvolver='mtmfs') applies only to specmode='mfs' or specmode='cube' with nterms=1 or specmode='cubedata' with nterms=1.", "WARN", "task_tclean" ) build 30-Jul-2019 15:10:09 + return build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + if(deconvolver=="mtmfs" and (specmode=='cube' or specmode=='cubedata') and nterms==1 and parallel==True): build 30-Jul-2019 15:10:09 + casalog.post( "The MSMFS algorithm (deconvolver='mtmfs') with specmode='cube', nterms=1 currently only works in serial.", "WARN", "task_tclean" ) build 30-Jul-2019 15:10:09 return build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 ##################################################### build 30-Jul-2019 15:10:09 @@ -275,6 +279,9 @@ def tclean( build 30-Jul-2019 15:10:09 t1=time.time(); build 30-Jul-2019 15:10:09 casalog.post("***Time for initializing deconvolver(s): "+"%.2f"%(t1-t0)+" sec", "INFO3", "task_tclean"); build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + ####now is the time to check estimated memory build 30-Jul-2019 15:10:09 + imager.estimatememory() build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 if niter>0: build 30-Jul-2019 15:10:09 t0=time.time(); build 30-Jul-2019 15:10:09 imager.initializeIterationControl() build 30-Jul-2019 15:10:09 diff --git a/tests/casaTestHelper.py b/tests/casaTestHelper.py build 30-Jul-2019 15:10:09 index 1dda077..4baa74a 100644 build 30-Jul-2019 15:10:09 --- a/tests/casaTestHelper.py build 30-Jul-2019 15:10:09 +++ b/tests/casaTestHelper.py build 30-Jul-2019 15:10:09 @@ -280,12 +280,6 @@ class Weblog: build 30-Jul-2019 15:10:09 html.write('Status' + '\n') build 30-Jul-2019 15:10:09 html.write('' + '\n') build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 - print("############## Begin ################") build 30-Jul-2019 15:10:09 - print(dictionary.items()) build 30-Jul-2019 15:10:09 - print("############## End ################") build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 for key, value in dictionary.items(): build 30-Jul-2019 15:10:09 Weblog(self.taskname, self.localdict).generate_table_row(str(key), dictionary[key]['description'], dictionary[key]['runtime'], "tg-ck9b" if dictionary[key]['status'] == True else "tg-r50r" ) build 30-Jul-2019 15:10:09 html.write('' + '\n') build 30-Jul-2019 15:10:09 @@ -339,10 +333,10 @@ class Weblog: build 30-Jul-2019 15:10:09 html.write('

{}:

'.format(key)+ '\n') build 30-Jul-2019 15:10:09 Weblog(self.taskname, self.localdict).write_inline_dict(subdictionary[key]) build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 - html.write('

{}: {}

'.format(key,subdictionary[key])+ '\n') build 30-Jul-2019 15:10:09 + html.write('

{}: {}

'.format(key,subdictionary[key])+ '\n') build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 def generate_weblog(self): build 30-Jul-2019 15:10:09 - #print("Generating Weblog: {}".format(self.taskname)) build 30-Jul-2019 15:10:09 + logging.debug("Generating Weblog: {}".format(self.taskname)) build 30-Jul-2019 15:10:09 Weblog(self.taskname, self.localdict).generate_header("Test {}".format(self.taskname)) build 30-Jul-2019 15:10:09 Weblog(self.taskname, self.localdict).generate_status_table_style(self.localdict) build 30-Jul-2019 15:10:09 Weblog(self.taskname, self.localdict).generate_status_table(self.localdict) build 30-Jul-2019 15:10:09 @@ -403,12 +397,12 @@ def compare_CASA_variable_cols(referencetab, testtab, varcol, tolerance=0.0): build 30-Jul-2019 15:10:09 # print(tdata[j][k]) build 30-Jul-2019 15:10:09 differs = True build 30-Jul-2019 15:10:09 if differs: build 30-Jul-2019 15:10:09 - print('ERROR: Column %s of %s and %s do not agree within tolerance %s'%(col,referencetab, testtab, tolerance)) build 30-Jul-2019 15:10:09 + print('ERROR: Column {} of {} and {} do not agree within tolerance {}'.format(col,referencetab, testtab, tolerance)) build 30-Jul-2019 15:10:09 retval = False build 30-Jul-2019 15:10:09 break build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 - print('ERROR: Column %s of %s and %s do not agree.'%(col,referencetab, testtab)) build 30-Jul-2019 15:10:09 - print('ERROR: First row to differ is row=%s'%therow) build 30-Jul-2019 15:10:09 + print('ERROR: Column {} of {} and {} do not agree.'.format(col,referencetab, testtab)) build 30-Jul-2019 15:10:09 + print('ERROR: First row to differ is row={}'.format(therow)) build 30-Jul-2019 15:10:09 retval = False build 30-Jul-2019 15:10:09 break build 30-Jul-2019 15:10:09 finally: build 30-Jul-2019 15:10:09 @@ -999,7 +993,7 @@ def add_to_dict(self, output=None, dataset="TestData", status=False, **kwargs): build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 filename = "{}.py".format(filename.split('.')[0]) build 30-Jul-2019 15:10:09 casapath = os.environ.get('CASAPATH').split()[0] build 30-Jul-2019 15:10:09 - rerun = "casa -c {}/lib/python2.7/runUnitTest.py {}".format(casapath, filename.split('.')[0]) build 30-Jul-2019 15:10:09 + rerun = "{}/bin/casa -c {}/lib/python2.7/runUnitTest.py {}".format(casapath,casapath, filename.split('.')[0]) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 current_case = None build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @@ -1031,11 +1025,11 @@ def add_to_dict(self, output=None, dataset="TestData", status=False, **kwargs): build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 for key in values.keys(): build 30-Jul-2019 15:10:09 if test_case in output.keys(): build 30-Jul-2019 15:10:09 - print(output[test_case].keys()) build 30-Jul-2019 15:10:09 + #print("output[test_case].keys(): {}".format(output[test_case].keys())) build 30-Jul-2019 15:10:09 if key in output[test_case].keys(): build 30-Jul-2019 15:10:09 values[key] = output[test_case][key].append(values[key]) build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 - print('FIRST') build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 output[test_case][key] = [values[key]] build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 #output[test_case] = values build 30-Jul-2019 15:10:09 @@ -1044,6 +1038,9 @@ def add_to_dict(self, output=None, dataset="TestData", status=False, **kwargs): build 30-Jul-2019 15:10:09 output[test_case]['description'] = unittest.TestCase.shortDescription(self) build 30-Jul-2019 15:10:09 output[test_case]['images'] = [ ] build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + #print("Test Case: {}".format(test_case)) build 30-Jul-2019 15:10:09 + #print("{} : {}".format(test_case,output[test_case])) build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 def topickle(input_dict, picklefile): build 30-Jul-2019 15:10:09 ''' build 30-Jul-2019 15:10:09 Add a new dictionary into the existing pickle file build 30-Jul-2019 15:10:09 @@ -1156,7 +1153,7 @@ def get_column_shape(tab,col,start_row=0,nrow=1,row_inc=1): build 30-Jul-2019 15:10:09 tb.open(tab) build 30-Jul-2019 15:10:09 col_shape = tb.getcolshapestring(col,start_row,nrow,row_inc) build 30-Jul-2019 15:10:09 except: build 30-Jul-2019 15:10:09 - print('Cannot get shape of col %s from table %s '%(col,tab)) build 30-Jul-2019 15:10:09 + print('Cannot get shape of col {} from table {} '.format(col,tab)) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 finally: build 30-Jul-2019 15:10:09 tb.close() build 30-Jul-2019 15:10:09 @@ -1203,6 +1200,7 @@ def generate_weblog(task,dictionary): build 30-Jul-2019 15:10:09 ############################################################################################ build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 def check_model(msname=""): build 30-Jul-2019 15:10:09 + logging.debug("Executing: check_model(msname={})".format(msname)) build 30-Jul-2019 15:10:09 hasmodcol = False build 30-Jul-2019 15:10:09 modsum=0.0 build 30-Jul-2019 15:10:09 hasvirmod = False build 30-Jul-2019 15:10:09 @@ -1215,7 +1213,6 @@ def check_model(msname=""): build 30-Jul-2019 15:10:09 modsum = model_data.sum() build 30-Jul-2019 15:10:09 tb.close() build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 tb.open( msname+'/SOURCE' ) build 30-Jul-2019 15:10:09 keys = tb.getkeywords() build 30-Jul-2019 15:10:09 if len(keys)>0: build 30-Jul-2019 15:10:09 @@ -1235,9 +1232,12 @@ def check_model(msname=""): build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 def get_max(imname): build 30-Jul-2019 15:10:09 """Get Image max""" build 30-Jul-2019 15:10:09 + logging.debug("Executing: get_max(imname={})".format(imname)) build 30-Jul-2019 15:10:09 ia.open(imname) build 30-Jul-2019 15:10:09 stat = ia.statistics() build 30-Jul-2019 15:10:09 ia.close() build 30-Jul-2019 15:10:09 + logging.debug("stat['max'] = {}".format(stat['max'])) build 30-Jul-2019 15:10:09 + logging.debug("stat['maxpos'] = {}".format(stat['maxpos'])) build 30-Jul-2019 15:10:09 return stat['max'],stat['maxpos'] build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 def get_pix(imname,pos): build 30-Jul-2019 15:10:09 @@ -1344,17 +1344,17 @@ def get_iter_done(summ): build 30-Jul-2019 15:10:09 def verdict(boolval): build 30-Jul-2019 15:10:09 return "Pass" if boolval else "Fail" build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 -def check_ret( summ,correctres,correctmod): build 30-Jul-2019 15:10:09 +def check_ret( summ,correctres,correctmod,epsilon = 0.05): build 30-Jul-2019 15:10:09 pstr = '' build 30-Jul-2019 15:10:09 if casa5: build 30-Jul-2019 15:10:09 testname = inspect.stack()[1][3] # Make Sure this is correct build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 testname = "TODO" build 30-Jul-2019 15:10:09 - retres, peakres = check_peak_res(summ,correctres) build 30-Jul-2019 15:10:09 - retmod, modflux = check_mod_flux(summ,correctmod) build 30-Jul-2019 15:10:09 + retres, peakres = check_peak_res(summ, correctres, epsilon) build 30-Jul-2019 15:10:09 + retmod, modflux = check_mod_flux(summ, correctmod, epsilon) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 pstr_peak = "[ {} ] PeakRes is {} ( {} : should be {} + )\n".format(testname, str(peakres), verdict(retres) , str(correctres)) build 30-Jul-2019 15:10:09 - pstr_mod = "[ {} ] Modflux is {} ( {} : should be {} + )".format(testname, str(modflux), verdict(retmod) , str(correctmod)) build 30-Jul-2019 15:10:09 + pstr_mod = "[ {} ] Modflux is {} ( {} : should be {} + )\n".format(testname, str(modflux), verdict(retmod) , str(correctmod)) build 30-Jul-2019 15:10:09 pstr = pstr_peak + pstr_mod build 30-Jul-2019 15:10:09 logging.info(pstr) build 30-Jul-2019 15:10:09 if retres==False or retmod==False: build 30-Jul-2019 15:10:09 @@ -1390,6 +1390,54 @@ def check_val(val, correctval, valname='Value', exact=False, epsilon=0.05): build 30-Jul-2019 15:10:09 logging.info(pstr) build 30-Jul-2019 15:10:09 return out, pstr build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 +def check_val_less_than(val, bound, valname='Value'): build 30-Jul-2019 15:10:09 + pstr = '' build 30-Jul-2019 15:10:09 + if casa5: build 30-Jul-2019 15:10:09 + testname = inspect.stack()[2][3] # Make Sure this is correct build 30-Jul-2019 15:10:09 + else: build 30-Jul-2019 15:10:09 + testname = "TODO" build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + out = True build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + if numpy.isnan(val) or numpy.isinf(val): build 30-Jul-2019 15:10:09 + out=False build 30-Jul-2019 15:10:09 + if bound == None and val != None: build 30-Jul-2019 15:10:09 + out = False build 30-Jul-2019 15:10:09 + if bound != None and val == None: build 30-Jul-2019 15:10:09 + out = False build 30-Jul-2019 15:10:09 + if out==True and val != None: build 30-Jul-2019 15:10:09 + if val > bound: build 30-Jul-2019 15:10:09 + out=False build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + pstr = "[ {} ] {} is {} ( {} : should be less than {} )\n".format(testname, valname, str(val), verdict(out), str(bound)) build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + logging.info(pstr) build 30-Jul-2019 15:10:09 + return out, pstr build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 +def check_val_greater_than(val, bound, valname='Value'): build 30-Jul-2019 15:10:09 + pstr = '' build 30-Jul-2019 15:10:09 + if casa5: build 30-Jul-2019 15:10:09 + testname = inspect.stack()[2][3] # Make Sure this is correct build 30-Jul-2019 15:10:09 + else: build 30-Jul-2019 15:10:09 + testname = "TODO" build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + out = True build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + if numpy.isnan(val) or numpy.isinf(val): build 30-Jul-2019 15:10:09 + out=False build 30-Jul-2019 15:10:09 + if bound == None and val != None: build 30-Jul-2019 15:10:09 + out = False build 30-Jul-2019 15:10:09 + if bound != None and val == None: build 30-Jul-2019 15:10:09 + out = False build 30-Jul-2019 15:10:09 + if out==True and val != None: build 30-Jul-2019 15:10:09 + if val < bound: build 30-Jul-2019 15:10:09 + out=False build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + pstr = "[ {} ] {} is {} ( {} : should be greater than {} )\n".format(testname, valname, str(val), verdict(out), str(bound)) build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + logging.info(pstr) build 30-Jul-2019 15:10:09 + return out, pstr build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 def check_ims(imlist,truth): build 30-Jul-2019 15:10:09 if casa5: build 30-Jul-2019 15:10:09 testname = inspect.stack()[2][3] build 30-Jul-2019 15:10:09 @@ -1466,17 +1514,17 @@ def check_im_keywords(imname, check_misc=True, check_extended=True): build 30-Jul-2019 15:10:09 # Looks like a refconcat image, nothing to check build 30-Jul-2019 15:10:09 #return '' build 30-Jul-2019 15:10:09 # make a bit more informative build 30-Jul-2019 15:10:09 - pstr = 'Looks like it is a refconcat image. Skipping the imageinfo keywords check.' build 30-Jul-2019 15:10:09 + pstr = 'Looks like it is a refconcat image. Skipping the imageinfo keywords check.\n' build 30-Jul-2019 15:10:09 return pstr build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 - pstr = 'Cannot open image table to check keywords: {0}'.format(imname) build 30-Jul-2019 15:10:09 + pstr = 'Cannot open image table to check keywords: {0}\n'.format(imname) build 30-Jul-2019 15:10:09 return pstr build 30-Jul-2019 15:10:09 finally: build 30-Jul-2019 15:10:09 tbt.close() build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 pstr = '' build 30-Jul-2019 15:10:09 if len(keys) <= 0: build 30-Jul-2019 15:10:09 - pstr += ('No keywords found ({0})'.format(verdict(False))) build 30-Jul-2019 15:10:09 + pstr += ('No keywords found ({0})\n'.format(verdict(False))) build 30-Jul-2019 15:10:09 return pstr build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 # Records that need to be present build 30-Jul-2019 15:10:09 @@ -1605,46 +1653,46 @@ def check_ref_freq(imname,theval=0, epsilon=0.05): build 30-Jul-2019 15:10:09 return pstr build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 ################################### build 30-Jul-2019 15:10:09 -def check_imexist(imexist): build 30-Jul-2019 15:10:09 +def check_imexist(imgexist): build 30-Jul-2019 15:10:09 pstr = '' build 30-Jul-2019 15:10:09 - if imexist != None: build 30-Jul-2019 15:10:09 - if type(imexist)==list: build 30-Jul-2019 15:10:09 - pstr += check_ims(imexist, True) build 30-Jul-2019 15:10:09 - print "pstr after checkims=",pstr build 30-Jul-2019 15:10:09 - pstr += check_keywords(imexist) build 30-Jul-2019 15:10:09 - print "pstr after check_keywords=",pstr build 30-Jul-2019 15:10:09 + if imgexist != None: build 30-Jul-2019 15:10:09 + if type(imgexist)==list: build 30-Jul-2019 15:10:09 + pstr += check_ims(imgexist, True) build 30-Jul-2019 15:10:09 + print("pstr after checkims = {}".format(pstr)) build 30-Jul-2019 15:10:09 + pstr += check_keywords(imgexist) build 30-Jul-2019 15:10:09 + print("pstr after check_keywords = {}".format(pstr)) build 30-Jul-2019 15:10:09 return pstr build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 -def check_imexistnot(imexistnot): build 30-Jul-2019 15:10:09 +def check_imexistnot(imgexistnot): build 30-Jul-2019 15:10:09 pstr = '' build 30-Jul-2019 15:10:09 - if imexistnot != None: build 30-Jul-2019 15:10:09 - if type(imexistnot)==list: build 30-Jul-2019 15:10:09 - pstr += check_ims(imexistnot, False) build 30-Jul-2019 15:10:09 + if imgexistnot != None: build 30-Jul-2019 15:10:09 + if type(imgexistnot)==list: build 30-Jul-2019 15:10:09 + pstr += check_ims(imgexistnot, False) build 30-Jul-2019 15:10:09 return pstr build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 -def check_imval(imval): build 30-Jul-2019 15:10:09 +def check_imval(imgval, epsilon=0.05): build 30-Jul-2019 15:10:09 pstr = '' build 30-Jul-2019 15:10:09 - if imval != None: build 30-Jul-2019 15:10:09 - if type(imval)==list: build 30-Jul-2019 15:10:09 - for ii in imval: build 30-Jul-2019 15:10:09 + if imgval != None: build 30-Jul-2019 15:10:09 + if type(imgval)==list: build 30-Jul-2019 15:10:09 + for ii in imgval: build 30-Jul-2019 15:10:09 if type(ii)==tuple and len(ii)==3: build 30-Jul-2019 15:10:09 - pstr += check_pix_val(ii[0],ii[1],ii[2]) build 30-Jul-2019 15:10:09 + pstr += check_pix_val(ii[0],ii[1],ii[2],epsilon=epsilon) build 30-Jul-2019 15:10:09 return pstr build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 -def check_imvalexact(imvalexact): build 30-Jul-2019 15:10:09 +def check_imvalexact(imgvalexact, epsilon=0.05): build 30-Jul-2019 15:10:09 pstr = '' build 30-Jul-2019 15:10:09 - if imvalexact != None: build 30-Jul-2019 15:10:09 - if type(imvalexact)==list: build 30-Jul-2019 15:10:09 - for ii in imvalexact: build 30-Jul-2019 15:10:09 + if imgvalexact != None: build 30-Jul-2019 15:10:09 + if type(imgvalexact)==list: build 30-Jul-2019 15:10:09 + for ii in imgvalexact: build 30-Jul-2019 15:10:09 if type(ii)==tuple and len(ii)==3: build 30-Jul-2019 15:10:09 - pstr += check_pix_val(ii[0],ii[1],ii[2], exact=True) build 30-Jul-2019 15:10:09 + pstr += check_pix_val(ii[0],ii[1],ii[2], exact=True,epsilon=epsilon) build 30-Jul-2019 15:10:09 return pstr build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 -def check_immask(immask): build 30-Jul-2019 15:10:09 +def check_immask(imgmask): build 30-Jul-2019 15:10:09 pstr = '' build 30-Jul-2019 15:10:09 - if immask != None: build 30-Jul-2019 15:10:09 - if type(immask)==list: build 30-Jul-2019 15:10:09 - for ii in immask: build 30-Jul-2019 15:10:09 + if imgmask != None: build 30-Jul-2019 15:10:09 + if type(imgmask)==list: build 30-Jul-2019 15:10:09 + for ii in imgmask: build 30-Jul-2019 15:10:09 if type(ii)==tuple and len(ii)==3: build 30-Jul-2019 15:10:09 pstr += check_pixmask(ii[0],ii[1],ii[2]) build 30-Jul-2019 15:10:09 return pstr build 30-Jul-2019 15:10:09 @@ -1654,7 +1702,7 @@ def check_tabcache(tabcache): build 30-Jul-2019 15:10:09 if tabcache==True: build 30-Jul-2019 15:10:09 opentabs = tb.showcache() build 30-Jul-2019 15:10:09 if len(opentabs)>0 : build 30-Jul-2019 15:10:09 - pstr += "["+inspect.stack()[1][3]+"] " + verdict(False) + ": Found open tables after run " build 30-Jul-2019 15:10:09 + pstr += "["+inspect.stack()[1][3]+"] " + verdict(False) + ": Found open tables after run \n" build 30-Jul-2019 15:10:09 return pstr build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 def check_stopcode(stopcode): build 30-Jul-2019 15:10:09 @@ -1662,7 +1710,7 @@ def check_stopcode(stopcode): build 30-Jul-2019 15:10:09 if stopcode != None: build 30-Jul-2019 15:10:09 if type(stopcode)==int: build 30-Jul-2019 15:10:09 stopstr = "["+inspect.stack()[1][3]+"] Stopcode is " + str(ret['stopcode']) + " (" + verdict(ret['stopcode']==stopcode) + " : should be " + str(stopcode) + ")\n" build 30-Jul-2019 15:10:09 - print stopstr build 30-Jul-2019 15:10:09 + print(stopstr) build 30-Jul-2019 15:10:09 pstr += stopstr build 30-Jul-2019 15:10:09 return pstr build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @@ -1676,18 +1724,18 @@ def check_reffreq(reffreq): build 30-Jul-2019 15:10:09 return pstr build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 -def checkall( ret=None, peakres=None, modflux=None, iterdone=None, nmajordone=None, imexist=None, imexistnot=None, imval=None, imvalexact=None, immask=None, tabcache=True, stopcode=None, reffreq=None ): build 30-Jul-2019 15:10:09 +def checkall( ret=None, peakres=None, modflux=None, iterdone=None, nmajordone=None, imgexist=None, imgexistnot=None, imgval=None, imgvalexact=None, imgmask=None, tabcache=True, stopcode=None, reffreq=None, epsilon=0.05 ): build 30-Jul-2019 15:10:09 """ build 30-Jul-2019 15:10:09 ret=None, build 30-Jul-2019 15:10:09 peakres=None, # a float build 30-Jul-2019 15:10:09 modflux=None, # a float build 30-Jul-2019 15:10:09 iterdone=None, # an int build 30-Jul-2019 15:10:09 nmajordone=None, # an int build 30-Jul-2019 15:10:09 - imexist=None, # list of image names build 30-Jul-2019 15:10:09 - imexistnot=None, # list of image names build 30-Jul-2019 15:10:09 - imval=None, # list of tuples of (imagename,val,pos) build 30-Jul-2019 15:10:09 - imvalexact=None, # list of tuples of (imagename,val,pos) build 30-Jul-2019 15:10:09 - immask=None, #list of tuples to check mask value build 30-Jul-2019 15:10:09 + imgexist=None, # list of image names build 30-Jul-2019 15:10:09 + imgexistnot=None, # list of image names build 30-Jul-2019 15:10:09 + imgval=None, # list of tuples of (imagename,val,pos) build 30-Jul-2019 15:10:09 + imgvalexact=None, # list of tuples of (imagename,val,pos) build 30-Jul-2019 15:10:09 + imgmask=None, #list of tuples to check mask value build 30-Jul-2019 15:10:09 tabcache=True, build 30-Jul-2019 15:10:09 stopcode=None, build 30-Jul-2019 15:10:09 reffreq=None # list of tuples of (imagename, reffreq) build 30-Jul-2019 15:10:09 @@ -1712,18 +1760,25 @@ def checkall( ret=None, peakres=None, modflux=None, iterdone=None, nmajordone=No build 30-Jul-2019 15:10:09 except Exception as e: build 30-Jul-2019 15:10:09 logging.info(ret) build 30-Jul-2019 15:10:09 raise build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 - pstr += check_imexist(imexist) build 30-Jul-2019 15:10:09 - pstr += check_imexistnot(imexistnot) build 30-Jul-2019 15:10:09 - pstr += check_imval(imval) build 30-Jul-2019 15:10:09 - pstr += check_imvalexact(imvalexact) build 30-Jul-2019 15:10:09 - pstr += check_immask(immask) build 30-Jul-2019 15:10:09 + logging.info("Epsilon: {}".format(epsilon)) build 30-Jul-2019 15:10:09 + pstr += check_imexist(imgexist) build 30-Jul-2019 15:10:09 + pstr += check_imexistnot(imgexistnot) build 30-Jul-2019 15:10:09 + pstr += check_imval(imgval,epsilon=epsilon) build 30-Jul-2019 15:10:09 + pstr += check_imvalexact(imgvalexact,epsilon=epsilon) build 30-Jul-2019 15:10:09 + pstr += check_immask(imgmask) build 30-Jul-2019 15:10:09 pstr += check_tabcache(tabcache) build 30-Jul-2019 15:10:09 pstr += check_stopcode(stopcode) build 30-Jul-2019 15:10:09 pstr += check_reffreq(reffreq) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 return pstr build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 +def check_final(pstr=""): build 30-Jul-2019 15:10:09 + if not isinstance(pstr, six.string_types): build 30-Jul-2019 15:10:09 + return False build 30-Jul-2019 15:10:09 + casalog.post(pstr,'INFO') build 30-Jul-2019 15:10:09 + if( pstr.count("Fail") > 0 ): build 30-Jul-2019 15:10:09 + return False build 30-Jul-2019 15:10:09 + return True build 30-Jul-2019 15:10:09 ############################################################################################ build 30-Jul-2019 15:10:09 ################################## Decorators ################################## build 30-Jul-2019 15:10:09 ############################################################################################ build 30-Jul-2019 15:10:09 @@ -1765,29 +1820,9 @@ def skipIfMissingModule(required_module,strict=False): build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 #import casaTestHelper build 30-Jul-2019 15:10:09 #@casaTestHelper.time_execution build 30-Jul-2019 15:10:09 -def time_execution(out_dict): build 30-Jul-2019 15:10:09 - def time_decorator(function): build 30-Jul-2019 15:10:09 - ''' build 30-Jul-2019 15:10:09 - Decorator: time execution of test build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 - Example: build 30-Jul-2019 15:10:09 - @casaTestHelper.time_execution build 30-Jul-2019 15:10:09 - def test_test(self): build 30-Jul-2019 15:10:09 - ''' build 30-Jul-2019 15:10:09 - @wraps(function) build 30-Jul-2019 15:10:09 - def function_timer(*args, **kwargs): build 30-Jul-2019 15:10:09 - t0 = time.time() build 30-Jul-2019 15:10:09 - result = function(*args, **kwargs) build 30-Jul-2019 15:10:09 - t1 = time.time() build 30-Jul-2019 15:10:09 - #print ("Total time running %s: %s seconds" % (function.__name__, str(t1-t0))) build 30-Jul-2019 15:10:09 - casalog.post("Total time running {}: {} seconds".format(function.__name__, str(t1-t0))) build 30-Jul-2019 15:10:09 - out_dict[function.__name__]['runtime'] = t1-t0 build 30-Jul-2019 15:10:09 - return result build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 - return function_timer build 30-Jul-2019 15:10:09 - return time_decorator build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 -def time_execution_alternative(out_dict): build 30-Jul-2019 15:10:09 +def time_execution(out_dict): build 30-Jul-2019 15:10:09 # TODO Ver if this is the better option build 30-Jul-2019 15:10:09 def time_decorator(function): build 30-Jul-2019 15:10:09 ''' build 30-Jul-2019 15:10:09 @@ -1802,6 +1837,7 @@ def time_execution_alternative(out_dict): build 30-Jul-2019 15:10:09 failed = False build 30-Jul-2019 15:10:09 result = None build 30-Jul-2019 15:10:09 t0 = time.time() build 30-Jul-2019 15:10:09 + print(out_dict) build 30-Jul-2019 15:10:09 try: build 30-Jul-2019 15:10:09 result = function(*args, **kwargs) build 30-Jul-2019 15:10:09 except: build 30-Jul-2019 15:10:09 @@ -1815,8 +1851,8 @@ def time_execution_alternative(out_dict): build 30-Jul-2019 15:10:09 t1 = time.time() build 30-Jul-2019 15:10:09 #print ("Total time running %s: %s seconds" % (function.__name__, str(t1-t0))) build 30-Jul-2019 15:10:09 casalog.post("Total time running {}: {} seconds".format(function.__name__, str(t1-t0))) build 30-Jul-2019 15:10:09 - print('======================================================') build 30-Jul-2019 15:10:09 - print(function.__name__) build 30-Jul-2019 15:10:09 + #print('======================================================') build 30-Jul-2019 15:10:09 + #print(function.__name__) build 30-Jul-2019 15:10:09 out_dict[function.__name__]['runtime'] = t1-t0 build 30-Jul-2019 15:10:09 out_dict[function.__name__]['status'] = True build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @@ -1928,7 +1964,7 @@ def mem_use_deco(out_dict): build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 def stats_dict(out_dict): build 30-Jul-2019 15:10:09 def stats_decorator(function): build 30-Jul-2019 15:10:09 - @time_execution_alternative(out_dict) build 30-Jul-2019 15:10:09 + @time_execution(out_dict) build 30-Jul-2019 15:10:09 #@cpu_usage(out_dict) build 30-Jul-2019 15:10:09 #@peakmem(out_dict) build 30-Jul-2019 15:10:09 @mem_use_deco(out_dict) build 30-Jul-2019 15:10:09 diff --git a/tests/tasks/test_simobserve.py b/tests/tasks/test_simobserve.py build 30-Jul-2019 15:10:09 index 8588757..8ab3e7e 100644 build 30-Jul-2019 15:10:09 --- a/tests/tasks/test_simobserve.py build 30-Jul-2019 15:10:09 +++ b/tests/tasks/test_simobserve.py build 30-Jul-2019 15:10:09 @@ -55,7 +55,7 @@ class simobserve_unittest_base(unittest.TestCase): build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 thistask = "simobserve" build 30-Jul-2019 15:10:09 imkeys=['max','mean','min','npts','rms','blc','blcf','trc','trcf','sigma','sum','sumsq'] build 30-Jul-2019 15:10:09 - # relative and ablsolute tolerance build 30-Jul-2019 15:10:09 + # relative and absolute tolerance build 30-Jul-2019 15:10:09 # (atol=0. means to ignore absolute tolerance) build 30-Jul-2019 15:10:09 rtol = 5.0e-3 build 30-Jul-2019 15:10:09 atol = 0. build 30-Jul-2019 15:10:09 @@ -83,7 +83,6 @@ class simobserve_unittest_base(unittest.TestCase): build 30-Jul-2019 15:10:09 _ms.close() build 30-Jul-2019 15:10:09 return stats[stats.keys()[0]] build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 - # TODO: need to check image axes build 30-Jul-2019 15:10:09 def _check_imstats(self, name, ref, rtol=None, atol=None): build 30-Jul-2019 15:10:09 # ref: a dictionary of reference statistics or reference image name build 30-Jul-2019 15:10:09 # name: the name of image to compare statistics build 30-Jul-2019 15:10:09 @@ -110,10 +109,27 @@ class simobserve_unittest_base(unittest.TestCase): build 30-Jul-2019 15:10:09 (key, type(stats[key]), str(stats[key]), str(ref[key])))) build 30-Jul-2019 15:10:09 message="image statistic '%s' does not match: %s (expected: %s)" % \ build 30-Jul-2019 15:10:09 (key, str(stats[key]), str(ref[key])) build 30-Jul-2019 15:10:09 - if type(stats[key])==str: build 30-Jul-2019 15:10:09 - self.assertEqual(stats[key],ref[key], build 30-Jul-2019 15:10:09 - msg=message) build 30-Jul-2019 15:10:09 + if type(stats[key])==str: build 30-Jul-2019 15:10:09 + # only maxposf, minposf, blcf, trcf return build 30-Jul-2019 15:10:09 + # these are actually all lists build 30-Jul-2019 15:10:09 + ax_stats = [x.strip() for x in stats[key].split(',')] build 30-Jul-2019 15:10:09 + ax_ref = [x.strip() for x in ref[key].split(',')] build 30-Jul-2019 15:10:09 + # compare dimension of image axes build 30-Jul-2019 15:10:09 + self.assertEqual(len(ax_stats),len(ax_ref),msg=message) build 30-Jul-2019 15:10:09 + # extract, compare numerical data from axis world coordinates build 30-Jul-2019 15:10:09 + for kk in zip(ax_stats, ax_ref): build 30-Jul-2019 15:10:09 + # only check the first element in tuple build 30-Jul-2019 15:10:09 + if qa.isquantity(kk[0]): build 30-Jul-2019 15:10:09 + # test and reference numbers build 30-Jul-2019 15:10:09 + s_val = qa.quantity(kk[0])['value'] build 30-Jul-2019 15:10:09 + r_val = qa.quantity(kk[1])['value'] build 30-Jul-2019 15:10:09 + ret=numpy.allclose(s_val,r_val, build 30-Jul-2019 15:10:09 + rtol=rtol,atol=atol) build 30-Jul-2019 15:10:09 + self.assertEqual(ret,True,msg=message) build 30-Jul-2019 15:10:09 + else: # should only be Stokes axis build 30-Jul-2019 15:10:09 + self.assertEqual(kk[0],kk[1],msg=message) build 30-Jul-2019 15:10:09 else: build 30-Jul-2019 15:10:09 + # not a string so expect numpy arrays build 30-Jul-2019 15:10:09 ret=numpy.allclose(stats[key],ref[key], build 30-Jul-2019 15:10:09 rtol=rtol,atol=atol) build 30-Jul-2019 15:10:09 self.assertEqual(ret,True,msg=message) build 30-Jul-2019 15:10:09 @@ -261,6 +277,7 @@ class simobserve_sky(simobserve_unittest_base): build 30-Jul-2019 15:10:09 #pass build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 # Tests of skymodel simulations build 30-Jul-2019 15:10:09 + @unittest.skipIf(is_CASA6,"'int' object is not subscriptable. In task_simobserve. - needs to be fixed") build 30-Jul-2019 15:10:09 def testSky_skymodel(self): build 30-Jul-2019 15:10:09 """Test skymodel simulation: only modify model""" build 30-Jul-2019 15:10:09 skymodel = self.inmodel build 30-Jul-2019 15:10:09 @@ -287,6 +304,7 @@ class simobserve_sky(simobserve_unittest_base): build 30-Jul-2019 15:10:09 self._get_data_prefix(antennalist,self.project)+".skymodel" build 30-Jul-2019 15:10:09 self._check_imstats(currmodel, self.refmodel) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + @unittest.skipIf(is_CASA6,"'int' object is not subscriptable. In task_simobserve. - needs to be fixed") build 30-Jul-2019 15:10:09 def testSky_almaptg(self): build 30-Jul-2019 15:10:09 """Test skymodel simulation: only setpointing (maptype='ALMA')""" build 30-Jul-2019 15:10:09 skymodel = self.refmodel build 30-Jul-2019 15:10:09 @@ -307,6 +325,7 @@ class simobserve_sky(simobserve_unittest_base): build 30-Jul-2019 15:10:09 refptg = self.refpref + "alma.alma.out01.ptg.txt" build 30-Jul-2019 15:10:09 self._check_ptgfile(currptg, refptg) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + @unittest.skipIf(is_CASA6,"'int' object is not subscriptable. In task_simobserve. - needs to be fixed") build 30-Jul-2019 15:10:09 def testSky_hexptg(self): build 30-Jul-2019 15:10:09 """Test skymodel simulation: only setpointing (maptype='hexagonal')""" build 30-Jul-2019 15:10:09 skymodel = self.refmodel build 30-Jul-2019 15:10:09 @@ -327,6 +346,7 @@ class simobserve_sky(simobserve_unittest_base): build 30-Jul-2019 15:10:09 refptg = self.refpref + "hex.aca.i.ptg.txt" build 30-Jul-2019 15:10:09 self._check_ptgfile(currptg, refptg) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + @unittest.skipIf(is_CASA6,"Both antennnalist and sdantlist are defined. - needs to be fixed") build 30-Jul-2019 15:10:09 def testSky_sqptg(self): build 30-Jul-2019 15:10:09 """Test skymodel simulation: only setpointing (maptype='square')""" build 30-Jul-2019 15:10:09 skymodel = self.refmodel build 30-Jul-2019 15:10:09 @@ -481,6 +501,7 @@ class simobserve_comp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 project = simobserve_unittest_base.thistask+"_comp" build 30-Jul-2019 15:10:09 incomp = "core5ps.clist" build 30-Jul-2019 15:10:09 compwidth = "10MHz" build 30-Jul-2019 15:10:09 + comp_nchan = 1 build 30-Jul-2019 15:10:09 direction = "J2000 19h00m00 -23d00m00" build 30-Jul-2019 15:10:09 sdantlist = "aca.tp.cfg" build 30-Jul-2019 15:10:09 antlist = "alma.out01.cfg" build 30-Jul-2019 15:10:09 @@ -505,6 +526,11 @@ class simobserve_comp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 # reference simulated MS build 30-Jul-2019 15:10:09 self.refms_sd = self.refpref_sd+".sd.ms" build 30-Jul-2019 15:10:09 self.refms_int = self.refpref_int+".ms" build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + # new data for comp_nchan > 1 build 30-Jul-2019 15:10:09 + self.refmodel_int_8ch = self.refpref_int+".8ch.compskymodel" build 30-Jul-2019 15:10:09 + self.refms_int_8ch = self.refpref_int+".8ch.ms" build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 # copy input components list build 30-Jul-2019 15:10:09 self._copy_input(self.incomp) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @@ -518,11 +544,12 @@ class simobserve_comp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 """Test complist simulation: only generating input model""" build 30-Jul-2019 15:10:09 complist = self.incomp build 30-Jul-2019 15:10:09 compwidth = self.compwidth build 30-Jul-2019 15:10:09 + comp_nchan = self.comp_nchan build 30-Jul-2019 15:10:09 obsmode = "" build 30-Jul-2019 15:10:09 antennalist="alma.out01.cfg" # necessary even if only modifymodel build 30-Jul-2019 15:10:09 sdantlist = "" build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,complist=complist, build 30-Jul-2019 15:10:09 - compwidth = compwidth, build 30-Jul-2019 15:10:09 + compwidth=compwidth,comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 setpointings=True,obsmode=obsmode, build 30-Jul-2019 15:10:09 antennalist=antennalist,sdantlist=sdantlist, build 30-Jul-2019 15:10:09 thermalnoise="",graphics=self.graphics) build 30-Jul-2019 15:10:09 @@ -536,13 +563,14 @@ class simobserve_comp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 """Test complist simulation: only setpointing (maptype='ALMA')""" build 30-Jul-2019 15:10:09 complist = self.incomp build 30-Jul-2019 15:10:09 compwidth = self.compwidth build 30-Jul-2019 15:10:09 + comp_nchan = self.comp_nchan build 30-Jul-2019 15:10:09 setpointings = True build 30-Jul-2019 15:10:09 maptype = "ALMA" build 30-Jul-2019 15:10:09 obsmode = "" build 30-Jul-2019 15:10:09 antennalist = "alma.out01.cfg" build 30-Jul-2019 15:10:09 sdantlist = "" build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,complist=complist, build 30-Jul-2019 15:10:09 - compwidth = compwidth, build 30-Jul-2019 15:10:09 + compwidth=compwidth,comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 setpointings=setpointings,maptype=maptype, build 30-Jul-2019 15:10:09 obsmode=obsmode,antennalist=antennalist, build 30-Jul-2019 15:10:09 sdantlist=sdantlist, build 30-Jul-2019 15:10:09 @@ -558,13 +586,14 @@ class simobserve_comp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 """Test complist simulation: only setpointing (maptype='hexagonal')""" build 30-Jul-2019 15:10:09 complist = self.incomp build 30-Jul-2019 15:10:09 compwidth = self.compwidth build 30-Jul-2019 15:10:09 + comp_nchan = self.comp_nchan build 30-Jul-2019 15:10:09 setpointings = True build 30-Jul-2019 15:10:09 maptype = "hexagonal" build 30-Jul-2019 15:10:09 obsmode = "" build 30-Jul-2019 15:10:09 antennalist = "aca.i.cfg" build 30-Jul-2019 15:10:09 sdantlist = "" build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,complist=complist, build 30-Jul-2019 15:10:09 - compwidth = compwidth, build 30-Jul-2019 15:10:09 + compwidth=compwidth,comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 setpointings=setpointings,maptype=maptype, build 30-Jul-2019 15:10:09 obsmode=obsmode,antennalist=antennalist, build 30-Jul-2019 15:10:09 sdantlist=sdantlist, build 30-Jul-2019 15:10:09 @@ -576,17 +605,19 @@ class simobserve_comp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 refptg = self.refpref + "hex.aca.i.ptg.txt" build 30-Jul-2019 15:10:09 self._check_ptgfile(currptg, refptg) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 def testComp_sqptg(self): build 30-Jul-2019 15:10:09 """Test complist simulation: only setpointing (maptype='square')""" build 30-Jul-2019 15:10:09 complist = self.incomp build 30-Jul-2019 15:10:09 compwidth = self.compwidth build 30-Jul-2019 15:10:09 + comp_nchan = self.comp_nchan build 30-Jul-2019 15:10:09 setpointings = True build 30-Jul-2019 15:10:09 maptype = "square" build 30-Jul-2019 15:10:09 obsmode = "" build 30-Jul-2019 15:10:09 antennalist = "" build 30-Jul-2019 15:10:09 sdantlist = self.sdantlist build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,complist=complist, build 30-Jul-2019 15:10:09 - compwidth = compwidth, build 30-Jul-2019 15:10:09 + compwidth=compwidth,comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 setpointings=setpointings,maptype=maptype, build 30-Jul-2019 15:10:09 obsmode=obsmode,antennalist=antennalist, build 30-Jul-2019 15:10:09 sdantlist=sdantlist, build 30-Jul-2019 15:10:09 @@ -610,7 +641,7 @@ class simobserve_comp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 sdantlist = self.sdantlist build 30-Jul-2019 15:10:09 totaltime = "144s" build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,complist=complist, build 30-Jul-2019 15:10:09 - compwidth = compwidth, build 30-Jul-2019 15:10:09 + compwidth=compwidth,comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 setpointings=setpointings,ptgfile=ptgfile, build 30-Jul-2019 15:10:09 integration=integration,obsmode=obsmode, build 30-Jul-2019 15:10:09 sdantlist=sdantlist,totaltime=totaltime, build 30-Jul-2019 15:10:09 @@ -626,6 +657,7 @@ class simobserve_comp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 """Test complist simulation: only observation (INT)""" build 30-Jul-2019 15:10:09 complist = self.incomp build 30-Jul-2019 15:10:09 compwidth = self.compwidth build 30-Jul-2019 15:10:09 + comp_nchan = self.comp_nchan build 30-Jul-2019 15:10:09 setpointings = False build 30-Jul-2019 15:10:09 ptgfile = self.refpref_int + ".ptg.txt" build 30-Jul-2019 15:10:09 integration = "4s" build 30-Jul-2019 15:10:09 @@ -633,7 +665,7 @@ class simobserve_comp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 antennalist = 'alma.out01.cfg' build 30-Jul-2019 15:10:09 totaltime = "28s" build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,complist=complist, build 30-Jul-2019 15:10:09 - compwidth = compwidth, build 30-Jul-2019 15:10:09 + compwidth=compwidth,comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 setpointings=setpointings,ptgfile=ptgfile, build 30-Jul-2019 15:10:09 integration=integration,obsmode=obsmode, build 30-Jul-2019 15:10:09 antennalist=antennalist,totaltime=totaltime, build 30-Jul-2019 15:10:09 @@ -654,7 +686,7 @@ class simobserve_comp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 obsmode = "" build 30-Jul-2019 15:10:09 leakage = 0.5 build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,complist=complist, build 30-Jul-2019 15:10:09 - compwidth = compwidth, build 30-Jul-2019 15:10:09 + compwidth=compwidth,comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 setpointings=setpointings,ptgfile=ptgfile, build 30-Jul-2019 15:10:09 obsmode=obsmode,thermalnoise="", build 30-Jul-2019 15:10:09 leakage=leakage,graphics=self.graphics) build 30-Jul-2019 15:10:09 @@ -664,6 +696,7 @@ class simobserve_comp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 """Test complist simulation: single dish""" build 30-Jul-2019 15:10:09 complist = self.incomp build 30-Jul-2019 15:10:09 compwidth = self.compwidth build 30-Jul-2019 15:10:09 + comp_nchan = self.comp_nchan build 30-Jul-2019 15:10:09 integration = "4s" build 30-Jul-2019 15:10:09 direction = self.direction build 30-Jul-2019 15:10:09 mapsize = ["60arcsec", "60arcsec"] build 30-Jul-2019 15:10:09 @@ -672,7 +705,8 @@ class simobserve_comp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 sdantlist = "aca.tp.cfg" build 30-Jul-2019 15:10:09 totaltime = "144s" build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,complist=complist, build 30-Jul-2019 15:10:09 - compwidth = compwidth,setpointings=True, build 30-Jul-2019 15:10:09 + compwidth = build 30-Jul-2019 15:10:09 + compwidth,comp_nchan=comp_nchan,setpointings=True, build 30-Jul-2019 15:10:09 integration=integration,direction=direction, build 30-Jul-2019 15:10:09 mapsize=mapsize,maptype=maptype,obsmode=obsmode, build 30-Jul-2019 15:10:09 totaltime=totaltime,antennalist="",sdantlist=sdantlist, build 30-Jul-2019 15:10:09 @@ -690,6 +724,7 @@ class simobserve_comp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 """Test complist simulation: interferometer""" build 30-Jul-2019 15:10:09 complist = self.incomp build 30-Jul-2019 15:10:09 compwidth = self.compwidth build 30-Jul-2019 15:10:09 + comp_nchan = self.comp_nchan build 30-Jul-2019 15:10:09 integration = "4s" build 30-Jul-2019 15:10:09 direction = self.direction build 30-Jul-2019 15:10:09 mapsize = ['20arcsec', '20arcsec'] build 30-Jul-2019 15:10:09 @@ -698,11 +733,12 @@ class simobserve_comp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 antennalist = 'alma.out01.cfg' build 30-Jul-2019 15:10:09 totaltime = "28s" build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,complist=complist, build 30-Jul-2019 15:10:09 - compwidth = compwidth,setpointings=True, build 30-Jul-2019 15:10:09 - integration=integration,direction=direction, build 30-Jul-2019 15:10:09 - mapsize=mapsize,maptype=maptype,obsmode=obsmode, build 30-Jul-2019 15:10:09 - totaltime=totaltime,antennalist=antennalist, build 30-Jul-2019 15:10:09 - thermalnoise="",graphics=self.graphics) build 30-Jul-2019 15:10:09 + compwidth=compwidth,comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 + setpointings=True,integration=integration, build 30-Jul-2019 15:10:09 + direction=direction,mapsize=mapsize,maptype=maptype, build 30-Jul-2019 15:10:09 + obsmode=obsmode,totaltime=totaltime, build 30-Jul-2019 15:10:09 + antennalist=antennalist,thermalnoise="", build 30-Jul-2019 15:10:09 + graphics=self.graphics) build 30-Jul-2019 15:10:09 self.assertTrue(res) build 30-Jul-2019 15:10:09 # compare outputs build 30-Jul-2019 15:10:09 currpref = self.project + "/" + \ build 30-Jul-2019 15:10:09 @@ -711,6 +747,36 @@ class simobserve_comp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 self._check_ptgfile(currpref+".ptg.txt", self.refpref_int+".ptg.txt") build 30-Jul-2019 15:10:09 self._check_msstats(currpref+".ms",self.refms_int) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + @unittest.skipIf(is_CASA6,"Failed AlwaysAssert sdirections.nelements() == nptg - needs to be fixed.") build 30-Jul-2019 15:10:09 + def testComp_intNchan(self): build 30-Jul-2019 15:10:09 + """Test complist simulation: interferometer, but with comp_nchan > 1""" build 30-Jul-2019 15:10:09 + complist = self.incomp build 30-Jul-2019 15:10:09 + compwidth = self.compwidth build 30-Jul-2019 15:10:09 + comp_nchan = 8 build 30-Jul-2019 15:10:09 + integration = "4s" build 30-Jul-2019 15:10:09 + direction = self.direction build 30-Jul-2019 15:10:09 + mapsize = ['20arcsec', '20arcsec'] build 30-Jul-2019 15:10:09 + maptype = "ALMA" build 30-Jul-2019 15:10:09 + obsmode = 'int' build 30-Jul-2019 15:10:09 + antennalist = 'alma.out01.cfg' build 30-Jul-2019 15:10:09 + totaltime = "28s" build 30-Jul-2019 15:10:09 + res = simobserve(project=self.project,complist=complist, build 30-Jul-2019 15:10:09 + compwidth=compwidth,comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 + setpointings=True, build 30-Jul-2019 15:10:09 + integration=integration,direction=direction, build 30-Jul-2019 15:10:09 + mapsize=mapsize,maptype=maptype,obsmode=obsmode, build 30-Jul-2019 15:10:09 + totaltime=totaltime,antennalist=antennalist, build 30-Jul-2019 15:10:09 + thermalnoise="",graphics=self.graphics) build 30-Jul-2019 15:10:09 + self.assertTrue(res) build 30-Jul-2019 15:10:09 + # compare outputs build 30-Jul-2019 15:10:09 + currpref = self.project + "/" + \ build 30-Jul-2019 15:10:09 + self._get_data_prefix(antennalist,self.project) build 30-Jul-2019 15:10:09 + self._check_imstats(currpref+".compskymodel", build 30-Jul-2019 15:10:09 + self.refmodel_int_8ch) build 30-Jul-2019 15:10:09 + self._check_ptgfile(currpref+".ptg.txt", build 30-Jul-2019 15:10:09 + self.refpref_int+".8ch.ptg.txt") build 30-Jul-2019 15:10:09 + self._check_msstats(currpref+".ms", build 30-Jul-2019 15:10:09 + self.refms_int_8ch) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 ######################################################################## build 30-Jul-2019 15:10:09 @@ -728,6 +794,7 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 indirection = "J2000 19h00m00 -23d00m00" build 30-Jul-2019 15:10:09 incomp = "ps5.clist" build 30-Jul-2019 15:10:09 compwidth = "10MHz" build 30-Jul-2019 15:10:09 + comp_nchan = 1 build 30-Jul-2019 15:10:09 sdantlist = "aca.tp.cfg" build 30-Jul-2019 15:10:09 antlist = "alma.out01.cfg" build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @@ -770,6 +837,7 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 skymodel = self.inmodel build 30-Jul-2019 15:10:09 complist = self.incomp build 30-Jul-2019 15:10:09 compwidth = self.compwidth build 30-Jul-2019 15:10:09 + comp_nchan = self.comp_nchan build 30-Jul-2019 15:10:09 #setpointings = False build 30-Jul-2019 15:10:09 #ptgfile = # necessary even if only modifymodel build 30-Jul-2019 15:10:09 obsmode = "" build 30-Jul-2019 15:10:09 @@ -777,6 +845,7 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 sdantlist = "" build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,skymodel=skymodel, build 30-Jul-2019 15:10:09 complist=complist,compwidth=compwidth, build 30-Jul-2019 15:10:09 + comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 setpointings=True,obsmode=obsmode, build 30-Jul-2019 15:10:09 antennalist=antennalist,sdantlist=sdantlist, build 30-Jul-2019 15:10:09 thermalnoise="",graphics=self.graphics) build 30-Jul-2019 15:10:09 @@ -792,6 +861,7 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 skymodel = self.inmodel build 30-Jul-2019 15:10:09 complist = self.incomp build 30-Jul-2019 15:10:09 compwidth = self.compwidth build 30-Jul-2019 15:10:09 + comp_nchan = self.comp_nchan build 30-Jul-2019 15:10:09 setpointings = True build 30-Jul-2019 15:10:09 maptype = "ALMA" build 30-Jul-2019 15:10:09 obsmode = "" build 30-Jul-2019 15:10:09 @@ -799,6 +869,7 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 sdantlist = "" build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,skymodel=skymodel, build 30-Jul-2019 15:10:09 complist=complist,compwidth=compwidth, build 30-Jul-2019 15:10:09 + comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 setpointings=setpointings,maptype=maptype, build 30-Jul-2019 15:10:09 obsmode=obsmode,antennalist=antennalist, build 30-Jul-2019 15:10:09 sdantlist=sdantlist, build 30-Jul-2019 15:10:09 @@ -815,6 +886,7 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 skymodel = self.inmodel build 30-Jul-2019 15:10:09 complist = self.incomp build 30-Jul-2019 15:10:09 compwidth = self.compwidth build 30-Jul-2019 15:10:09 + comp_nchan = self.comp_nchan build 30-Jul-2019 15:10:09 setpointings = True build 30-Jul-2019 15:10:09 maptype = "hexagonal" build 30-Jul-2019 15:10:09 obsmode = "" build 30-Jul-2019 15:10:09 @@ -822,6 +894,7 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 sdantlist = "" build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,skymodel=skymodel, build 30-Jul-2019 15:10:09 complist=complist,compwidth=compwidth, build 30-Jul-2019 15:10:09 + comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 setpointings=setpointings,maptype=maptype, build 30-Jul-2019 15:10:09 obsmode=obsmode,antennalist=antennalist, build 30-Jul-2019 15:10:09 sdantlist=sdantlist, build 30-Jul-2019 15:10:09 @@ -838,6 +911,7 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 skymodel = self.inmodel build 30-Jul-2019 15:10:09 complist = self.incomp build 30-Jul-2019 15:10:09 compwidth = self.compwidth build 30-Jul-2019 15:10:09 + comp_nchan = self.comp_nchan build 30-Jul-2019 15:10:09 setpointings = True build 30-Jul-2019 15:10:09 maptype = "square" build 30-Jul-2019 15:10:09 obsmode = "" build 30-Jul-2019 15:10:09 @@ -845,6 +919,7 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 sdantlist = self.sdantlist build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,skymodel=skymodel, build 30-Jul-2019 15:10:09 complist=complist,compwidth=compwidth, build 30-Jul-2019 15:10:09 + comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 setpointings=setpointings,maptype=maptype, build 30-Jul-2019 15:10:09 obsmode=obsmode,antennalist=antennalist, build 30-Jul-2019 15:10:09 sdantlist=sdantlist, build 30-Jul-2019 15:10:09 @@ -862,6 +937,7 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 skymodel = self.inmodel build 30-Jul-2019 15:10:09 complist = self.incomp build 30-Jul-2019 15:10:09 compwidth = self.compwidth build 30-Jul-2019 15:10:09 + comp_nchan = self.comp_nchan build 30-Jul-2019 15:10:09 setpointings = False build 30-Jul-2019 15:10:09 ptgfile = self.refpref_sd + ".ptg.txt" build 30-Jul-2019 15:10:09 integration = "4s" build 30-Jul-2019 15:10:09 @@ -870,6 +946,7 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 totaltime = "144s" build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,skymodel=skymodel, build 30-Jul-2019 15:10:09 complist=complist,compwidth=compwidth, build 30-Jul-2019 15:10:09 + comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 setpointings=setpointings,ptgfile=ptgfile, build 30-Jul-2019 15:10:09 integration=integration,obsmode=obsmode, build 30-Jul-2019 15:10:09 sdantlist=sdantlist,totaltime=totaltime, build 30-Jul-2019 15:10:09 @@ -886,6 +963,7 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 skymodel = self.inmodel build 30-Jul-2019 15:10:09 complist = self.incomp build 30-Jul-2019 15:10:09 compwidth = self.compwidth build 30-Jul-2019 15:10:09 + comp_nchan = self.comp_nchan build 30-Jul-2019 15:10:09 setpointings = False build 30-Jul-2019 15:10:09 ptgfile = self.refpref_int + ".ptg.txt" build 30-Jul-2019 15:10:09 integration = "4s" build 30-Jul-2019 15:10:09 @@ -894,6 +972,7 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 totaltime = "28s" build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,skymodel=skymodel, build 30-Jul-2019 15:10:09 complist=complist,compwidth=compwidth, build 30-Jul-2019 15:10:09 + comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 setpointings=setpointings,ptgfile=ptgfile, build 30-Jul-2019 15:10:09 integration=integration,obsmode=obsmode, build 30-Jul-2019 15:10:09 antennalist=antennalist,totaltime=totaltime, build 30-Jul-2019 15:10:09 @@ -910,11 +989,13 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 skymodel = self.inmodel build 30-Jul-2019 15:10:09 complist = self.incomp build 30-Jul-2019 15:10:09 compwidth = self.compwidth build 30-Jul-2019 15:10:09 + comp_nchan = self.comp_nchan build 30-Jul-2019 15:10:09 setpointings = False build 30-Jul-2019 15:10:09 obsmode = "" build 30-Jul-2019 15:10:09 leakage = 0.5 build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,skymodel=skymodel, build 30-Jul-2019 15:10:09 complist=complist,compwidth=compwidth, build 30-Jul-2019 15:10:09 + comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 setpointings=setpointings,ptgfile=ptgfile, build 30-Jul-2019 15:10:09 obsmode=obsmode,thermalnoise="", build 30-Jul-2019 15:10:09 leakage=leakage,graphics=self.graphics) build 30-Jul-2019 15:10:09 @@ -925,6 +1006,7 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 skymodel = self.inmodel build 30-Jul-2019 15:10:09 complist = self.incomp build 30-Jul-2019 15:10:09 compwidth = self.compwidth build 30-Jul-2019 15:10:09 + comp_nchan = self.comp_nchan build 30-Jul-2019 15:10:09 integration = "4s" build 30-Jul-2019 15:10:09 mapsize = ["60arcsec", "60arcsec"] build 30-Jul-2019 15:10:09 maptype = "square" build 30-Jul-2019 15:10:09 @@ -933,6 +1015,7 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 totaltime = "144s" build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,skymodel=skymodel, build 30-Jul-2019 15:10:09 complist=complist,compwidth=compwidth, build 30-Jul-2019 15:10:09 + comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 setpointings=True,integration=integration, build 30-Jul-2019 15:10:09 mapsize=mapsize,maptype=maptype,obsmode=obsmode, build 30-Jul-2019 15:10:09 totaltime=totaltime,antennalist="",sdantlist=sdantlist, build 30-Jul-2019 15:10:09 @@ -951,6 +1034,7 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 skymodel = self.inmodel build 30-Jul-2019 15:10:09 complist = self.incomp build 30-Jul-2019 15:10:09 compwidth = self.compwidth build 30-Jul-2019 15:10:09 + comp_nchan = self.comp_nchan build 30-Jul-2019 15:10:09 integration = "4s" build 30-Jul-2019 15:10:09 mapsize = ['20arcsec', '20arcsec'] build 30-Jul-2019 15:10:09 maptype = "ALMA" build 30-Jul-2019 15:10:09 @@ -959,6 +1043,7 @@ class simobserve_skycomp(simobserve_unittest_base): build 30-Jul-2019 15:10:09 totaltime = "28s" build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,skymodel=skymodel, build 30-Jul-2019 15:10:09 complist=complist,compwidth=compwidth, build 30-Jul-2019 15:10:09 + comp_nchan=comp_nchan, build 30-Jul-2019 15:10:09 setpointings=True,integration=integration, build 30-Jul-2019 15:10:09 mapsize=mapsize,maptype=maptype,obsmode=obsmode, build 30-Jul-2019 15:10:09 totaltime=totaltime,antennalist=antennalist, build 30-Jul-2019 15:10:09 @@ -1024,6 +1109,7 @@ class simobserve_noise(simobserve_unittest_base): build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 #-----------------------------------------------------------------# build 30-Jul-2019 15:10:09 # thermalnoise = "tsys-manual" build 30-Jul-2019 15:10:09 + @unittest.skipIf(is_CASA6,"int object is not subscriptable' in task_simobserve - needs to be fixed") build 30-Jul-2019 15:10:09 def testNZ_intMan(self): build 30-Jul-2019 15:10:09 """Test INT thermal noise (tsys-manual)""" build 30-Jul-2019 15:10:09 project = self.project_int build 30-Jul-2019 15:10:09 @@ -1054,6 +1140,7 @@ class simobserve_noise(simobserve_unittest_base): build 30-Jul-2019 15:10:09 self.assertTrue(abs((msnoise-ananoise)/ananoise) < 1.e-1, \ build 30-Jul-2019 15:10:09 msg=self.anamsg % (msnoise, ananoise)) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + @unittest.skipIf(is_CASA6,"Both antennalist and sdantlist are defined. Define one of them. - needs to be fixed") build 30-Jul-2019 15:10:09 def testNZ_sdMan(self): build 30-Jul-2019 15:10:09 """Test SD thermal noise (tsys-manual): standard parameter set""" build 30-Jul-2019 15:10:09 thermalnoise="tsys-manual" build 30-Jul-2019 15:10:09 @@ -1079,6 +1166,7 @@ class simobserve_noise(simobserve_unittest_base): build 30-Jul-2019 15:10:09 self.assertTrue(abs((msnoise-ananoise)/ananoise) < 1.e-1, \ build 30-Jul-2019 15:10:09 msg=self.anamsg % (msnoise, ananoise)) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + @unittest.skipIf(is_CASA6,"Both antennalist and sdantlist are defined. Define one of them. - needs to be fixed") build 30-Jul-2019 15:10:09 def testNZ_sdMan_tau(self): build 30-Jul-2019 15:10:09 """Test SD thermal noise (tsys-manual): tau0=1.5""" build 30-Jul-2019 15:10:09 thermalnoise="tsys-manual" build 30-Jul-2019 15:10:09 @@ -1572,6 +1660,7 @@ class simobserve_badinputs(simobserve_unittest_base): build 30-Jul-2019 15:10:09 self.assertNotEqual(pos,-1,msg=msg) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this") build 30-Jul-2019 15:10:09 def test_noProject(self): build 30-Jul-2019 15:10:09 """Test no project name""" build 30-Jul-2019 15:10:09 project = '' build 30-Jul-2019 15:10:09 @@ -1704,15 +1793,31 @@ class simobserve_badinputs(simobserve_unittest_base): build 30-Jul-2019 15:10:09 """Test bad compwidth""" build 30-Jul-2019 15:10:09 # not frequency build 30-Jul-2019 15:10:09 compwidth="2arcsec" build 30-Jul-2019 15:10:09 + comp_nchan=1 build 30-Jul-2019 15:10:09 try: build 30-Jul-2019 15:10:09 res = simobserve(project=self.project,complist=self.incomp, build 30-Jul-2019 15:10:09 totaltime=self.tottime,mapsize=self.mapsize, build 30-Jul-2019 15:10:09 - compwidth=compwidth) build 30-Jul-2019 15:10:09 + compwidth=compwidth,comp_nchan=comp_nchan) build 30-Jul-2019 15:10:09 self.fail(self.failmsg) build 30-Jul-2019 15:10:09 except Exception as e: build 30-Jul-2019 15:10:09 pos=str(e).find("Quantum::operator- unequal units 'GHz, 'arcsec'") build 30-Jul-2019 15:10:09 msg = self.errmsg % str(e) build 30-Jul-2019 15:10:09 self.assertNotEqual(pos,-1,msg=msg) build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + @unittest.skipIf(is_CASA6,"Exception message thrown is different - unexpected comp_nchan keyword - fix this") build 30-Jul-2019 15:10:09 + def testBad_comp_nchan(self): build 30-Jul-2019 15:10:09 + """Test bad comp_nchan""" build 30-Jul-2019 15:10:09 + compwidth="2arcsec" build 30-Jul-2019 15:10:09 + comp_nchan=self.badnum build 30-Jul-2019 15:10:09 + try: build 30-Jul-2019 15:10:09 + res = simobserve(project=self.project,complist=self.incomp, build 30-Jul-2019 15:10:09 + totaltime=self.tottime,mapsize=self.mapsize, build 30-Jul-2019 15:10:09 + compwidth=compwidth,comp_nchan=comp_nchan) build 30-Jul-2019 15:10:09 + self.fail(self.failmsg) build 30-Jul-2019 15:10:09 + except Exception as e: build 30-Jul-2019 15:10:09 + pos=str(e).find("Parameter verification failed") build 30-Jul-2019 15:10:09 + msg = self.errmsg % str(e) build 30-Jul-2019 15:10:09 + self.assertNotEqual(pos,-1,msg=msg) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this") build 30-Jul-2019 15:10:09 def testBad_ptgfile(self): build 30-Jul-2019 15:10:09 @@ -1835,6 +1940,7 @@ class simobserve_badinputs(simobserve_unittest_base): build 30-Jul-2019 15:10:09 msg = self.errmsg % str(e) build 30-Jul-2019 15:10:09 self.assertNotEqual(pos,-1,msg=msg) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this") build 30-Jul-2019 15:10:09 def testBad_antennalist(self): build 30-Jul-2019 15:10:09 """Test bad antennalist name""" build 30-Jul-2019 15:10:09 antennalist = self.badname build 30-Jul-2019 15:10:09 @@ -1876,6 +1982,7 @@ class simobserve_badinputs(simobserve_unittest_base): build 30-Jul-2019 15:10:09 msg = self.errmsg % str(e) build 30-Jul-2019 15:10:09 self.assertNotEqual(pos,-1,msg=msg) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this") build 30-Jul-2019 15:10:09 def testBad_sdantlist(self): build 30-Jul-2019 15:10:09 """Test bad sdantlist name""" build 30-Jul-2019 15:10:09 obsmode = "sd" build 30-Jul-2019 15:10:09 @@ -1911,6 +2018,7 @@ class simobserve_badinputs(simobserve_unittest_base): build 30-Jul-2019 15:10:09 msg = self.errmsg % str(e) build 30-Jul-2019 15:10:09 self.assertNotEqual(pos,-1,msg=msg) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this") build 30-Jul-2019 15:10:09 def testBad_refdate(self): build 30-Jul-2019 15:10:09 """Test bad refdate""" build 30-Jul-2019 15:10:09 obsmode = "sd" build 30-Jul-2019 15:10:09 @@ -1928,6 +2036,7 @@ class simobserve_badinputs(simobserve_unittest_base): build 30-Jul-2019 15:10:09 msg = self.errmsg % str(e) build 30-Jul-2019 15:10:09 self.assertNotEqual(pos,-1,msg=msg) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 + @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this") build 30-Jul-2019 15:10:09 def testBad_hourangle(self): build 30-Jul-2019 15:10:09 """Test bad hourangle""" build 30-Jul-2019 15:10:09 obsmode = "sd" build 30-Jul-2019 15:10:09 @@ -1946,6 +2055,7 @@ class simobserve_badinputs(simobserve_unittest_base): build 30-Jul-2019 15:10:09 self.assertNotEqual(pos,-1,msg=msg) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 # casapy crashes for totaltime < 0 build 30-Jul-2019 15:10:09 + @unittest.skipIf(is_CASA6,"Exception message thrown is different - antennnalist/sdantennnalist - fix this") build 30-Jul-2019 15:10:09 def testBad_totaltime(self): build 30-Jul-2019 15:10:09 """Test bad totaltime""" build 30-Jul-2019 15:10:09 obsmode = "sd" build 30-Jul-2019 15:10:09 diff --git a/tests/tasks/test_tclean.py b/tests/tasks/test_tclean.py build 30-Jul-2019 15:10:09 index 64ec8b4..97ca6f4 100644 build 30-Jul-2019 15:10:09 --- a/tests/tasks/test_tclean.py build 30-Jul-2019 15:10:09 +++ b/tests/tasks/test_tclean.py build 30-Jul-2019 15:10:09 @@ -231,7 +231,7 @@ class test_onefield(testref_base): build 30-Jul-2019 15:10:09 """ [onefield] Test_Onefield_multiscale : mfs with multiscale minor cycle """ build 30-Jul-2019 15:10:09 self.prepData('refim_eptwochan.ms') build 30-Jul-2019 15:10:09 ret = tclean(vis=self.msfile,imagename=self.img,imsize=200,cell='8.0arcsec',niter=10,deconvolver='multiscale',scales=[0,20,40,100],interactive=0,parallel=self.parallel) build 30-Jul-2019 15:10:09 - report=self.th.checkall(ret=ret, peakres=1.28, modflux=2.87, iterdone=10, imexist=[self.img+'.psf', self.img+'.residual', self.img+'.image',self.img+'.model'], imval=[(self.img+'.psf',1.0,[100,100,0,0])]) build 30-Jul-2019 15:10:09 + report=self.th.checkall(ret=ret, peakres=0.823, modflux=3.816, iterdone=10, imexist=[self.img+'.psf', self.img+'.residual', self.img+'.image',self.img+'.model'], imval=[(self.img+'.psf',1.0,[100,100,0,0])]) build 30-Jul-2019 15:10:09 self.checkfinal(pstr=report) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 def test_onefield_mtmfs(self): build 30-Jul-2019 15:10:09 @@ -525,8 +525,14 @@ class test_onefield(testref_base): build 30-Jul-2019 15:10:09 report=self.th.checkall(ret=ret, peakres=0.369, modflux=0.689, iterdone=10, imexist=[self.img+'.psf.tt0', self.img+'.residual.tt0', self.img+'.image.tt0', self.img+'.model.tt0'], imval=[(self.img+'.psf.tt0',1.0,[50,50,0,0]),(self.img+'.image.tt0',1.05,[50,50,0,0])]) build 30-Jul-2019 15:10:09 ## iterdone=11 only because of the return (iterdone_p+1) in MultiTermMatrixCleaner::mtclean() ! build 30-Jul-2019 15:10:09 self.checkfinal(pstr=report) build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + def test_onefield_mtmfs_smallscalebias(self): build 30-Jul-2019 15:10:09 + """ [onefield] Test_Onefield_mtmfs : mt-mfs with minor cycle iterations and smallscalebias = 0.9 """ build 30-Jul-2019 15:10:09 + self.prepData('refim_eptwochan.ms') build 30-Jul-2019 15:10:09 + ret = tclean(vis=self.msfile,imagename=self.img,imsize=200,cell='8.0arcsec',niter=10,deconvolver='mtmfs',nterms=1,interactive=0,parallel=self.parallel,smallscalebias=0.9,scales=[0,20,40,100]) build 30-Jul-2019 15:10:09 + report=self.th.checkall(ret=ret, peakres=0.73153, modflux=2.9194, iterdone=10, imexist=[self.img+'.psf.tt0', self.img+'.residual.tt0', self.img+'.image.tt0', self.img+'.model.tt0'],imval=[(self.img+'.image.tt0',0.526,[100,100,0,0])]) build 30-Jul-2019 15:10:09 + self.checkfinal(pstr=report) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 def test_onefield_gridders(self): build 30-Jul-2019 15:10:09 """ [onefield] Test_Onefield_gridders : Check all single field gridder equivalent names are accepted """ build 30-Jul-2019 15:10:09 self.prepData('refim_twochan.ms') build 30-Jul-2019 15:10:09 @@ -786,7 +792,7 @@ class test_iterbot(testref_base): build 30-Jul-2019 15:10:09 ret2 = tclean(vis=self.msfile,imagename=self.img+'2',imsize=100,cell='8.0arcsec',niter=10,threshold='0.1Jy', interactive=0,deconvolver='hogbom',parallel=self.parallel) build 30-Jul-2019 15:10:09 report2=self.th.checkall(ret=ret2, peakres=0.3530, modflux=0.7719, iterdone=10, nmajordone=2,imexist=[self.img+'2.psf', self.img+'2.residual', self.img+'2.image']) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 - ret3 = tclean(vis=self.msfile,imagename=self.img+'3',imsize=100,cell='8.0arcsec',niter=10,threshold='0.1Jy', interactive=0,deconvolver='multiscale',parallel=self.parallel) build 30-Jul-2019 15:10:09 + ret3 = tclean(vis=self.msfile,imagename=self.img+'3',imsize=100,cell='8.0arcsec',niter=10,threshold='0.1Jy', interactive=0,deconvolver='multiscale',parallel=self.parallel,smallscalebias=0.6) build 30-Jul-2019 15:10:09 report3=self.th.checkall(ret=ret3, peakres=0.3922, modflux=0.7327, iterdone=10, nmajordone=2,imexist=[self.img+'3.psf', self.img+'3.residual', self.img+'3.image']) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @@ -2057,6 +2063,22 @@ class test_cube(testref_base): build 30-Jul-2019 15:10:09 report=self.th.checkall(imexist=[self.img+'cc.image'],imval=[(self.img+'cc.image',1.5002,[50,50,0,0]) , (self.img+'cc.image',0.769,[50,50,0,19]) ]) build 30-Jul-2019 15:10:09 self.assertTrue( self.th.checkmodelchan(self.msfile,5) > 0.0 and self.th.checkmodelchan(self.msfile,18) > 0.0 ) build 30-Jul-2019 15:10:09 self.checkfinal(report) build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + @unittest.skipIf(ParallelTaskHelper.isMPIEnabled(), "Skip the test temporarily") build 30-Jul-2019 15:10:09 + def test_cube_mtmfs_nterms1(self): build 30-Jul-2019 15:10:09 + """ [cube] Test mtmfs with cube and nterms = 1 """ build 30-Jul-2019 15:10:09 + self.prepData('refim_eptwochan.ms') build 30-Jul-2019 15:10:09 + ret = tclean(vis=self.msfile,imagename=self.img+'cc', specmode='cube', imsize=200,cell='8.0arcsec',niter=10,deconvolver='mtmfs',nterms=1,interactive=0,parallel=self.parallel,scales=[0,20,40,100]) build 30-Jul-2019 15:10:09 + report=self.th.checkall(ret=ret, imexist=[self.img+'cc.psf.tt0', self.img+'cc.residual.tt0', self.img+'cc.image.tt0', self.img+'cc.model.tt0'],imval=[(self.img+'cc.image.tt0',1.0,[100,100,0,0]),(self.img+'cc.image.tt0',0.492,[100,100,0,1]),(self.img+'cc.image.tt0',0.281,[100,100,0,2])]) build 30-Jul-2019 15:10:09 + self.checkfinal(report) build 30-Jul-2019 15:10:09 + build 30-Jul-2019 15:10:09 + @unittest.skipIf(ParallelTaskHelper.isMPIEnabled(), "Skip the test temporarily") build 30-Jul-2019 15:10:09 + def test_cubedata_mtmfs_nterms1(self): build 30-Jul-2019 15:10:09 + """ [cube] Test mtmfs with cube data and nterms = 1 """ build 30-Jul-2019 15:10:09 + self.prepData('refim_eptwochan.ms') build 30-Jul-2019 15:10:09 + ret = tclean(vis=self.msfile,imagename=self.img+'cc', specmode='cubedata', imsize=200,cell='8.0arcsec',niter=10,deconvolver='mtmfs',nterms=1,interactive=0,parallel=self.parallel,scales=[0,20,40,100]) build 30-Jul-2019 15:10:09 + report=self.th.checkall(ret=ret, imexist=[self.img+'cc.psf.tt0', self.img+'cc.residual.tt0', self.img+'cc.image.tt0', self.img+'cc.model.tt0'],imval=[(self.img+'cc.image.tt0',1.0,[100,100,0,0]),(self.img+'cc.image.tt0',0.492,[100,100,0,1]),(self.img+'cc.image.tt0',0.281,[100,100,0,2])]) build 30-Jul-2019 15:10:09 + self.checkfinal(report) build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 ############################################## build 30-Jul-2019 15:10:09 ############################################## build 30-Jul-2019 15:10:09 @@ -2747,35 +2769,6 @@ class test_widefield(testref_base): build 30-Jul-2019 15:10:09 #do stokes V too.. build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 -class test_widefield_failing(testref_base): build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 - @unittest.skip("Skip failing widefield test") build 30-Jul-2019 15:10:09 - def test_widefield_imagemosaic(self): build 30-Jul-2019 15:10:09 - """ [widefield] Test_Widefield_imagemosaic : Image domain mosaic for single-term mfs (or narrowband) """ build 30-Jul-2019 15:10:09 - self.prepData("refim_mawproject.ms") build 30-Jul-2019 15:10:09 - ret = tclean(vis=self.msfile,spw='1',field='*',imagename=self.img,imsize=512,cell='10.0arcsec',phasecenter="J2000 19:59:28.500 +40.44.01.50", build 30-Jul-2019 15:10:09 - niter=30,gridder='imagemosaic',deconvolver='hogbom',parallel=self.parallel) build 30-Jul-2019 15:10:09 - report=self.th.checkall(imexist=[self.img+'.image', self.img+'.psf', self.img+'.weight'],imval=[(self.img+'.image',1.0,[256,256,0,0]),(self.img+'.weight',0.493,[256,256,0,0]) ] ) build 30-Jul-2019 15:10:09 - self.checkfinal(report) build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 - @unittest.skip("Skip failing widefield test") build 30-Jul-2019 15:10:09 - def test_widefield_mosaic_outlier(self): build 30-Jul-2019 15:10:09 - """ [multifield] Test_widefield_mosaic_outlier : Mosaic with an outlier field """ build 30-Jul-2019 15:10:09 - #### Need another dataset for this. build 30-Jul-2019 15:10:09 - self.prepData("refim_mawproject.ms") build 30-Jul-2019 15:10:09 - ## Outlier uses gridft build 30-Jul-2019 15:10:09 - self.th.write_file(self.img+'.out.txt', 'imagename='+self.img+'1\nimsize=[80,80]\ncell=[8.0arcsec,8.0arcsec]\nphasecenter=J2000 19:58:42.0 +40.55.58.543\nmask=circle[[40pix,40pix],10pix]\ngridder=gridft') build 30-Jul-2019 15:10:09 - ret = tclean(vis=self.msfile,imagename=self.img,imsize=512,cell='10.0arcsec',phasecenter="J2000 19:59:28.500 +40.44.01.50", build 30-Jul-2019 15:10:09 - outlierfile=self.img+'.out.txt',niter=10,deconvolver='hogbom',gridder='mosaicft',interactive=0,parallel=self.parallel) build 30-Jul-2019 15:10:09 - report=self.th.checkall(ret=ret, build 30-Jul-2019 15:10:09 - iterdone=10, # outlier field has nothing in it :). build 30-Jul-2019 15:10:09 - nmajordone=2, build 30-Jul-2019 15:10:09 - imexist=[self.img+'.image', self.img+'1.image'], build 30-Jul-2019 15:10:09 - imval=[(self.img+'.image',0.933,[256,256,0,0]), build 30-Jul-2019 15:10:09 - (self.img+'1.image',0.0,[40,40,0,0])]) build 30-Jul-2019 15:10:09 - self.checkfinal(report) build 30-Jul-2019 15:10:09 - #### NOT WORKING as the model is being picked from tst1, so residual after 0.6 model and one major cycle is same as dirty and the output image is 1.6 instead of 0.93. build 30-Jul-2019 15:10:09 - build 30-Jul-2019 15:10:09 ############################################## build 30-Jul-2019 15:10:09 ############################################## build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 @@ -3575,7 +3568,7 @@ class test_mosaic_cube(testref_base): build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 def test_cube_mosaic_cbFalse_mwFalse_twofield(self): build 30-Jul-2019 15:10:09 self.prepData('refim_oneshiftpoint.mosaic.ms') build 30-Jul-2019 15:10:09 - phasecenter = '' build 30-Jul-2019 15:10:09 + phasecenter = 'J2000 19h59m28.5 +40d40m01.5' # pointing center of field0 build 30-Jul-2019 15:10:09 field='0,1' build 30-Jul-2019 15:10:09 tclean(vis=self.msfile, imagename=self.img,niter=0,specmode='cube',spw='*',imsize=1024, phasecenter=phasecenter,cell='10.0arcsec',gridder='mosaic',field=field, conjbeams=False, wbawp=True, psterm=False,pblimit=0.1,reffreq='1.5GHz',pbcor=True,mosweight=False,parallel=self.parallel) build 30-Jul-2019 15:10:09 report1=self.th.checkall(imval=[(self.img+'.image.pbcor',1.10354316235,[512,596,0,0]),(self.img+'.image.pbcor',0.981979846954,[512,596,0,1]),(self.img+'.image.pbcor', 0.895015060902,[512,596,0,2])]) build 30-Jul-2019 15:10:09 @@ -3626,7 +3619,7 @@ class test_mosaic_cube(testref_base): build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 def test_cube_mosaic_cbFalse_mwTrue_twofield(self): build 30-Jul-2019 15:10:09 self.prepData('refim_oneshiftpoint.mosaic.ms') build 30-Jul-2019 15:10:09 - phasecenter = '' build 30-Jul-2019 15:10:09 + phasecenter = 'J2000 19h59m28.5 +40d40m01.5' # pointing center of field0 build 30-Jul-2019 15:10:09 field='0,1' build 30-Jul-2019 15:10:09 tclean(vis=self.msfile, imagename=self.img,niter=0,specmode='cube',spw='*',imsize=1024, phasecenter=phasecenter,cell='10.0arcsec',gridder='mosaic',field=field, conjbeams=False, wbawp=True, psterm=False,pblimit=0.1,reffreq='1.5GHz',pbcor=True,mosweight=True,parallel=self.parallel) build 30-Jul-2019 15:10:09 report1=self.th.checkall(imval=[(self.img+'.image.pbcor',1.10354316235,[512,596,0,0]),(self.img+'.image.pbcor', 0.981979727745,[512,596,0,1]),(self.img+'.image.pbcor', 0.895014822483,[512,596,0,2])]) build 30-Jul-2019 15:10:09 @@ -3678,7 +3671,7 @@ class test_mosaic_cube(testref_base): build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 def test_cube_awproject_cbFalse_mwFalse_twofield(self): build 30-Jul-2019 15:10:09 self.prepData('refim_oneshiftpoint.mosaic.ms') build 30-Jul-2019 15:10:09 - phasecenter = '' build 30-Jul-2019 15:10:09 + phasecenter = 'J2000 19h59m28.5 +40d40m01.5' # pointing center of field0 build 30-Jul-2019 15:10:09 field='0,1' build 30-Jul-2019 15:10:09 cfcache_path = refdatapath + 'cfcache_oneshiftpoint_mosaic_cbFalse' build 30-Jul-2019 15:10:09 tclean(vis=self.msfile, imagename=self.img,niter=0,specmode='cube',spw='*',imsize=1024, phasecenter=phasecenter,cell='10.0arcsec',gridder='awproject',field=field,cfcache=cfcache_path, conjbeams=False, wbawp=True, psterm=False,pblimit=0.1,reffreq='1.5GHz',pbcor=True,mosweight=False,parallel=self.parallel) build 30-Jul-2019 15:10:09 @@ -3731,7 +3724,7 @@ class test_mosaic_cube(testref_base): build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 def test_cube_awproject_cbFalse_mwTrue_twofield(self): build 30-Jul-2019 15:10:09 self.prepData('refim_oneshiftpoint.mosaic.ms') build 30-Jul-2019 15:10:09 - phasecenter = '' build 30-Jul-2019 15:10:09 + phasecenter = 'J2000 19h59m28.5 +40d40m01.5' # pointing center of field0 build 30-Jul-2019 15:10:09 field='0,1' build 30-Jul-2019 15:10:09 cfcache_path = refdatapath + 'cfcache_oneshiftpoint_mosaic_cbFalse' build 30-Jul-2019 15:10:09 tclean(vis=self.msfile, imagename=self.img,niter=0,specmode='cube',spw='*',imsize=1024, phasecenter=phasecenter,cell='10.0arcsec',gridder='awproject',field=field,cfcache=cfcache_path, conjbeams=False, wbawp=True, psterm=False,pblimit=0.1,reffreq='1.5GHz',pbcor=True,mosweight=True,parallel=self.parallel) build 30-Jul-2019 15:10:09 @@ -3785,7 +3778,7 @@ class test_mosaic_cube(testref_base): build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 def test_cube_mosaic_cbFalse_mwFalse_twofield_upTrue(self): build 30-Jul-2019 15:10:09 self.prepData('refim_oneshiftpoint.mosaic.ms') build 30-Jul-2019 15:10:09 - phasecenter = '' build 30-Jul-2019 15:10:09 + phasecenter = 'J2000 19h59m28.5 +40d40m01.5' # pointing center of field0 build 30-Jul-2019 15:10:09 field='0,1' build 30-Jul-2019 15:10:09 tclean(vis=self.msfile, imagename=self.img,niter=0,specmode='cube',spw='*',imsize=1024, phasecenter=phasecenter,cell='10.0arcsec',gridder='mosaic',field=field, usepointing = True, conjbeams=False, wbawp=True, psterm=False,pblimit=0.1,reffreq='1.5GHz',pbcor=True,mosweight=False,parallel=self.parallel) build 30-Jul-2019 15:10:09 report1=self.th.checkall(imval=[(self.img+'.image.pbcor',1.10354316235,[512,596,0,0]),(self.img+'.image.pbcor',0.981979846954,[512,596,0,1]),(self.img+'.image.pbcor', 0.895015060902,[512,596,0,2])]) build 30-Jul-2019 15:10:09 @@ -3837,7 +3830,7 @@ class test_mosaic_cube(testref_base): build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 def test_cube_awproject_cbFalse_mwFalse_twofield_upTrue(self): build 30-Jul-2019 15:10:09 self.prepData('refim_oneshiftpoint.mosaic.ms') build 30-Jul-2019 15:10:09 - phasecenter = '' build 30-Jul-2019 15:10:09 + phasecenter = 'J2000 19h59m28.5 +40d40m01.5' # pointing center of field0 build 30-Jul-2019 15:10:09 field='0,1' build 30-Jul-2019 15:10:09 cfcache_path = refdatapath + 'cfcache_oneshiftpoint_mosaic_cbFalse' build 30-Jul-2019 15:10:09 tclean(vis=self.msfile, imagename=self.img,niter=0,specmode='cube',spw='*',imsize=1024, phasecenter=phasecenter,cell='10.0arcsec',gridder='awproject',field=field,cfcache=cfcache_path, usepointing = True, conjbeams=False, wbawp=True, psterm=False,pblimit=0.1,reffreq='1.5GHz',pbcor=True,mosweight=False,parallel=self.parallel) build 30-Jul-2019 15:10:09 Argument values: build 30-Jul-2019 15:10:09 casatasks build 30-Jul-2019 15:10:09 /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1/casatasks build 30-Jul-2019 15:10:09 master build 30-Jul-2019 15:10:09 None build 30-Jul-2019 15:10:09 Last Tag: 2019.126 build 30-Jul-2019 15:10:09 New Tag: 2019.127 build 30-Jul-2019 15:10:09 Creating a new tag build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 None build 30-Jul-2019 15:10:09 Push enabled. Pushing new tag upstream. build 30-Jul-2019 15:10:09 To ssh://git@open-bitbucket.nrao.edu:7999/casa/casatasks.git build 30-Jul-2019 15:10:09 * [new tag] 2019.127 -> 2019.127 build 30-Jul-2019 15:10:09 build 30-Jul-2019 15:10:09 None simple 30-Jul-2019 15:10:09 Finished task 'Create wheel' with result: Success simple 30-Jul-2019 15:10:09 Running post build plugin 'Docker Container Cleanup' command 30-Jul-2019 15:10:09 Beginning to execute external process for build 'CASA - Casa6 Tasks Wheel Build - Build and Package RHEL6 #124 (CASA-CTB-JOB1-124)'\n ... running command line: \n/bin/docker rm -f task-wheel-container\n ... in: /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-CTB-JOB1\n build 30-Jul-2019 15:10:11 task-wheel-container simple 30-Jul-2019 15:10:11 Running post build plugin 'NCover Results Collector' simple 30-Jul-2019 15:10:11 Running post build plugin 'Clover Results Collector' simple 30-Jul-2019 15:10:11 Running post build plugin 'npm Cache Cleanup' simple 30-Jul-2019 15:10:11 Running post build plugin 'Artifact Copier' simple 30-Jul-2019 15:10:11 Publishing an artifact: EL6 wheel simple 30-Jul-2019 15:10:11 Finished publishing of artifact Non required shared artifact: [EL6 wheel], pattern: [*-any.whl] anchored at: [wheeldirectory/] in 264.7 ms simple 30-Jul-2019 15:10:11 Finalising the build... simple 30-Jul-2019 15:10:11 Stopping timer. simple 30-Jul-2019 15:10:11 Build CASA-CTB-JOB1-124 completed. simple 30-Jul-2019 15:10:11 Running on server: post build plugin 'NCover Results Collector' simple 30-Jul-2019 15:10:11 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 30-Jul-2019 15:10:11 Running on server: post build plugin 'Clover Delta Calculator' simple 30-Jul-2019 15:10:11 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 30-Jul-2019 15:10:11 All post build plugins have finished simple 30-Jul-2019 15:10:11 Generating build results summary... simple 30-Jul-2019 15:10:11 Saving build results to disk... simple 30-Jul-2019 15:10:11 Logging substituted variables... simple 30-Jul-2019 15:10:11 Indexing build results... simple 30-Jul-2019 15:10:11 Finished building CASA-CTB-JOB1-124.