0s autopkgtest [23:45:19]: starting date and time: 2024-04-18 23:45:19+0000 0s autopkgtest [23:45:19]: git checkout: 43bc6cdf gitlab-ci: do not include the salsa pipeline 0s autopkgtest [23:45:19]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.9g0038z8/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:gsl --apt-upgrade cpl-plugin-visir --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=gsl/2.7.1+dfsg-6ubuntu2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos02-ppc64el-8.secgroup --name adt-noble-ppc64el-cpl-plugin-visir-20240418-234518-juju-7f2275-prod-proposed-migration-environment-2-ffef072a-5b53-471a-8121-7a4c3327de97 --image adt/ubuntu-noble-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 192s autopkgtest [23:48:31]: testbed dpkg architecture: ppc64el 192s autopkgtest [23:48:31]: testbed apt version: 2.7.14build2 192s autopkgtest [23:48:31]: @@@@@@@@@@@@@@@@@@@@ test bed setup 193s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 194s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [381 kB] 194s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [12.2 kB] 194s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [2340 B] 194s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [57.5 kB] 194s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [112 kB] 194s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 194s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [976 B] 194s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 194s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [587 kB] 194s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 194s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [1004 B] 194s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 197s Fetched 1282 kB in 1s (1260 kB/s) 197s Reading package lists... 199s sh: 4: dhclient: not found 200s Reading package lists... 200s Building dependency tree... 200s Reading state information... 200s Calculating upgrade... 200s The following packages will be upgraded: 200s libkeyutils1 libnuma1 make netcat-openbsd numactl 200s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 200s Need to get 343 kB of archives. 200s After this operation, 16.4 kB disk space will be freed. 200s Get:1 http://ftpmaster.internal/ubuntu noble/main ppc64el libkeyutils1 ppc64el 1.6.3-3build1 [11.0 kB] 200s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el netcat-openbsd ppc64el 1.226-1ubuntu2 [46.2 kB] 200s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el libnuma1 ppc64el 2.0.18-1build1 [28.2 kB] 201s Get:4 http://ftpmaster.internal/ubuntu noble/main ppc64el make ppc64el 4.3-4.1build2 [214 kB] 201s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el numactl ppc64el 2.0.18-1build1 [43.9 kB] 201s Fetched 343 kB in 1s (482 kB/s) 201s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 71981 files and directories currently installed.) 201s Preparing to unpack .../libkeyutils1_1.6.3-3build1_ppc64el.deb ... 201s Unpacking libkeyutils1:ppc64el (1.6.3-3build1) over (1.6.3-3) ... 201s Preparing to unpack .../netcat-openbsd_1.226-1ubuntu2_ppc64el.deb ... 201s Unpacking netcat-openbsd (1.226-1ubuntu2) over (1.226-1ubuntu1) ... 201s Preparing to unpack .../libnuma1_2.0.18-1build1_ppc64el.deb ... 201s Unpacking libnuma1:ppc64el (2.0.18-1build1) over (2.0.18-1) ... 201s Preparing to unpack .../make_4.3-4.1build2_ppc64el.deb ... 201s Unpacking make (4.3-4.1build2) over (4.3-4.1build1) ... 201s Preparing to unpack .../numactl_2.0.18-1build1_ppc64el.deb ... 201s Unpacking numactl (2.0.18-1build1) over (2.0.18-1) ... 201s Setting up libkeyutils1:ppc64el (1.6.3-3build1) ... 201s Setting up netcat-openbsd (1.226-1ubuntu2) ... 201s Setting up make (4.3-4.1build2) ... 201s Setting up libnuma1:ppc64el (2.0.18-1build1) ... 201s Setting up numactl (2.0.18-1build1) ... 201s Processing triggers for man-db (2.12.0-4build1) ... 202s Processing triggers for libc-bin (2.39-0ubuntu8) ... 202s Reading package lists... 203s Building dependency tree... 203s Reading state information... 203s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 203s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 203s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 203s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 204s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 205s Reading package lists... 205s Reading package lists... 205s Building dependency tree... 205s Reading state information... 205s Calculating upgrade... 205s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 205s Reading package lists... 205s Building dependency tree... 205s Reading state information... 206s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 209s autopkgtest [23:48:48]: testbed running kernel: Linux 6.8.0-22-generic #22-Ubuntu SMP Thu Apr 4 22:47:57 UTC 2024 209s autopkgtest [23:48:48]: @@@@@@@@@@@@@@@@@@@@ apt-source cpl-plugin-visir 213s Get:1 http://ftpmaster.internal/ubuntu noble/universe cpl-plugin-visir 4.4.2+dfsg-1 (dsc) [2440 B] 213s Get:2 http://ftpmaster.internal/ubuntu noble/universe cpl-plugin-visir 4.4.2+dfsg-1 (tar) [3022 kB] 213s Get:3 http://ftpmaster.internal/ubuntu noble/universe cpl-plugin-visir 4.4.2+dfsg-1 (diff) [12.7 kB] 213s gpgv: Signature made Mon Aug 22 08:19:29 2022 UTC 213s gpgv: using RSA key BAFC6C85F7CB143FEEB6FB157115AFD07710DCF7 213s gpgv: Can't check signature: No public key 213s dpkg-source: warning: cannot verify inline signature for ./cpl-plugin-visir_4.4.2+dfsg-1.dsc: no acceptable signature found 213s autopkgtest [23:48:52]: testing package cpl-plugin-visir version 4.4.2+dfsg-1 214s autopkgtest [23:48:53]: build not needed 216s autopkgtest [23:48:55]: test test-recipe.py: preparing testbed 217s Reading package lists... 217s Building dependency tree... 217s Reading state information... 217s Starting pkgProblemResolver with broken count: 0 217s Starting 2 pkgProblemResolver with broken count: 0 217s Done 218s The following additional packages will be installed: 218s cpl-plugin-visir libblas3 libcext0 libcfitsio10t64 libcplcore26 libcpldfs26 218s libcpldrs26 libcplui26 liberfa1 libfftw3-double3 libfftw3-single3 218s libgfortran5 libgomp1 libgsl27 libgslcblas0 libjs-jquery 218s libjs-jquery-hotkeys libjs-jquery-isonscreen libjs-jquery-metadata 218s libjs-jquery-tablesorter libjs-jquery-throttle-debounce libjs-sphinxdoc 218s libjs-underscore liblapack3 libwcs8 python3-astropy 218s python3-astropy-iers-data python3-coverage python3-cpl python3-dateutil 218s python3-erfa python3-hypothesis python3-iniconfig python3-numpy 218s python3-packaging python3-pluggy python3-ply python3-pytest 218s python3-pytest-arraydiff python3-pytest-astropy 218s python3-pytest-astropy-header python3-pytest-cov python3-pytest-doctestplus 218s python3-pytest-filter-subpackage python3-pytest-mock 218s python3-pytest-remotedata python3-sortedcontainers swarp 218s Suggested packages: 218s cpl-plugin-visir-calib cpl-plugin-visir-doc libfftw3-bin libfftw3-dev 218s gsl-ref-psdoc | gsl-doc-pdf | gsl-doc-info | gsl-ref-html libxml2-utils 218s python-astropy-doc python3-astropy-affiliated python3-bs4 python3-h5py 218s python3-matplotlib python3-pandas python-coverage-doc gdb 218s python-hypothesis-doc gcc gfortran python3-dev python-ply-doc 218s python-pytest-mock-doc python-sortedcontainers-doc 218s Recommended packages: 218s javascript-common libjs-jquery-datatables python3-scipy python3-click 218s The following NEW packages will be installed: 218s autopkgtest-satdep cpl-plugin-visir libblas3 libcext0 libcfitsio10t64 218s libcplcore26 libcpldfs26 libcpldrs26 libcplui26 liberfa1 libfftw3-double3 218s libfftw3-single3 libgfortran5 libgomp1 libgsl27 libgslcblas0 libjs-jquery 218s libjs-jquery-hotkeys libjs-jquery-isonscreen libjs-jquery-metadata 218s libjs-jquery-tablesorter libjs-jquery-throttle-debounce libjs-sphinxdoc 218s libjs-underscore liblapack3 libwcs8 python3-astropy 218s python3-astropy-iers-data python3-coverage python3-cpl python3-dateutil 218s python3-erfa python3-hypothesis python3-iniconfig python3-numpy 218s python3-packaging python3-pluggy python3-ply python3-pytest 218s python3-pytest-arraydiff python3-pytest-astropy 218s python3-pytest-astropy-header python3-pytest-cov python3-pytest-doctestplus 218s python3-pytest-filter-subpackage python3-pytest-mock 218s python3-pytest-remotedata python3-sortedcontainers swarp 218s 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. 218s Need to get 21.3 MB/21.3 MB of archives. 218s After this operation, 96.3 MB of additional disk space will be used. 218s Get:1 /tmp/autopkgtest.x4UER6/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [736 B] 218s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 218s Get:3 http://ftpmaster.internal/ubuntu noble/universe ppc64el libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2ubuntu2 [11.5 kB] 218s Get:4 http://ftpmaster.internal/ubuntu noble/universe ppc64el libcext0 ppc64el 7.3.2+ds-1build3 [43.3 kB] 218s Get:5 http://ftpmaster.internal/ubuntu noble/universe ppc64el libcfitsio10t64 ppc64el 4.3.1-1.1build2 [713 kB] 219s Get:6 http://ftpmaster.internal/ubuntu noble/main ppc64el libgomp1 ppc64el 14-20240412-0ubuntu1 [161 kB] 219s Get:7 http://ftpmaster.internal/ubuntu noble/main ppc64el libfftw3-double3 ppc64el 3.3.10-1ubuntu3 [443 kB] 219s Get:8 http://ftpmaster.internal/ubuntu noble/main ppc64el libfftw3-single3 ppc64el 3.3.10-1ubuntu3 [453 kB] 219s Get:9 http://ftpmaster.internal/ubuntu noble/universe ppc64el libcplcore26 ppc64el 7.3.2+ds-1build3 [656 kB] 219s Get:10 http://ftpmaster.internal/ubuntu noble/universe ppc64el libcplui26 ppc64el 7.3.2+ds-1build3 [42.7 kB] 219s Get:11 http://ftpmaster.internal/ubuntu noble/universe ppc64el libcpldfs26 ppc64el 7.3.2+ds-1build3 [47.1 kB] 219s Get:12 http://ftpmaster.internal/ubuntu noble/universe ppc64el libwcs8 ppc64el 8.2.2+ds-3build2 [342 kB] 219s Get:13 http://ftpmaster.internal/ubuntu noble/universe ppc64el libcpldrs26 ppc64el 7.3.2+ds-1build3 [78.5 kB] 219s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el libgslcblas0 ppc64el 2.7.1+dfsg-6ubuntu2 [86.6 kB] 219s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el libgsl27 ppc64el 2.7.1+dfsg-6ubuntu2 [1090 kB] 220s Get:16 http://ftpmaster.internal/ubuntu noble/universe ppc64el swarp ppc64el 2.41.5-1build3 [180 kB] 220s Get:17 http://ftpmaster.internal/ubuntu noble/universe ppc64el cpl-plugin-visir ppc64el 4.4.2+dfsg-1 [509 kB] 220s Get:18 http://ftpmaster.internal/ubuntu noble/main ppc64el libblas3 ppc64el 3.12.0-3build1 [227 kB] 220s Get:19 http://ftpmaster.internal/ubuntu noble/main ppc64el libgfortran5 ppc64el 14-20240412-0ubuntu1 [574 kB] 220s Get:20 http://ftpmaster.internal/ubuntu noble/universe ppc64el libjs-jquery-metadata all 12-4 [6582 B] 220s Get:21 http://ftpmaster.internal/ubuntu noble/universe ppc64el libjs-jquery-tablesorter all 1:2.31.3+dfsg1-3 [193 kB] 220s Get:22 http://ftpmaster.internal/ubuntu noble/universe ppc64el libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 220s Get:23 http://ftpmaster.internal/ubuntu noble/main ppc64el libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 220s Get:24 http://ftpmaster.internal/ubuntu noble/main ppc64el libjs-sphinxdoc all 7.2.6-6 [149 kB] 220s Get:25 http://ftpmaster.internal/ubuntu noble/main ppc64el liblapack3 ppc64el 3.12.0-3build1 [2804 kB] 220s Get:26 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 220s Get:27 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 24.0-1 [41.1 kB] 220s Get:28 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pluggy all 1.4.0-1 [20.4 kB] 220s Get:29 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest all 7.4.4-1 [305 kB] 220s Get:30 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-dateutil all 2.8.2-3ubuntu1 [79.4 kB] 221s Get:31 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-sortedcontainers all 2.4.0-2 [27.6 kB] 221s Get:32 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-hypothesis all 6.98.15-1 [311 kB] 221s Get:33 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-numpy ppc64el 1:1.26.4+ds-6ubuntu1 [4446 kB] 221s Get:34 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-arraydiff all 0.6.1-2 [10.2 kB] 221s Get:35 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-astropy-header all 0.2.2-1 [8190 B] 221s Get:36 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-coverage ppc64el 7.4.4+dfsg1-0ubuntu2 [149 kB] 221s Get:37 http://ftpmaster.internal/ubuntu noble/universe ppc64el libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 221s Get:38 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-cov all 4.1.0-1 [21.5 kB] 221s Get:39 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-doctestplus all 1.2.0-1 [23.1 kB] 221s Get:40 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-filter-subpackage all 0.2.0-1 [6094 B] 221s Get:41 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-mock all 3.12.0-1.1 [11.3 kB] 221s Get:42 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-remotedata all 0.4.1-1 [8650 B] 221s Get:43 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-astropy all 0.11.0-1 [5902 B] 221s Get:44 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-ply all 3.11-6 [46.5 kB] 221s Get:45 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-astropy-iers-data all 0.2024.01.01.00.33.39-1 [2046 kB] 221s Get:46 http://ftpmaster.internal/ubuntu noble/universe ppc64el liberfa1 ppc64el 2.0.1-1 [141 kB] 221s Get:47 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-erfa ppc64el 2.0.1.1+ds-3 [316 kB] 221s Get:48 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-astropy ppc64el 6.0.0-1ubuntu2 [3916 kB] 222s Get:49 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-cpl ppc64el 0.7.4-2build10 [35.7 kB] 222s Fetched 21.3 MB in 4s (5481 kB/s) 222s Selecting previously unselected package libjs-jquery. 222s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 71981 files and directories currently installed.) 222s Preparing to unpack .../00-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 222s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 222s Selecting previously unselected package libjs-jquery-hotkeys. 222s Preparing to unpack .../01-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2ubuntu2_all.deb ... 222s Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu2) ... 222s Selecting previously unselected package libcext0:ppc64el. 222s Preparing to unpack .../02-libcext0_7.3.2+ds-1build3_ppc64el.deb ... 222s Unpacking libcext0:ppc64el (7.3.2+ds-1build3) ... 222s Selecting previously unselected package libcfitsio10t64:ppc64el. 222s Preparing to unpack .../03-libcfitsio10t64_4.3.1-1.1build2_ppc64el.deb ... 222s Unpacking libcfitsio10t64:ppc64el (4.3.1-1.1build2) ... 222s Selecting previously unselected package libgomp1:ppc64el. 222s Preparing to unpack .../04-libgomp1_14-20240412-0ubuntu1_ppc64el.deb ... 222s Unpacking libgomp1:ppc64el (14-20240412-0ubuntu1) ... 222s Selecting previously unselected package libfftw3-double3:ppc64el. 222s Preparing to unpack .../05-libfftw3-double3_3.3.10-1ubuntu3_ppc64el.deb ... 222s Unpacking libfftw3-double3:ppc64el (3.3.10-1ubuntu3) ... 222s Selecting previously unselected package libfftw3-single3:ppc64el. 222s Preparing to unpack .../06-libfftw3-single3_3.3.10-1ubuntu3_ppc64el.deb ... 222s Unpacking libfftw3-single3:ppc64el (3.3.10-1ubuntu3) ... 222s Selecting previously unselected package libcplcore26:ppc64el. 222s Preparing to unpack .../07-libcplcore26_7.3.2+ds-1build3_ppc64el.deb ... 222s Unpacking libcplcore26:ppc64el (7.3.2+ds-1build3) ... 222s Selecting previously unselected package libcplui26:ppc64el. 222s Preparing to unpack .../08-libcplui26_7.3.2+ds-1build3_ppc64el.deb ... 222s Unpacking libcplui26:ppc64el (7.3.2+ds-1build3) ... 222s Selecting previously unselected package libcpldfs26:ppc64el. 222s Preparing to unpack .../09-libcpldfs26_7.3.2+ds-1build3_ppc64el.deb ... 222s Unpacking libcpldfs26:ppc64el (7.3.2+ds-1build3) ... 222s Selecting previously unselected package libwcs8:ppc64el. 222s Preparing to unpack .../10-libwcs8_8.2.2+ds-3build2_ppc64el.deb ... 222s Unpacking libwcs8:ppc64el (8.2.2+ds-3build2) ... 222s Selecting previously unselected package libcpldrs26:ppc64el. 222s Preparing to unpack .../11-libcpldrs26_7.3.2+ds-1build3_ppc64el.deb ... 222s Unpacking libcpldrs26:ppc64el (7.3.2+ds-1build3) ... 222s Selecting previously unselected package libgslcblas0:ppc64el. 222s Preparing to unpack .../12-libgslcblas0_2.7.1+dfsg-6ubuntu2_ppc64el.deb ... 222s Unpacking libgslcblas0:ppc64el (2.7.1+dfsg-6ubuntu2) ... 222s Selecting previously unselected package libgsl27:ppc64el. 222s Preparing to unpack .../13-libgsl27_2.7.1+dfsg-6ubuntu2_ppc64el.deb ... 222s Unpacking libgsl27:ppc64el (2.7.1+dfsg-6ubuntu2) ... 222s Selecting previously unselected package swarp. 222s Preparing to unpack .../14-swarp_2.41.5-1build3_ppc64el.deb ... 222s Unpacking swarp (2.41.5-1build3) ... 222s Selecting previously unselected package cpl-plugin-visir:ppc64el. 222s Preparing to unpack .../15-cpl-plugin-visir_4.4.2+dfsg-1_ppc64el.deb ... 222s Unpacking cpl-plugin-visir:ppc64el (4.4.2+dfsg-1) ... 222s Selecting previously unselected package libblas3:ppc64el. 222s Preparing to unpack .../16-libblas3_3.12.0-3build1_ppc64el.deb ... 222s Unpacking libblas3:ppc64el (3.12.0-3build1) ... 222s Selecting previously unselected package libgfortran5:ppc64el. 222s Preparing to unpack .../17-libgfortran5_14-20240412-0ubuntu1_ppc64el.deb ... 222s Unpacking libgfortran5:ppc64el (14-20240412-0ubuntu1) ... 222s Selecting previously unselected package libjs-jquery-metadata. 222s Preparing to unpack .../18-libjs-jquery-metadata_12-4_all.deb ... 222s Unpacking libjs-jquery-metadata (12-4) ... 222s Selecting previously unselected package libjs-jquery-tablesorter. 222s Preparing to unpack .../19-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-3_all.deb ... 222s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... 222s Selecting previously unselected package libjs-jquery-throttle-debounce. 222s Preparing to unpack .../20-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 222s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 222s Selecting previously unselected package libjs-underscore. 223s Preparing to unpack .../21-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 223s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 223s Selecting previously unselected package libjs-sphinxdoc. 223s Preparing to unpack .../22-libjs-sphinxdoc_7.2.6-6_all.deb ... 223s Unpacking libjs-sphinxdoc (7.2.6-6) ... 223s Selecting previously unselected package liblapack3:ppc64el. 223s Preparing to unpack .../23-liblapack3_3.12.0-3build1_ppc64el.deb ... 223s Unpacking liblapack3:ppc64el (3.12.0-3build1) ... 223s Selecting previously unselected package python3-iniconfig. 223s Preparing to unpack .../24-python3-iniconfig_1.1.1-2_all.deb ... 223s Unpacking python3-iniconfig (1.1.1-2) ... 223s Selecting previously unselected package python3-packaging. 223s Preparing to unpack .../25-python3-packaging_24.0-1_all.deb ... 223s Unpacking python3-packaging (24.0-1) ... 223s Selecting previously unselected package python3-pluggy. 223s Preparing to unpack .../26-python3-pluggy_1.4.0-1_all.deb ... 223s Unpacking python3-pluggy (1.4.0-1) ... 223s Selecting previously unselected package python3-pytest. 223s Preparing to unpack .../27-python3-pytest_7.4.4-1_all.deb ... 223s Unpacking python3-pytest (7.4.4-1) ... 223s Selecting previously unselected package python3-dateutil. 223s Preparing to unpack .../28-python3-dateutil_2.8.2-3ubuntu1_all.deb ... 223s Unpacking python3-dateutil (2.8.2-3ubuntu1) ... 223s Selecting previously unselected package python3-sortedcontainers. 223s Preparing to unpack .../29-python3-sortedcontainers_2.4.0-2_all.deb ... 223s Unpacking python3-sortedcontainers (2.4.0-2) ... 223s Selecting previously unselected package python3-hypothesis. 223s Preparing to unpack .../30-python3-hypothesis_6.98.15-1_all.deb ... 223s Unpacking python3-hypothesis (6.98.15-1) ... 223s Selecting previously unselected package python3-numpy. 223s Preparing to unpack .../31-python3-numpy_1%3a1.26.4+ds-6ubuntu1_ppc64el.deb ... 223s Unpacking python3-numpy (1:1.26.4+ds-6ubuntu1) ... 223s Selecting previously unselected package python3-pytest-arraydiff. 223s Preparing to unpack .../32-python3-pytest-arraydiff_0.6.1-2_all.deb ... 223s Unpacking python3-pytest-arraydiff (0.6.1-2) ... 223s Selecting previously unselected package python3-pytest-astropy-header. 223s Preparing to unpack .../33-python3-pytest-astropy-header_0.2.2-1_all.deb ... 223s Unpacking python3-pytest-astropy-header (0.2.2-1) ... 223s Selecting previously unselected package python3-coverage. 223s Preparing to unpack .../34-python3-coverage_7.4.4+dfsg1-0ubuntu2_ppc64el.deb ... 223s Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 223s Selecting previously unselected package libjs-jquery-isonscreen. 223s Preparing to unpack .../35-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 223s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 223s Selecting previously unselected package python3-pytest-cov. 223s Preparing to unpack .../36-python3-pytest-cov_4.1.0-1_all.deb ... 223s Unpacking python3-pytest-cov (4.1.0-1) ... 223s Selecting previously unselected package python3-pytest-doctestplus. 223s Preparing to unpack .../37-python3-pytest-doctestplus_1.2.0-1_all.deb ... 223s Unpacking python3-pytest-doctestplus (1.2.0-1) ... 223s Selecting previously unselected package python3-pytest-filter-subpackage. 223s Preparing to unpack .../38-python3-pytest-filter-subpackage_0.2.0-1_all.deb ... 223s Unpacking python3-pytest-filter-subpackage (0.2.0-1) ... 223s Selecting previously unselected package python3-pytest-mock. 223s Preparing to unpack .../39-python3-pytest-mock_3.12.0-1.1_all.deb ... 223s Unpacking python3-pytest-mock (3.12.0-1.1) ... 223s Selecting previously unselected package python3-pytest-remotedata. 223s Preparing to unpack .../40-python3-pytest-remotedata_0.4.1-1_all.deb ... 223s Unpacking python3-pytest-remotedata (0.4.1-1) ... 223s Selecting previously unselected package python3-pytest-astropy. 223s Preparing to unpack .../41-python3-pytest-astropy_0.11.0-1_all.deb ... 223s Unpacking python3-pytest-astropy (0.11.0-1) ... 223s Selecting previously unselected package python3-ply. 223s Preparing to unpack .../42-python3-ply_3.11-6_all.deb ... 223s Unpacking python3-ply (3.11-6) ... 223s Selecting previously unselected package python3-astropy-iers-data. 223s Preparing to unpack .../43-python3-astropy-iers-data_0.2024.01.01.00.33.39-1_all.deb ... 223s Unpacking python3-astropy-iers-data (0.2024.01.01.00.33.39-1) ... 223s Selecting previously unselected package liberfa1:ppc64el. 223s Preparing to unpack .../44-liberfa1_2.0.1-1_ppc64el.deb ... 223s Unpacking liberfa1:ppc64el (2.0.1-1) ... 223s Selecting previously unselected package python3-erfa. 223s Preparing to unpack .../45-python3-erfa_2.0.1.1+ds-3_ppc64el.deb ... 223s Unpacking python3-erfa (2.0.1.1+ds-3) ... 223s Selecting previously unselected package python3-astropy. 223s Preparing to unpack .../46-python3-astropy_6.0.0-1ubuntu2_ppc64el.deb ... 223s Unpacking python3-astropy (6.0.0-1ubuntu2) ... 224s Selecting previously unselected package python3-cpl. 224s Preparing to unpack .../47-python3-cpl_0.7.4-2build10_ppc64el.deb ... 224s Unpacking python3-cpl (0.7.4-2build10) ... 224s Selecting previously unselected package autopkgtest-satdep. 224s Preparing to unpack .../48-1-autopkgtest-satdep.deb ... 224s Unpacking autopkgtest-satdep (0) ... 224s Setting up libwcs8:ppc64el (8.2.2+ds-3build2) ... 224s Setting up liberfa1:ppc64el (2.0.1-1) ... 224s Setting up python3-iniconfig (1.1.1-2) ... 224s Setting up libgslcblas0:ppc64el (2.7.1+dfsg-6ubuntu2) ... 224s Setting up python3-ply (3.11-6) ... 224s Setting up libgsl27:ppc64el (2.7.1+dfsg-6ubuntu2) ... 224s Setting up python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 225s Setting up python3-sortedcontainers (2.4.0-2) ... 225s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 225s Setting up libgomp1:ppc64el (14-20240412-0ubuntu1) ... 225s Setting up python3-astropy-iers-data (0.2024.01.01.00.33.39-1) ... 225s Setting up libblas3:ppc64el (3.12.0-3build1) ... 225s update-alternatives: using /usr/lib/powerpc64le-linux-gnu/blas/libblas.so.3 to provide /usr/lib/powerpc64le-linux-gnu/libblas.so.3 (libblas.so.3-powerpc64le-linux-gnu) in auto mode 225s Setting up python3-packaging (24.0-1) ... 225s Setting up libcfitsio10t64:ppc64el (4.3.1-1.1build2) ... 225s Setting up libfftw3-double3:ppc64el (3.3.10-1ubuntu3) ... 225s Setting up libgfortran5:ppc64el (14-20240412-0ubuntu1) ... 225s Setting up python3-pluggy (1.4.0-1) ... 225s Setting up python3-dateutil (2.8.2-3ubuntu1) ... 225s Setting up libcext0:ppc64el (7.3.2+ds-1build3) ... 225s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 225s Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu2) ... 225s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 225s Setting up liblapack3:ppc64el (3.12.0-3build1) ... 225s update-alternatives: using /usr/lib/powerpc64le-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/powerpc64le-linux-gnu/liblapack.so.3 (liblapack.so.3-powerpc64le-linux-gnu) in auto mode 225s Setting up libfftw3-single3:ppc64el (3.3.10-1ubuntu3) ... 225s Setting up python3-pytest (7.4.4-1) ... 226s Setting up python3-hypothesis (6.98.15-1) ... 226s Setting up swarp (2.41.5-1build3) ... 226s Setting up libcplcore26:ppc64el (7.3.2+ds-1build3) ... 226s Setting up libjs-jquery-metadata (12-4) ... 226s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 226s Setting up python3-pytest-remotedata (0.4.1-1) ... 226s Setting up python3-numpy (1:1.26.4+ds-6ubuntu1) ... 229s Setting up libjs-sphinxdoc (7.2.6-6) ... 229s Setting up libcplui26:ppc64el (7.3.2+ds-1build3) ... 229s Setting up python3-pytest-doctestplus (1.2.0-1) ... 229s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... 229s Setting up python3-pytest-mock (3.12.0-1.1) ... 229s Setting up python3-pytest-filter-subpackage (0.2.0-1) ... 229s Setting up python3-pytest-astropy-header (0.2.2-1) ... 230s Setting up libcpldrs26:ppc64el (7.3.2+ds-1build3) ... 230s Setting up libcpldfs26:ppc64el (7.3.2+ds-1build3) ... 230s Setting up python3-pytest-cov (4.1.0-1) ... 230s Setting up python3-pytest-arraydiff (0.6.1-2) ... 230s Setting up python3-erfa (2.0.1.1+ds-3) ... 230s Setting up python3-pytest-astropy (0.11.0-1) ... 230s Setting up python3-astropy (6.0.0-1ubuntu2) ... 234s Setting up python3-cpl (0.7.4-2build10) ... 234s Setting up cpl-plugin-visir:ppc64el (4.4.2+dfsg-1) ... 234s Setting up autopkgtest-satdep (0) ... 234s Processing triggers for man-db (2.12.0-4build1) ... 234s Processing triggers for libc-bin (2.39-0ubuntu8) ... 238s (Reading database ... 75881 files and directories currently installed.) 238s Removing autopkgtest-satdep (0) ... 238s autopkgtest [23:49:17]: test test-recipe.py: [----------------------- 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s Recipe visir_util_qc: 239s version 4.4.2 239s Parameters: {} 239s Docstring: Prepares qc parameters from data where the beam has been deteteced and 239s bad images have been removed 239s 239s The files listed in the Set Of Frames (sof-file) must be tagged: 239s VISIR-chopnod-corrected-file.fits BKG_CORRECTED The product(s) will 239s have a FITS card 'HIERARCH ESO PRO CATG' with a value of: QC_HEADER 239s 239s No parameters 239s Author: Julian Taylor 239s 239s 239s Recipe visir_util_convert_weight: 239s version 4.4.2 239s Parameters: {'error': True, 'weight': False, 'variance': False, 'bad_value': 3.4028234663852886e+38, 'bad_flag': True} 239s Docstring: Conversion between different weight maps 239s 239s The files listed in the Set Of Frames (sof-file) must be tagged: 239s VISIR-weight-map.fits WEIGHT_MAP or VISIR-error-map.fits ERROR_MAP or 239s VISIR-variance-map.fits VARIANCE_MAP VISIR-bpm-file.fits BPM 239s (optional) The relation between an error e, a weight w and a variance 239s v is: e = sqrt(v) = 1/sqrt(w). Depending on the setting of the 239s boolean recipe parameters each input file will cause the following 239s product(s) to be created (each with a FITS card 'HIERARCH ESO PRO 239s CATG' with the specified value) ERROR_MAP: An error map, requires 239s input v >= 0, w > 0 WEIGHT_MAP: A weight map, requires input e > 0, v 239s > 0 VARIANCE_MAP: A variance map, requires input e >= 0, w > 0 If for 239s a given input the identical output is specified, the data unit(s) may 239s still change according to the provided bad pixel map In a weight map 239s product any bad pixel is set to 0. In a variance or error map product 239s any bad pixel is set to the value specified by the relevant recipe 239s option. 239s 239s Parameters: 239s error: Convert to error (bool; default: True) 239s weight: Convert to weight. Bad pixels are seto to 0 (bool; 239s default: False) 239s variance: Convert to variance. Bad pixels are seto to 0 (bool; 239s default: False) 239s bad_value: The value to use for any bad pixel in an error or variance 239s map (float; default: 3.4028234663852886e+38) 239s bad_flag: The value used to flag a bad pixel in an input bad pixel 239s map. True: 1. False: 0. (bool; default: True) 239s Author: Lars Lundin 239s 239s 239s Recipe visir_util_run_swarp: 239s version 4.4.2 239s Parameters: {'output-all': False, 'extra_config': 'NONE', 'config_fname': '/usr/share/cpl-plugins/visir-4.4.2/config/visir_default.swarp', 'nprocs': -1} 239s Docstring: Run swarp program to coadd images. 239s 239s WARNING: this recipe is intented to be run in a temporary directory, 239s it does not clean up behind itself The files listed in the Set Of 239s Frames (sof-file) must be tagged: VISIR-chopnod-corrected-file.fits 239s BKG_CORRECTED VISIR-error-map.fits ERROR_MAP It will produce the 239s coaddition of each input frame separately and of all frames together. 239s The single frame product(s) will have a FITS card 'HIERARCH ESO PRO 239s CATG' with a value of: COADDED_IMAGE and COADDED_WEIGHT The total 239s coaddition will have the tags COADDED_IMAGE_COMBINED and 239s COADDED_WEIGHT_COMBINED 239s 239s Parameters: 239s output-all: Output a coadded image for each input file in addition 239s to the complete coaddition. (bool; default: False) 239s extra_config: Additional configuration parameters (str; default: 239s 'NONE') 239s config_fname: Swarp configure file name. (str; default: 239s '/usr/share/cpl- 239s plugins/visir-4.4.2/config/visir_default.swarp') 239s nprocs: Maximum number of swarp processes that can be spawned 239s simultaneously. (int; default: -1) 239s Author: Julian Taylor 239s 239s 239s Recipe visir_old_img_phot: 239s version 4.4.2 239s Parameters: {'nod': 'NONE', 'auto_bpm': True, 'g': False, 'p': False, 'union': True, 'rej': '0-0', 'plot': 0, 'off': 'NONE', 'ref': False, 'objs': 'NONE', 'xcorr': '10-10-25-25', 'jy_val': -999.0, 'radii': '20-20-30', 'combine_method': 'union', 'destripe_iterations': 15, 'destripe_morpho': False, 'eccmax': 0.25} 239s Docstring: Old DRS detector: Sensitivity computation 239s 239s This recipe computes the conversion factor and the sentitivity of a 239s standard star. It requires a standard star catalog. The files listed 239s in the Set Of Frames (sof-file) must be tagged: VISIR-std-star- 239s observation.fits IM_CAL_PHOT VISIR-Imaging-Standard-Star-Catalog.fits 239s IMG_STD_CATALOG The primary product will have a FITS card 'HIERARCH 239s ESO PRO CATG' with a string value of 'IMG_PHOT_COMBINED' and the 239s corresponding beam-collapsed product will have a FITS card 'HIERARCH 239s ESO PRO CATG' with a value of IMG_PHOT_ONEBEAM Additionally, a bad 239s pixel map with a PRO.CATG of IMG_BPM may be added to the Set Of Frames 239s with tag: BPM. 239s 239s Parameters: 239s nod: An optional ASCII specification of the nodding 239s positions (in case they are missing from the 239s FITS-file). The file must consist of one line 239s per input FITS-file and each line must consist 239s of an integer (which is ignored) followed by a 0 239s or 1 (to indicate object or sky). (str; 239s default: 'NONE') 239s auto_bpm: Automatic detection and correction of bad pixels 239s (bool; default: True) 239s g: Automatic filtering of glitches (bool; default: 239s False) 239s p: Automatic purging of half-cycle images whose 239s median deviates more than a factor three from 239s the mean of the medians of half-cycle images or 239s whose standard deviation deviates more than a 239s factor three from the mean of their standard 239s deviations (bool; default: False) 239s union: Combine images using their union, as opposed to 239s their intersection (deprecated and ignored, see 239s --combine_method) (bool; default: True) 239s rej: Each resulting pixel is the average of the 239s corresponding (interpolated) pixel value in each 239s jittered image. A positive value, n1, for the 239s first of the two integers specifies that for 239s each pixel the smallest n1 pixel values shall be 239s ignored in the averaging. Similarly, a positive 239s value, n2, for the second of the two integers 239s specifies that for each pixel the largest n2 239s pixel values shall be ignored in the averaging. 239s (str; default: '0-0') 239s plot: The recipe can produce a number of predefined 239s plots. Zero means that none of the plots are 239s produced, while increasing values (e.g. 1 or 2) 239s increases the number of plots produced. If the 239s plotting fails a warning is produced, and the 239s recipe continues. The default behaviour of the 239s plotting is to use gnuplot (with option 239s -persist). The recipe currently produces 239s 1D-plots using gnuplot commands. The recipe user 239s can control the actual plotting-command used by 239s the recipe to create the plot by setting the 239s environment variable CPL_PLOTTER. Currently, if 239s CPL_PLOTTER is set it must contain the string 239s 'gnuplot'. Setting it to 'cat > 239s my_gnuplot_$$.txt' causes a number of ASCII- 239s files to be created, which each produce a plot 239s when given as standard input to gnuplot (e.g. 239s later or on a different computer). A finer 239s control of the plotting options can be obtained 239s by writing an executable script, e.g. 239s my_gnuplot.pl, that executes gnuplot after 239s setting the desired gnuplot options (e.g. set 239s terminal pslatex color) and then setting 239s CPL_PLOTTER to my_gnuplot.pl. The predefined 239s plots include plotting of images. Images can be 239s plotted not only with gnuplot, but also using 239s the pnm format. This is controlled with the 239s environment variable CPL_IMAGER. If CPL_IMAGER 239s is set to a string that does not contain the 239s word gnuplot, the recipe will generate the plot 239s in pnm format. E.g. setting CPL_IMAGER to 239s 'display - &' will produce a gray-scale image 239s using the image viewer display. (int; default: 239s 0) 239s off: An optional ASCII specification of the offsets 239s in case those in FITS- headers are missing or 239s wrong. The file must consist of one line per 239s input pair of FITS-files, and each line must 239s consist of two numbers which represent the shift 239s in pixels of that image relative to the first 239s image. The first line should thus comprise two 239s zeros. Correct FITS-header offsets mean that the 239s i'th X offset can be gotten from Xoffset_0 - 239s Xoffset_i, where Xoffset_i is the value of ESO 239s SEQ CUMOFFSETX and likewise for Y. (str; 239s default: 'NONE') 239s ref: User-defined refining of the image offsets. See 239s options objs and xcorr (bool; default: False) 239s objs: The shift and add of images needs anchor points 239s that typically are bright objects. These are 239s normally detected automatically but with user- 239s defined refining of offsets enabled, they must 239s be provided by the user through an ASCII file 239s containing one line per anchor point with each 239s line consisting of its x and y coordinate (in 239s pixels). This file is ignored with user-defined 239s refining of offsets disabled. (str; default: 239s 'NONE') 239s xcorr: If user-defined refining of offsets is enabled a 239s cross-correlation of the images is performed. In 239s order to speed up this process, this cross- 239s correlation is performed only on smaller 239s rectangles around the anchor points. The first 239s two parameters is the half-size of this 239s rectangle in pixels. The second pair is the 239s maximum shift in x and y (pixels) evaluated by 239s the cross-correlation on the rectangle. Used 239s only if user-defined refining of offsets is 239s enabled. (str; default: '10-10-25-25') 239s jy_val: The flux of the standard star in Jansky (float; 239s default: -999.0) 239s radii: Radii : star_max bg_int bg_ext (str; default: 239s '20-20-30') 239s combine_method: Combine images using one of: 1) Onto the first 239s image (first); 2) Their union (union); 3) Their 239s intersection (inter). NB: Only the 239s 'first'-method produces an image product with 239s WCS coordinates. A successful 'first'-method 239s always produces a combined image with dimensions 239s equal to those of the input images. For the 239s 'union'-method the result image is at least as 239s large as the input images while for the 239s 'inter'-method the result image is at most as 239s large as the input images (str; default: 239s 'union') 239s destripe_iterations: Max number of destriping iterations (0 to 239s disable destriping). Horizontal destriping is 239s done first and if no horizontal striping is 239s detected, vertical destriping is performed (int; 239s default: 15) 239s destripe_morpho: Destripe with morphological cleaning (bool; 239s default: False) 239s eccmax: The maximum eccentricity allowed in the 239s combination of the three (in parallel 239s nod/chopping) or four (in perpendicular 239s nod/chopping) beams. In parallel mode, three 239s perfectly aligned points spaced with the chopnod 239s throw will have eccentricity 0, while in 239s perpedicular mode a square with the chopnod 239s throw as the side length will have eccentricity 239s 0 (float; default: 0.25)[ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s 239s Author: Lars Lundin 239s 239s 239s Recipe visir_util_spc_std_cat: 239s version 4.4.2 239s Parameters: {} 239s Docstring: Generate a FITS catalog of spectroscopic standard stars 239s 239s This recipe shall be used to generate a FITS catalog of spectroscopic 239s standard stars for the VISIR pipeline. The sof file shall consist of 239s lines with the name of an ASCII-file named .txt, e.g. 239s HD133165.txt and the tag SPC_CAT_ASCII. All input ASCII-files must 239s comprise the same number of lines. The first line of the ASCII-file 239s must have 6 fields separated by white-space. The first three fields 239s are the RA (hh mm ss) which will be stored in degrees in a table 239s column labeled 'RA' - all three are non-negative and hh and mm are 239s integer. The 3 last fields are the DEC (dd mm ss) which will be stored 239s in degrees in a table column labeled 'DEC' - all three are non- 239s negative, dd and mm are integer, and dd has either a '+' or a '-' 239s prepended (including -00). The remaining lines must all consist of two 239s fields separated by white-space. The first field is the wavelength (in 239s microns) and the second the (positive) model flux in W/m2/m. The 239s wavelengths must be identical in all the input files. 239s 239s No parameters 239s Author: Lars Lundin 239s 239s 239s Recipe visir_img_trans: 239s version 4.4.2 239s Parameters: {} 239s Docstring: Instrument Transmission recipe 239s 239s This recipe computes the transmission at different wavelengths by 239s comparing the flux of a bright star for different observations. The 239s files listed in the Set Of Frames (sof-file) must be tagged: VISIR- 239s transmission-file.fits IM_TEC_TRANS The resuts are given in a table. 239s 239s No parameters 239s Author: Lars Lundin 239s 239s 239s Recipe visir_old_spc_wcal_ech: 239s version 4.4.2 239s Parameters: {'auto_bpm': True, 'plot': 0, 'slit_skew': 0.0, 'spectrum_skew': 0.0, 'vert_arc': 0.0, 'hori_arc': 0.0, 'orderoffset': 0, 'rl': 0, 'rr': 0} 239s Docstring: Old DRS detector: Spectroscopic wavelength calibration recipe in 239s Echelle 239s 239s This recipe estimates the dispersion relation using the atmospheric 239s spectrum in a grism spectroscopy half-cycle frame. The files listed in 239s the Set Of Frames (sof-file) must be tagged: VISIR-Echelle- 239s Spectroscopy-file.fits SPEC_CAL_HRG_WCAL VISIR-Quantum-Efficiency- 239s Calibration-file.fits SPEC_CAL_QEFF VISIR-Atmospheric-Emission-Lines- 239s Calibration-file.fits SPEC_CAL_LINES Additionally, a bad pixel map 239s with a PRO.CATG of SPEC_BPM may be added to the Set Of Frames with 239s tag: BPM. 239s 239s Parameters: 239s auto_bpm: Automatic detection and correction of bad pixels 239s (bool; default: True) 239s plot: The recipe can produce a number of predefined plots. 239s Zero means that none of the plots are produced, while 239s increasing values (e.g. 1 or 2) increases the number 239s of plots produced. If the plotting fails a warning is 239s produced, and the recipe continues. The default 239s behaviour of the plotting is to use gnuplot (with 239s option -persist). The recipe currently produces 239s 1D-plots using gnuplot commands. The recipe user can 239s control the actual plotting-command used by the recipe 239s to create the plot by setting the environment variable 239s CPL_PLOTTER. Currently, if CPL_PLOTTER is set it must 239s contain the string 'gnuplot'. Setting it to 'cat > 239s my_gnuplot_$$.txt' causes a number of ASCII-files to 239s be created, which each produce a plot when given as 239s standard input to gnuplot (e.g. later or on a 239s different computer). A finer control of the plotting 239s options can be obtained by writing an executable 239s script, e.g. my_gnuplot.pl, that executes gnuplot 239s after setting the desired gnuplot options (e.g. set 239s terminal pslatex color) and then setting CPL_PLOTTER 239s to my_gnuplot.pl. The predefined plots include 239s plotting of images. Images can be plotted not only 239s with gnuplot, but also using the pnm format. This is 239s controlled with the environment variable CPL_IMAGER. 239s If CPL_IMAGER is set to a string that does not contain 239s the word gnuplot, the recipe will generate the plot in 239s pnm format. E.g. setting CPL_IMAGER to 'display - &' 239s will produce a gray-scale image using the image viewer 239s display. (int; default: 0) 239s slit_skew: Distortion correction: Skew of slit (degrees) 239s (clockwise) (float; default: 0.0) 239s spectrum_skew: Distortion correction: LMR Skew of spectrum (degrees) 239s (counter- clockwise). Not used in High Resolution 239s (float; default: 0.0) 239s vert_arc: Distortion correction: LR Detector vertical curvature 239s (pixel). Reduced by a factor 4 in MR. Not used in HR 239s A-side. Increased by a factor 115/52 in HR B-side 239s (float; default: 0.0) 239s hori_arc: Distortion correction: LMR Detector horizontal 239s curvature (pixel). Increased by a factor 1.5 in HR 239s A-side. Reduced by a factor 2 in HR B-side (float; 239s default: 0.0) 239s orderoffset: Echelle order offset. The offset is relative to the 239s main order. The allowed range of offsets depend on the 239s selected grism. The offset can never exceed +/-4. If 239s the main order is e.g. 8 an order offset of +1 will 239s cause the recipe to base the data reduction on order 239s 9. With a positive order offset the central wavelength 239s becomes smaller while for a negative order offset the 239s central wavelength becomes larger. (int; default: 0) 239s rl: Reject leftmost columns in spectrum extraction, zero 239s means all columns on the left are used. In cross- 239s dispersion mode a (small) negative number may be used 239s (pixel) (int; default: 0) 239s rr: Reject rightmost columns in spectrum extraction, zero 239s means all columns on the right are used. In cross- 239s dispersion mode a (small) negative number may be used 239s (pixel) (int; default: 0) 239s Author: Lars Lundin 239s 239s 239s Recipe visir_util_spc_txt2fits: 239s version 4.4.2 239s Parameters: {'qeff': 1.0} 239s Docstring: Generate spectrum calibration FITS tables 239s 239s This recipe shall be used to generate spectrum calibration tables. The 239s sof file shall consist of 1 line with the name of an ASCII-file 239s currently tagged with either SPC_LINES_ASCII or SPC_QEFF_ASCII. The 239s file must comprise two columns: 1st: Must be wavelengths in increasing 239s order in units of meter 2nd: For SPC_LINES_ASCII-files must be the 239s atmospheric emission, while for SPC_QEFF_ASCII-files must be the 239s quantum efficiency of the detector. A SPC_LINES_ASCII-file will 239s generate a SPEC_CAL_LINES-file, and a SPC_QEFF_ASCII-file will 239s generate a SPEC_CAL_QEFF-file. The current SPEC_CAL_LINES- and 239s SPEC_CAL_QEFF-files are generated using the ASCII-files in the 239s catalogs/ directory of the VISIR source-code distribution. 239s 239s Parameters: 239s qeff: Ignored (float; default: 1.0) 239s Author: Lars Lundin 239s 239s 239s Recipe visir_old_util_destripe: 239s version 4.4.2 239s Parameters: {'destripe_iterations': 15, 'destripe_morpho': False} 239s Docstring: Old DRS detector: Attempt to remove stripes in spectral data 239s 239s The files listed in the Set Of Frames (sof-file) must be tagged: 239s VISIR-chopnod-corrected-file.fits BKG_CORRECTED The product(s) will 239s have a FITS card 'HIERARCH ESO PRO CATG' with a value of: DESTRIPED 239s 239s Parameters: 239s destripe_iterations: Max number of destriping iterations (0 to 239s disable destriping). Horizontal destriping is 239s done first and if no horizontal striping is 239s detected, vertical destriping is performed (int; 239s default: 15) 239s destripe_morpho: Destripe with morphological cleaning (bool; 239s default: False) 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s Author: Julian Taylor 239s 239s 239s Recipe visir_old_spc_phot_ech: 239s version 4.4.2 239s Parameters: {'nod': 'NONE', 'auto_bpm': True, 'g': False, 'p': False, 'union': True, 'rej': '0-0', 'plot': 0, 'slit_skew': 0.0, 'spectrum_skew': 0.0, 'vert_arc': 0.0, 'hori_arc': 0.0, 'orderoffset': 0, 'off': 'NONE', 'ref': False, 'objs': 'NONE', 'xcorr': '10-10-25-25', 'fixcombi': False, 'emis_tol': 1.0, 'destripe_iterations': 15, 'destripe_morpho': False, 'rl': 0, 'rr': 0, 'ro_noise': 14.5, 'ox_sigma': 5.0, 'ox_niters': 2, 'ox_smooth': 31, 'gain': 0.75, 'ox_kernel': 3} 239s Docstring: Old DRS detector: Sensitivity computation in echelle spectroscopy 239s 239s This recipe estimates the dispersion relation using the atmospheric 239s spectrum in a echelle spectroscopy half-cycle frame. It also extracts 239s the spectrum of an observed object using a combined frame. Lastly, it 239s computes the spectral photometry of an observed standard star. The 239s files listed in the Set Of Frames (sof-file) must be tagged: VISIR- 239s Echelle-Spectroscopy-file.fits SPEC_CAL_PHOT_HRG VISIR-Quantum- 239s Efficiency-Calibration-file.fits SPEC_CAL_QEFF VISIR-Atmospheric- 239s Emission-Lines-Calibration-file.fits SPEC_CAL_LINES VISIR- 239s Spectroscopic-Standard-Star-Catalog.fits SPEC_STD_CATALOG 239s Additionally, a bad pixel map with a PRO.CATG of SPEC_BPM may be added 239s to the Set Of Frames with tag: BPM. 239s 239s Parameters: 239s nod: An optional ASCII specification of the nodding 239s positions (in case they are missing from the 239s FITS-file). The file must consist of one line 239s per input FITS-file and each line must consist 239s of an integer (which is ignored) followed by a 0 239s or 1 (to indicate object or sky). (str; 239s default: 'NONE') 239s auto_bpm: Automatic detection and correction of bad pixels 239s (bool; default: True) 239s g: Automatic filtering of glitches (bool; default: 239s False) 239s p: Automatic purging of half-cycle images whose 239s median deviates more than a factor three from 239s the mean of the medians of half-cycle images or 239s whose standard deviation deviates more than a 239s factor three from the mean of their standard 239s deviations (bool; default: False) 239s union: Combine images using their union, as opposed to 239s their intersection (deprecated and ignored, see 239s --combine_method) (bool; default: True) 239s rej: Each resulting pixel is the average of the 239s corresponding (interpolated) pixel value in each 239s jittered image. A positive value, n1, for the 239s first of the two integers specifies that for 239s each pixel the smallest n1 pixel values shall be 239s ignored in the averaging. Similarly, a positive 239s value, n2, for the second of the two integers 239s specifies that for each pixel the largest n2 239s pixel values shall be ignored in the averaging. 239s (str; default: '0-0') 239s plot: The recipe can produce a number of predefined 239s plots. Zero means that none of the plots are 239s produced, while increasing values (e.g. 1 or 2) 239s increases the number of plots produced. If the 239s plotting fails a warning is produced, and the 239s recipe continues. The default behaviour of the 239s plotting is to use gnuplot (with option 239s -persist). The recipe currently produces 239s 1D-plots using gnuplot commands. The recipe user 239s can control the actual plotting-command used by 239s the recipe to create the plot by setting the 239s environment variable CPL_PLOTTER. Currently, if 239s CPL_PLOTTER is set it must contain the string 239s 'gnuplot'. Setting it to 'cat > 239s my_gnuplot_$$.txt' causes a number of ASCII- 239s files to be created, which each produce a plot 239s when given as standard input to gnuplot (e.g. 239s later or on a different computer). A finer 239s control of the plotting options can be obtained 239s by writing an executable script, e.g. 239s my_gnuplot.pl, that executes gnuplot after 239s setting the desired gnuplot options (e.g. set 239s terminal pslatex color) and then setting 239s CPL_PLOTTER to my_gnuplot.pl. The predefined 239s plots include plotting of images. Images can be 239s plotted not only with gnuplot, but also using 239s the pnm format. This is controlled with the 239s environment variable CPL_IMAGER. If CPL_IMAGER 239s is set to a string that does not contain the 239s word gnuplot, the recipe will generate the plot 239s in pnm format. E.g. setting CPL_IMAGER to 239s 'display - &' will produce a gray-scale image 239s using the image viewer display. (int; default: 239s 0) 239s slit_skew: Distortion correction: Skew of slit (degrees) 239s (clockwise) (float; default: 0.0) 239s spectrum_skew: Distortion correction: LMR Skew of spectrum 239s (degrees) (counter- clockwise). Not used in High 239s Resolution (float; default: 0.0) 239s vert_arc: Distortion correction: LR Detector vertical 239s curvature (pixel). Reduced by a factor 4 in MR. 239s Not used in HR A-side. Increased by a factor 239s 115/52 in HR B-side (float; default: 0.0) 239s hori_arc: Distortion correction: LMR Detector horizontal 239s curvature (pixel). Increased by a factor 1.5 in 239s HR A-side. Reduced by a factor 2 in HR B-side 239s (float; default: 0.0) 239s orderoffset: Echelle order offset. The offset is relative to 239s the main order. The allowed range of offsets 239s depend on the selected grism. The offset can 239s never exceed +/-4. If the main order is e.g. 8 239s an order offset of +1 will cause the recipe to 239s base the data reduction on order 9. With a 239s positive order offset the central wavelength 239s becomes smaller while for a negative order 239s offset the central wavelength becomes larger. 239s (int; default: 0) 239s off: An optional ASCII specification of the offsets 239s in case those in FITS- headers are missing or 239s wrong. The file must consist of one line per 239s input pair of FITS-files, and each line must 239s consist of two numbers which represent the shift 239s in pixels of that image relative to the first 239s image. The first line should thus comprise two 239s zeros. Correct FITS-header offsets mean that the 239s i'th X offset can be gotten from Xoffset_0 - 239s Xoffset_i, where Xoffset_i is the value of ESO 239s SEQ CUMOFFSETX and likewise for Y. (str; 239s default: 'NONE') 239s ref: User-defined refining of the image offsets. See 239s options objs and xcorr (bool; default: False) 239s objs: The shift and add of images needs anchor points 239s that typically are bright objects. These are 239s normally detected automatically but with user- 239s defined refining of offsets enabled, they must 239s be provided by the user through an ASCII file 239s containing one line per anchor point with each 239s line consisting of its x and y coordinate (in 239s pixels). This file is ignored with user-defined 239s refining of offsets disabled. (str; default: 239s 'NONE') 239s xcorr: If user-defined refining of offsets is enabled a 239s cross-correlation of the images is performed. In 239s order to speed up this process, this cross- 239s correlation is performed only on smaller 239s rectangles around the anchor points. The first 239s two parameters is the half-size of this 239s rectangle in pixels. The second pair is the 239s maximum shift in x and y (pixels) evaluated by 239s the cross-correlation on the rectangle. Used 239s only if user-defined refining of offsets is 239s enabled. (str; default: '10-10-25-25') 239s fixcombi: Perform the distortion correction on the 239s combined image, and not on each of the jittered 239s images. This will reduce excution time and 239s degrade the quality of the combined image (bool; 239s default: False) 239s emis_tol: The computation of the mean and standard 239s deviation of the sensitivity is done for 239s wavelengths with an atmospheric emissivity of at 239s most emis_min + emis_tol * (emis_max - 239s emis_min), where emis_min is the minimum 239s emissivity in the observed wavelength range and 239s emis_max is the ditto maximum. Thus emis_tol = 1 239s means that all wavelengths are included. (float; 239s default: 1.0) 239s destripe_iterations: Max number of destriping iterations (0 to 239s disable destriping). Horizontal destriping is 239s done first and if no horizontal striping is 239s detected, vertical destriping is performed (int; 239s default: 15) 239s destripe_morpho: Destripe with morphological cleaning (bool; 239s default: False) 239s rl: Reject leftmost columns in spectrum extraction, 239s zero means all columns on the left are used. In 239s cross-dispersion mode a (small) negative number 239s may be used (pixel) (int; default: 0) 239s rr: Reject rightmost columns in spectrum extraction, 239s zero means all columns on the right are used. In 239s cross-dispersion mode a (small) negative number 239s may be used (pixel) (int; default: 0) 239s ro_noise: Readout noise of the detector (float; default: 239s 14.5) 239s ox_sigma: Sigma to use for clipping in optimal extraction 239s (float; default: 5.0) 239s ox_niters: Number of optimal extraction iterations to 239s perform (int; default: 2) 239s ox_smooth: Width of smoothing window to use along spectral 239s dimension during optimal extraction. A median 239s filter is used. (int; default: 31) 239s gain: Detector gain (float; default: 0.75) 239s ox_kernel: Size of square smoothing kernel, in pixels, to 239s apply to science frame before optimal extraction 239s (ignored during aperture extraction). A median 239s filter is used. (int; default: 3)[ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s 239s Author: Lars Lundin 239s 239s 239s Recipe visir_img_dark: 239s version 4.4.2 239s Parameters: {'r': '50 50 50 50', 'hot_t': 10.0, 'cold_t': 6.0, 'dev_t': 5.0, 'nsamples': 100, 'hsize': 2} 239s Docstring: Dark recipe 239s 239s This recipe computes the dark. The files listed in the Set Of Frames 239s (sof-file) must be tagged either VISIR-dark-image-raw-file.fits 239s IM_CAL_DARK or VISIR-dark-spectro-raw-file.fits SPEC_CAL_DARK The 239s corresponding four products will each have a FITS card 'HIERARCH ESO 239s PRO CATG' with values (for imaging) IMG_DARK_AVG IMG_DARK_HOT 239s IMG_DARK_COLD IMG_DARK_DEV or (for spectroscopy) SPEC_DARK_AVG 239s SPEC_DARK_HOT SPEC_DARK_COLD SPEC_DARK_DEV 239s 239s Parameters: 239s r: Rejected left right bottom and top border (pixel) (str; 239s default: '50 50 50 50') 239s hot_t: Hot pixel map threshold (float; default: 10.0) 239s cold_t: Cold pixel map threshold (float; default: 6.0) 239s dev_t: Deviant pixel map threshold (float; default: 5.0) 239s nsamples: Number of samples for Read-Out Noise (RON) computation 239s (int; default: 100) 239s hsize: Half size of the window for Read-Out Noise (RON) 239s computation (int; default: 2) 239s Author: Lars Lundin 239s 239s 239s Recipe visir_util_repack: 239s version 4.4.2 239s Parameters: {'planestart': 0, 'planelimit': -1, 'ncycles': -1, 'trimlow': 0, 'trimhigh': 0, 'bkgcorrect': 'none', 'normalize': True, 'compress': False, 'lincorrect': False} 239s Docstring: Conversion of raw CUBE2 or BURST images to on- and off-cubes 239s 239s The files listed in the Set Of Frames (sof-file) must be tagged: 239s VISIR-CUBE2-raw-file.fits CUBE2 or VISIR-BURST-raw-file.fits BURST 239s VISIR-BURST-bpm-file.fits STATIC_MASK For BURST data it will remove 239s planes where the chopper switched from on <-> off based on the 239s timestamps in the header. The product(s) will have a FITS card 239s 'HIERARCH ESO PRO CATG' with a value of one of: IMG_REPACKED_A_ON 239s (NodPos: A, ChopPos: on) IMG_REPACKED_A_OFF (NodPos: A, ChopPos: off) 239s IMG_REPACKED_B_ON (NodPos: B, ChopPos: on) IMG_REPACKED_B_OFF (NodPos: 239s B, ChopPos: off) For CUBE2, the recipe will produce a static bad-pixel 239s map, it will have a FITS card 'HIERARCH ESO PRO CATG' with a value of: 239s STATIC_MASK 239s 239s Parameters: 239s planestart: Plane number to start repacking from in each nod 239s cycle,earlier planes are skipped. (int; default: 0) 239s planelimit: Limit number of processed inputplanes. It will repack 239s until at least this number of input images have been 239s processed or the full dataset has been repacked. Always 239s full chop cycles need to be repacked so the number is 239s adjusted upward to the next multiple of images per chop 239s cycle. <= 0 for no limit. (int; default: -1) 239s ncycles: Number of full on-off cycles to repack per nod cycles. <= 239s 0 for all. (int; default: -1) 239s trimlow: Burst data only. Number of additional planes to cut from 239s before each plane with chopper movement. (int; default: 239s 0) 239s trimhigh: Burst data only. Number of additional planes to cut from 239s after each plane with chopper movement. A value of -1 239s does not skip the plane of the movement. (int; default: 239s 0) 239s bkgcorrect: Output background corrected planes by subtracting chop 239s (on/off) and nod (A/B) planes Options: none: no 239s correction chop: on - off chopnod: (Aon - Aoff) - (Bon - 239s Boff) (str; default: 'none') 239s normalize: Normalize planes by DIT (bool; default: True) 239s compress: Apply lossless compression on output files. Can only be 239s done for integer type results. (bool; default: False) 239s lincorrect: Apply linearity correction. Should only be enabled on 239s high flux observations, may degrade results otherwise. 239s (bool; default: False) 239s Author: Lars Lundin 239s 239s 239s Recipe visir_util_detect_shift: 239s version 4.4.2 239s Parameters: {'template': 'NONE', 'min-correlation': 0.5, 'max-shift': 10.0, 'max-mad': 0.0, 'naverage': 1, 'method': 'xcorrelate', 'no-shift': False, 'no-reject': True, 'beampos': 'NONE', 'eccmax': 3.0} 239s Docstring: 2012 239s 239s Detects beams in a background subtracted multi-beam image, determines 239s the shifts between different images and their correlation. Images can 239s be rejected if their correlation is bad. The files listed in the Set 239s Of Frames (sof-file) must be tagged: VISIR-chopnod-corrected- 239s file.fits BKG_CORRECTED bad-pixel-mask.fits STATIC_MASK The output 239s consists of single beam images of the size of the throw. The shifts 239s will be written int CRPIX[12]. 239s 239s Parameters: 239s template: Correlation template used to detect shifts and 239s reject bad images. If none given an averaged image 239s is used (str; default: 'NONE') 239s min-correlation: Minimal correlation to the template required to be 239s accepted (float; default: 0.5) 239s max-shift: Maximal allowed object shift for an image to be 239s accepted (float; default: 10.0) 239s max-mad: Maximal allowed median absolute deviation for an 239s image to be accepted. <= 0 equals no limit (float; 239s default: 0.0) 239s naverage: Number of planes to average before attempting to 239s detect the shifts. (int; default: 1) 239s method: Method to determine beam shifts. xcorrelate: use 239s the cross correlation shift. brightest: use the 239s position of the brightest pixel (str; default: 239s 'xcorrelate') 239s no-shift: Sets whether to apply the determined shifts in 239s following recipes. Set to TRUE of shifts appear too 239s large. (bool; default: False) 239s no-reject: If true images with bad statistics will not be 239s rejected and no shift correction is done (bool; 239s default: True) 239s beampos: Define the positions of the beams. These positions 239s are cut by the window to extract the single beam 239s images. Format: sign:x,y,window;sign:x,y,window;... 239s where sign is "pos" or "neg" depending on whether 239s the beam is positive or negative. The window is 239s optional and defines the size of the cut image 239s around the beam. The default window is the chop 239s throw. E.g.: pos:50,60;neg:50,160; By default 239s autodetection is attempted. (str; default: 'NONE') 239s eccmax: The maximum eccentricity allowed in the combination 239s of the three (in parallel nod/chopping) or four (in 239s perpendicular nod/chopping) beams. In parallel mode, 239s three perfectly aligned points spaced with the 239s chopnod throw will have eccentricity 0, while in 239s perpedicular mode a square with the chopnod throw as 239s the side length will have eccentricity 0 (float; 239s default: 3.0) 239s Author: Find beam positions and reject bad images 239s 239s 239s Recipe visir_old_spc_obs: 239s version 4.4.2 239s Parameters: {'nod': 'NONE', 'auto_bpm': True, 'g': False, 'p': False, 'union': True, 'rej': '0-0', 'bkgcorrect': True, 'plot': 0, 'slit_skew': 0.52, 'spectrum_skew': 1.73, 'vert_arc': -0.8, 'hori_arc': 0.0, 'off': 'NONE', 'ref': False, 'objs': 'NONE', 'xcorr': '10-10-25-25', 'fixcombi': False, 'emis_tol': 1.0, 'destripe_iterations': 15, 'destripe_morpho': False, 'rl': 0, 'rr': 0, 'apfile': 'NONE', 'ro_noise': 14.5, 'ox_sigma': 5.0, 'ox_niters': 2, 'ox_smooth': 31, 'gain': 0.75, 'ox_kernel': 3, 'respcal': 'NONE'} 239s Docstring: Old DRS detector: Spectroscopic Observation recipe 239s 239s This recipe estimates the dispersion relation using the atmospheric 239s spectrum in a long-slit spectroscopy half-cycle frame. It also 239s extracts the spectrum of an observed object using a combined frame. 239s The files listed in the Set Of Frames (sof-file) must be tagged: 239s VISIR-Long-Slit-Spectroscopy-file.fits SPEC_OBS_LMR VISIR-Quantum- 239s Efficiency-Calibration-file.fits SPEC_CAL_QEFF VISIR-Atmospheric- 239s Emission-Lines-Calibration-file.fits SPEC_CAL_LINES Additionally, a 239s bad pixel map with a PRO.CATG of SPEC_BPM may be added to the Set Of 239s Frames with tag: BPM. 239s 239s Parameters: 239s nod: An optional ASCII specification of the nodding 239s positions (in case they are missing from the 239s FITS-file). The file must consist of one line 239s per input FITS-file and each line must consist 239s of an integer (which is ignored) followed by a 0 239s or 1 (to indicate object or sky). (str; 239s default: 'NONE') 239s auto_bpm: Automatic detection and correction of bad pixels 239s (bool; default: True) 239s g: Automatic filtering of glitches (bool; default: 239s False) 239s p: Automatic purging of half-cycle images whose 239s median deviates more than a factor three from 239s the mean of the medians of half-cycle images or 239s whose standard deviation deviates more than a 239s factor three from the mean of their standard 239s deviations (bool; default: False) 239s union: Combine images using their union, as opposed to 239s their intersection (deprecated and ignored, see 239s --combine_method) (bool; default: True) 239s rej: Each resulting pixel is the average of the 239s corresponding (interpolated) pixel value in each 239s jittered image. A positive value, n1, for the 239s first of the two integers specifies that for 239s each pixel the smallest n1 pixel values shall be 239s ignored in the averaging. Similarly, a positive 239s value, n2, for the second of the two integers 239s specifies that for each pixel the largest n2 239s pixel values shall be ignored in the averaging. 239s (str; default: '0-0') 239s bkgcorrect: Subtract the median from the spectral column 239s before extracting the wavelength. This is 239s required when the skylines do not correctly 239s cancel due to gratting oscillations (bool; 239s default: True) 239s plot: The recipe can produce a number of predefined 239s plots. Zero means that none of the plots are 239s produced, while increasing values (e.g. 1 or 2) 239s increases the number of plots produced. If the 239s plotting fails a warning is produced, and the 239s recipe continues. The default behaviour of the 239s plotting is to use gnuplot (with option 239s -persist). The recipe currently produces 239s 1D-plots using gnuplot commands. The recipe user 239s can control the actual plotting-command used by 239s the recipe to create the plot by setting the 239s environment variable CPL_PLOTTER. Currently, if 239s CPL_PLOTTER is set it must contain the string 239s 'gnuplot'. Setting it to 'cat > 239s my_gnuplot_$$.txt' causes a number of ASCII- 239s files to be created, which each produce a plot 239s when given as standard input to gnuplot (e.g. 239s later or on a different computer). A finer 239s control of the plotting options can be obtained 239s by writing an executable script, e.g. 239s my_gnuplot.pl, that executes gnuplot after 239s setting the desired gnuplot options (e.g. set 239s terminal pslatex color) and then setting 239s CPL_PLOTTER to my_gnuplot.pl. The predefined 239s plots include plotting of images. Images can be 239s plotted not only with gnuplot, but also using 239s the pnm format. This is controlled with the 239s environment variable CPL_IMAGER. If CPL_IMAGER 239s is set to a string that does not contain the 239s word gnuplot, the recipe will generate the plot 239s in pnm format. E.g. setting CPL_IMAGER to 239s 'display - &' will produce a gray-scale image 239s using the image viewer display. (int; default: 239s 0) 239s slit_skew: Distortion correction: Skew of slit (degrees) 239s (clockwise) (float; default: 0.52) 239s spectrum_skew: Distortion correction: LMR Skew of spectrum 239s (degrees) (counter- clockwise). Not used in High 239s Resolution (float; default: 1.73) 239s vert_arc: Distortion correction: LR Detector vertical 239s curvature (pixel). Reduced by a factor 4 in MR. 239s Not used in HR A-side. Increased by a factor 239s 115/52 in HR B-side (float; default: -0.8) 239s hori_arc: Distortion correction: LMR Detector horizontal 239s curvature (pixel). Increased by a factor 1.5 in 239s HR A-side. Reduced by a factor 2 in HR B-side 239s (float; default: 0.0) 239s off: An optional ASCII specification of the offsets 239s in case those in FITS- headers are missing or 239s wrong. The file must consist of one line per 239s input pair of FITS-files, and each line must 239s consist of two numbers which represent the shift 239s in pixels of that image relative to the first 239s image. The first line should thus comprise two 239s zeros. Correct FITS-header offsets mean that the 239s i'th X offset can be gotten from Xoffset_0 - 239s Xoffset_i, where Xoffset_i is the value of ESO 239s SEQ CUMOFFSETX and likewise for Y. (str; 239s default: 'NONE') 239s ref: User-defined refining of the image offsets. See 239s options objs and xcorr (bool; default: False) 239s objs: The shift and add of images needs anchor points 239s that typically are bright objects. These are 239s normally detected automatically but with user- 239s defined refining of offsets enabled, they must 239s be provided by the user through an ASCII file 239s containing one line per anchor point with each 239s line consisting of its x and y coordinate (in 239s pixels). This file is ignored with user-defined 239s refining of offsets disabled. (str; default: 239s 'NONE') 239s xcorr: If user-defined refining of offsets is enabled a 239s cross-correlation of the images is performed. In 239s order to speed up this process, this cross- 239s correlation is performed only on smaller 239s rectangles around the anchor points. The first 239s two parameters is the half-size of this 239s rectangle in pixels. The second pair is the 239s maximum shift in x and y (pixels) evaluated by 239s the cross-correlation on the rectangle. Used 239s only if user-defined refining of offsets is 239s enabled. (str; default: '10-10-25-25') 239s fixcombi: Perform the distortion correction on the 239s combined image, and not on each of the jittered 239s images. This will reduce excution time and 239s degrade the quality of the combined image (bool; 239s default: False) 239s emis_tol: The computation of the mean and standard 239s deviation of the sensitivity is done for 239s wavelengths with an atmospheric emissivity of at 239s most emis_min + emis_tol * (emis_max - 239s emis_min), where emis_min is the minimum 239s emissivity in the observed wavelength range and 239s emis_max is the ditto maximum. Thus emis_tol = 1 239s means that all wavelengths are included. (float; 239s default: 1.0) 239s destripe_iterations: Max number of destriping iterations (0 to 239s disable destriping). Horizontal destriping is 239s done first and if no horizontal striping is 239s detected, vertical destriping is performed (int; 239s default: 15) 239s destripe_morpho: Destripe with morphological cleaning (bool; 239s default: False) 239s rl: Reject leftmost columns in spectrum extraction, 239s zero means all columns on the left are used. In 239s cross-dispersion mode a (small) negative number 239s may be used (pixel) (int; default: 0) 239s rr: Reject rightmost columns in spectrum extraction, 239s zero means all columns on the right are used. In 239s cross-dispersion mode a (small) negative number 239s may be used (pixel) (int; default: 0) 239s apfile: An optional ASCII file specification of the 239s aperture definitions to use during spectral 239s extraction. Each line must contain either 3 239s fields for optimal extraction, or an even number 239s of fields greater than 5 for aperture 239s extraction. For optimal extraction, the 1st 239s field should be 'O', and for aperture extraction 239s it should be 'A'. In both cases the next pair of 239s fields indicate the left & right edges of the 239s source aperture in pixel coordinates. For 239s aperture extraction, fields after the 3rd define 239s the sky apertures coordinates, with the 4th 239s field indicating the method used to determine 239s the sky background [one of 'A' (average), 'F' 239s (linear fit), or 'M' (median)] followed by at 239s least one pair of pixel coordinates representing 239s the left & right edge of a sky aperture. You may 239s supply more sky apertures by supplying 239s additional pixel coordinate pairs after the 239s first. Multiple lines targeting the same order 239s are allowed. (str; default: 'NONE') 239s ro_noise: Readout noise of the detector (float; default: 239s 14.5) 239s ox_sigma: Sigma to use for clipping in optimal extraction 239s (float; default: 5.0) 239s ox_niters: Number of optimal extraction iterations to 239s perform (int; default: 2) 239s ox_smooth: Width of smoothing window to use along spectral 239s dimension during optimal extraction. A median 239s filter is used. (int; default: 31) 239s gain: Detector gain (float; default: 0.75) 239s ox_kernel: Size of square smoothing kernel, in pixels, to 239s apply to science frame before optimal extraction 239s (ignored during aperture extraction). A median 239s filter is used. (int; default: 3) 239s respcal: An optional path to a FITS file containing a 1-D 239s fringe model to be divided into the 1-D 239s extracted spectra in order to remove the 239s fringes. (str; default: 'NONE')[ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s 239s Author: Lars Lundin 239s 239s 239s Recipe visir_spc_reduce: 239s version 4.4.2 239s Parameters: {'planestart': 0, 'planelimit': -1, 'trimlow': 0, 'trimhigh': 0, 'lincorrect': False, 'xl': 117, 'yl': 110, 'xh': 125, 'yh': 150, 'slit_skew': 0.52, 'spectrum_skew': 1.73, 'vert_arc': -0.8, 'hori_arc': 0.0, 'destripe_iterations': 15, 'destripe_morpho': False, 'rej': '0-0', 'bkgcorrect': True, 'plot': 0, 'fixcombi': False, 'emis_tol': 1.0, 'rl': 0, 'rr': 0, 'apfile': 'NONE', 'ro_noise': 14.5, 'ox_sigma': 5.0, 'ox_niters': 2, 'ox_smooth': 31, 'gain': 0.75, 'ox_kernel': 3, 'respcal': 'NONE', 'delete-temp': True, 'destripe': False} 239s Docstring: Spectroscopic Observation recipe 239s 239s This recipe performs a wavelength calibration followed by spectrum 239s extraction from a combined image. It can also compute sensitivities 239s for standard star observations. It works for low and high resolution 239s including echelle mode. The files listed in the Set Of Frames (sof- 239s file) must be tagged: VISIR-Long-Slit-Spectroscopy-file.fits 239s SPEC_OBS_LMR VISIR-Quantum-Efficiency-Calibration-file.fits 239s SPEC_CAL_QEFF VISIR-Atmospheric-Emission-Lines-Calibration-file.fits 239s SPEC_CAL_LINES VISIR-Standard-Star-Flux-Catalog.fits 239s (optional)SPEC_STD_CATALOG VISIR-linearty-table.fits LINEARITY_TABLE 239s (optional) Additionally, a bad pixel map with a PRO.CATG of IMG_BPM 239s may be added to the Set Of Frames with tag: BPM. 239s 239s Parameters: 239s planestart: Plane number to start repacking from in each nod 239s cycle,earlier planes are skipped. (int; default: 239s 0) 239s planelimit: Limit number of processed inputplanes. It will 239s repack until at least this number of input 239s images have been processed or the full dataset 239s has been repacked. Always full chop cycles need 239s to be repacked so the number is adjusted upward 239s to the next multiple of images per chop cycle. 239s <= 0 for no limit. (int; default: -1) 239s trimlow: Burst data only. Number of additional planes to 239s cut from before each plane with chopper 239s movement. (int; default: 0) 239s trimhigh: Burst data only. Number of additional planes to 239s cut from after each plane with chopper movement. 239s A value of -1 does not skip the plane of the 239s movement. (int; default: 0) 239s lincorrect: Apply linearity correction. Should only be 239s enabled on high flux observations, may degrade 239s results otherwise. (bool; default: False) 239s xl: Coordinate in spatial direction. Together with 239s yl it defines the lower point of a rectangle 239s containing only skylines for the wavelength 239s shift detection (int; default: 117) 239s yl: Coordinate in wavelength direction. See xl (int; 239s default: 110) 239s xh: Coordinate in spatial direction. Together with 239s yl it defines the higher point of a rectangle 239s containing only skylines for the wavelength 239s shift detection (int; default: 125) 239s yh: Coordinate in wavelength direction. See xh (int; 239s default: 150) 239s slit_skew: Distortion correction: Skew of slit (degrees) 239s (clockwise) (float; default: 0.52) 239s spectrum_skew: Distortion correction: LMR Skew of spectrum 239s (degrees) (counter- clockwise). Not used in High 239s Resolution (float; default: 1.73) 239s vert_arc: Distortion correction: LR Detector vertical 239s curvature (pixel). Reduced by a factor 4 in MR. 239s Not used in HR A-side. Increased by a factor 239s 115/52 in HR B-side (float; default: -0.8) 239s hori_arc: Distortion correction: LMR Detector horizontal 239s curvature (pixel). Increased by a factor 1.5 in 239s HR A-side. Reduced by a factor 2 in HR B-side 239s (float; default: 0.0) 239s destripe_iterations: Max number of destriping iterations (0 to 239s disable destriping). Horizontal destriping is 239s done first and if no horizontal striping is 239s detected, vertical destriping is performed (int; 239s default: 15) 239s destripe_morpho: Destripe with morphological cleaning (bool; 239s default: False) 239s rej: Each resulting pixel is the average of the 239s corresponding (interpolated) pixel value in each 239s jittered image. A positive value, n1, for the 239s first of the two integers specifies that for 239s each pixel the smallest n1 pixel values shall be 239s ignored in the averaging. Similarly, a positive 239s value, n2, for the second of the two integers 239s specifies that for each pixel the largest n2 239s pixel values shall be ignored in the averaging. 239s (str; default: '0-0') 239s bkgcorrect: Subtract the median from the spectral column 239s before extracting the wavelength. This is 239s required when the skylines do not correctly 239s cancel due to gratting oscillations (bool; 239s default: True) 239s plot: The recipe can produce a number of predefined 239s plots. Zero means that none of the plots are 239s produced, while increasing values (e.g. 1 or 2) 239s increases the number of plots produced. If the 239s plotting fails a warning is produced, and the 239s recipe continues. The default behaviour of the 239s plotting is to use gnuplot (with option 239s -persist). The recipe currently produces 239s 1D-plots using gnuplot commands. The recipe user 239s can control the actual plotting-command used by 239s the recipe to create the plot by setting the 239s environment variable CPL_PLOTTER. Currently, if 239s CPL_PLOTTER is set it must contain the string 239s 'gnuplot'. Setting it to 'cat > 239s my_gnuplot_$$.txt' causes a number of ASCII- 239s files to be created, which each produce a plot 239s when given as standard input to gnuplot (e.g. 239s later or on a different computer). A finer 239s control of the plotting options can be obtained 239s by writing an executable script, e.g. 239s my_gnuplot.pl, that executes gnuplot after 239s setting the desired gnuplot options (e.g. set 239s terminal pslatex color) and then setting 239s CPL_PLOTTER to my_gnuplot.pl. The predefined 239s plots include plotting of images. Images can be 239s plotted not only with gnuplot, but also using 239s the pnm format. This is controlled with the 239s environment variable CPL_IMAGER. If CPL_IMAGER 239s is set to a string that does not contain the 239s word gnuplot, the recipe will generate the plot 239s in pnm format. E.g. setting CPL_IMAGER to 239s 'display - &' will produce a gray-scale image 239s using the image viewer display. (int; default: 239s 0) 239s slit_skew: Distortion correction: Skew of slit (degrees) 239s (clockwise) (float; default: 0.52) 239s spectrum_skew: Distortion correction: LMR Skew of spectrum 239s (degrees) (counter- clockwise). Not used in High 239s Resolution (float; default: 1.73) 239s vert_arc: Distortion correction: LR Detector vertical 239s curvature (pixel). Reduced by a factor 4 in MR. 239s Not used in HR A-side. Increased by a factor 239s 115/52 in HR B-side (float; default: -0.8) 239s hori_arc: Distortion correction: LMR Detector horizontal 239s curvature (pixel). Increased by a factor 1.5 in 239s HR A-side. Reduced by a factor 2 in HR B-side 239s (float; default: 0.0) 239s fixcombi: Perform the distortion correction on the 239s combined image, and not on each of the jittered 239s images. This will reduce excution time and 239s degrade the quality of the combined image (bool; 239s default: False) 239s emis_tol: The computation of the mean and standard 239s deviation of the sensitivity is done for 239s wavelengths with an atmospheric emissivity of at 239s most emis_min + emis_tol * (emis_max - 239s emis_min), where emis_min is the minimum 239s emissivity in the observed wavelength range and 239s emis_max is the ditto maximum. Thus emis_tol = 1 239s means that all wavelengths are included. (float; 239s default: 1.0) 239s destripe_iterations: Max number of destriping iterations (0 to 239s disable destriping). Horizontal destriping is 239s done first and if no horizontal striping is 239s detected, vertical destriping is performed (int; 239s default: 15) 239s destripe_morpho: Destripe with morphological cleaning (bool; 239s default: False) 239s rl: Reject leftmost columns in spectrum extraction, 239s zero means all columns on the left are used. In 239s cross-dispersion mode a (small) negative number 239s may be used (pixel) (int; default: 0) 239s rr: Reject rightmost columns in spectrum extraction, 239s zero means all columns on the right are used. In 239s cross-dispersion mode a (small) negative number 239s may be used (pixel) (int; default: 0) 239s apfile: An optional ASCII file specification of the 239s aperture definitions to use during spectral 239s extraction. Each line must contain either 3 239s fields for optimal extraction, or an even number 239s of fields greater than 5 for aperture 239s extraction. For optimal extraction, the 1st 239s field should be 'O', and for aperture extraction 239s it should be 'A'. In both cases the next pair of 239s fields indicate the left & right edges of the 239s source aperture in pixel coordinates. For 239s aperture extraction, fields after the 3rd define 239s the sky apertures coordinates, with the 4th 239s field indicating the method used to determine 239s the sky background [one of 'A' (average), 'F' 239s (linear fit), or 'M' (median)] followed by at 239s least one pair of pixel coordinates representing 239s the left & right edge of a sky aperture. You may 239s supply more sky apertures by supplying 239s additional pixel coordinate pairs after the 239s first. Multiple lines targeting the same order 239s are allowed. (str; default: 'NONE') 239s ro_noise: Readout noise of the detector (float; default: 239s 14.5) 239s ox_sigma: Sigma to use for clipping in optimal extraction 239s (float; default: 5.0) 239s ox_niters: Number of optimal extraction iterations to 239s perform (int; default: 2) 239s ox_smooth: Width of smoothing window to use along spectral 239s dimension during optimal extraction. A median 239s filter is used. (int; default: 31) 239s gain: Detector gain (float; default: 0.75) 239s ox_kernel: Size of square smoothing kernel, in pixels, to 239s apply to science frame before optimal extraction 239s (ignored during aperture extraction). A median 239s filter is used. (int; default: 3) 239s respcal: An optional path to a FITS file containing a 1-D 239s fringe model to be divided into the 1-D 239s extracted spectra in order to remove the 239s fringes. (str; default: 'NONE') 239s delete-temp: Delete temporary files created during processing 239s (bool; default: True) 239s destripe: Attempt to remove stripes (bool; default: False)[ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s 239s Author: Julian Taylor 239s 239s 239s Recipe visir_old_spc_wcal: 239s version 4.4.2 239s Parameters: {'auto_bpm': True, 'plot': 0, 'slit_skew': 0.52, 'spectrum_skew': 1.73, 'vert_arc': -0.8, 'hori_arc': 0.0, 'rl': 0, 'rr': 0} 239s Docstring: Old DRS detector: Spectroscopic wavelength calibration recipe 239s 239s This recipe estimates the dispersion relation using the atmospheric 239s spectrum in a long-slit spectroscopy half-cycle frame. The files 239s listed in the Set Of Frames (sof-file) must be tagged: VISIR-Long- 239s Slit-Spectroscopy-file.fits SPEC_CAL_LMR_WCAL VISIR-Quantum- 239s Efficiency-Calibration-file.fits SPEC_CAL_QEFF VISIR-Atmospheric- 239s Emission-Lines-Calibration-file.fits SPEC_CAL_LINES Additionally, a 239s bad pixel map with a PRO.CATG of SPEC_BPM may be added to the Set Of 239s Frames with tag: BPM. 239s 239s Parameters: 239s auto_bpm: Automatic detection and correction of bad pixels 239s (bool; default: True) 239s plot: The recipe can produce a number of predefined plots. 239s Zero means that none of the plots are produced, while 239s increasing values (e.g. 1 or 2) increases the number 239s of plots produced. If the plotting fails a warning is 239s produced, and the recipe continues. The default 239s behaviour of the plotting is to use gnuplot (with 239s option -persist). The recipe currently produces 239s 1D-plots using gnuplot commands. The recipe user can 239s control the actual plotting-command used by the recipe 239s to create the plot by setting the environment variable 239s CPL_PLOTTER. Currently, if CPL_PLOTTER is set it must 239s contain the string 'gnuplot'. Setting it to 'cat > 239s my_gnuplot_$$.txt' causes a number of ASCII-files to 239s be created, which each produce a plot when given as 239s standard input to gnuplot (e.g. later or on a 239s different computer). A finer control of the plotting 239s options can be obtained by writing an executable 239s script, e.g. my_gnuplot.pl, that executes gnuplot 239s after setting the desired gnuplot options (e.g. set 239s terminal pslatex color) and then setting CPL_PLOTTER 239s to my_gnuplot.pl. The predefined plots include 239s plotting of images. Images can be plotted not only 239s with gnuplot, but also using the pnm format. This is 239s controlled with the environment variable CPL_IMAGER. 239s If CPL_IMAGER is set to a string that does not contain 239s the word gnuplot, the recipe will generate the plot in 239s pnm format. E.g. setting CPL_IMAGER to 'display - &' 239s will produce a gray-scale image using the image viewer 239s display. (int; default: 0) 239s slit_skew: Distortion correction: Skew of slit (degrees) 239s (clockwise) (float; default: 0.52) 239s spectrum_skew: Distortion correction: LMR Skew of spectrum (degrees) 239s (counter- clockwise). Not used in High Resolution 239s (float; default: 1.73) 239s vert_arc: Distortion correction: LR Detector vertical curvature 239s (pixel). Reduced by a factor 4 in MR. Not used in HR 239s A-side. Increased by a factor 115/52 in HR B-side 239s (float; default: -0.8) 239s hori_arc: Distortion correction: LMR Detector horizontal 239s curvature (pixel). Increased by a factor 1.5 in HR 239s A-side. Reduced by a factor 2 in HR B-side (float; 239s default: 0.0) 239s rl: Reject leftmost columns in spectrum extraction, zero 239s means all columns on the left are used. In cross- 239s dispersion mode a (small) negative number may be used 239s (pixel) (int; default: 0) 239s rr: Reject rightmost columns in spectrum extraction, zero 239s means all columns on the right are used. In cross- 239s dispersion mode a (small) negative number may be used 239s (pixel) (int; default: 0) 239s Author: Lars Lundin 239s 239s 239s Recipe visir_util_img_std_cat: 239s version 4.4.2 239s Parameters: {} 239s Docstring: Convert ASCII-file(s) to a FITS standard star catalog 239s 239s This recipe generates a FITS standard star catalog for imaging from 239s one or more ASCII-files. Each line in the text file must have at 239s least 8 fields separated by white-space. The first field is the 239s star name, e.g. 'HD108903' which will be stored in a table column 239s labeled 'STARS'. The next 3 fields are the RA (hh mm ss) which will 239s be stored in degrees in a table column labeled 'RA' - all three are 239s non-negative and hh and mm are integer. The 3 next fields are the DEC 239s (dd mm ss) which will be stored in degrees in a table column labeled 239s 'DEC' - all three are non-negative, dd and mm are integer, while dd 239s has either a '+' or a '-' prepended (in- cluding -00). The next field 239s is the spectral type which will be stored in a table column labeled 239s 'SP_TYPE'. Every field after the first 8 are the JY values for the 239s supported filters, and may be a mixture of image or spectral 239s filters. All JY values must be positive. For each filter the JY 239s value is stored in a table column labeled with the filter name 239s taken from the first row of column headings or, if there is no 1st row 239s of column headings, using a list of 44 filter names hard-coded in the 239s recipe (in which case the number of JY fields must be exactly 42 or 239s else an error is printed and execution ends). 239s As mentioned, the 1st row may be a list of column headings. If this 239s row is supplied, the 1st 4 fields will be ignored (but dummy values 239s must be supplied anyway), and every field after those will be used as 239s the column label in the output table for that column's JY values. 239s Lines beginning with a hash (#) are treated as comments. 239s The ASCII-input should be tagged IMG_LINES_ASCII, but all input files 239s will currently be processed regardless. 239s 239s No parameters 239s Author: Lars Lundin 239s 239s 239s Recipe visir_util_undistort: 239s version 4.4.2 239s Parameters: {'bkgcorrect': True, 'xl': 117, 'yl': 110, 'xh': 125, 'yh': 150, 'slit_skew': 0.52, 'spectrum_skew': 1.73, 'vert_arc': -0.8, 'hori_arc': 0.0} 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s Docstring: Correct the distortion in spectral data 239s 239s The files listed in the Set Of Frames (sof-file) must be tagged: 239s VISIR-chopnod-corrected-file.fits CHOPNOD_CORRECTED Optionally, a bad 239s pixel map may be provided: VISIR-bpm-file.fits STATIC_MASK The 239s product(s) will have a FITS card 'HIERARCH ESO PRO CATG' with a value 239s of: UNDISTORTED The recipe default values for the transformation are 239s only valid for spectral data taken in Low resolution mode 239s 239s Parameters: 239s bkgcorrect: Cho-nod correct the data (bool; default: True) 239s xl: Coordinate in spatial direction. Together with yl it 239s defines the lower point of a rectangle containing only 239s skylines for the wavelength shift detection (int; 239s default: 117) 239s yl: Coordinate in wavelength direction. See xl (int; 239s default: 110) 239s xh: Coordinate in spatial direction. Together with yl it 239s defines the higher point of a rectangle containing 239s only skylines for the wavelength shift detection (int; 239s default: 125) 239s yh: Coordinate in wavelength direction. See xh (int; 239s default: 150) 239s slit_skew: Distortion correction: Skew of slit (degrees) 239s (clockwise) (float; default: 0.52) 239s spectrum_skew: Distortion correction: LMR Skew of spectrum (degrees) 239s (counter- clockwise). Not used in High Resolution 239s (float; default: 1.73) 239s vert_arc: Distortion correction: LR Detector vertical curvature 239s (pixel). Reduced by a factor 4 in MR. Not used in HR 239s A-side. Increased by a factor 115/52 in HR B-side 239s (float; default: -0.8) 239s hori_arc: Distortion correction: LMR Detector horizontal 239s curvature (pixel). Increased by a factor 1.5 in HR 239s A-side. Reduced by a factor 2 in HR B-side (float; 239s default: 0.0) 239s Author: Lars Lundin 239s 239s 239s Recipe visir_img_reduce: 239s version 4.4.2 239s Parameters: {'planestart': 0, 'planelimit': -1, 'trimlow': 0, 'trimhigh': 0, 'lincorrect': False, 'template': 'NONE', 'min-correlation': 0.5, 'max-shift': 10.0, 'max-mad': 0.0, 'naverage': 1, 'method': 'xcorrelate', 'no-shift': False, 'no-reject': True, 'beampos': 'NONE', 'eccmax': 3.0, 'keepfrac': 0.9, 'kappa': 5.0, 'maxite': 3, 'shift-beams': True, 'error-source': 'img-stdev', 'badimage': 0.2, 'output-all': False, 'extra_config': 'NONE', 'config_fname': '/usr/share/cpl-plugins/visir-4.4.2/config/visir_default.swarp', 'nprocs': -1, 'jy_val': -999.0, 'radii': '20-20-30', 'delete-temp': True} 239s Docstring: Combines a stack of chopped, jittered and/or nodded exposures and can 239s compute the sensitivity for standard star observations 239s 239s This recipe recombines the data observed in chopping/nodding or 239s chopping or nodding modes into one combined image using optionally 239s cross-correlation methods. The files listed in the Set Of Frames (sof- 239s file) must be tagged: VISIR-observation-file.fits IM_OBS_CHO_NOD_JIT 239s or VISIR-observation-file.fits IM_OBS_CHO_JIT or VISIR-observation- 239s file.fits IM_OBS_NOD_JIT or VISIR-observation-file.fits IM_OBS_DIR_JIT 239s or VISIR-observation-file.fits BURST VISIR-Standard-star-catalog 239s IMG_STD_CATALOG (optional) VISIR-linearty-table.fits LINEARITY_TABLE 239s (optional) Additionally, a bad pixel map with a PRO.CATG of IMG_BPM 239s may be added to the Set Of Frames with tag: BPM. 239s 239s Parameters: 239s planestart: Plane number to start repacking from in each nod 239s cycle,earlier planes are skipped. (int; default: 0) 239s planelimit: Limit number of processed inputplanes. It will 239s repack until at least this number of input images 239s have been processed or the full dataset has been 239s repacked. Always full chop cycles need to be 239s repacked so the number is adjusted upward to the 239s next multiple of images per chop cycle. <= 0 for no 239s limit. (int; default: -1) 239s trimlow: Burst data only. Number of additional planes to cut 239s from before each plane with chopper movement. (int; 239s default: 0) 239s trimhigh: Burst data only. Number of additional planes to cut 239s from after each plane with chopper movement. A 239s value of -1 does not skip the plane of the movement. 239s (int; default: 0) 239s lincorrect: Apply linearity correction. Should only be enabled 239s on high flux observations, may degrade results 239s otherwise. (bool; default: False) 239s template: Correlation template used to detect shifts and 239s reject bad images. If none given an averaged image 239s is used (str; default: 'NONE') 239s min-correlation: Minimal correlation to the template required to be 239s accepted (float; default: 0.5) 239s max-shift: Maximal allowed object shift for an image to be 239s accepted (float; default: 10.0) 239s max-mad: Maximal allowed median absolute deviation for an 239s image to be accepted. <= 0 equals no limit (float; 239s default: 0.0) 239s naverage: Number of planes to average before attempting to 239s detect the shifts. (int; default: 1) 239s method: Method to determine beam shifts. xcorrelate: use 239s the cross correlation shift. brightest: use the 239s position of the brightest pixel (str; default: 239s 'xcorrelate') 239s no-shift: Sets whether to apply the determined shifts in 239s following recipes. Set to TRUE of shifts appear too 239s large. (bool; default: False) 239s no-reject: If true images with bad statistics will not be 239s rejected and no shift correction is done (bool; 239s default: True) 239s beampos: Define the positions of the beams. These positions 239s are cut by the window to extract the single beam 239s images. Format: sign:x,y,window;sign:x,y,window;... 239s where sign is "pos" or "neg" depending on whether 239s the beam is positive or negative. The window is 239s optional and defines the size of the cut image 239s around the beam. The default window is the chop 239s throw. E.g.: pos:50,60;neg:50,160; By default 239s autodetection is attempted. (str; default: 'NONE') 239s eccmax: The maximum eccentricity allowed in the combination 239s of the three (in parallel nod/chopping) or four (in 239s perpendicular nod/chopping) beams. In parallel mode, 239s three perfectly aligned points spaced with the 239s chopnod throw will have eccentricity 0, while in 239s perpedicular mode a square with the chopnod throw as 239s the side length will have eccentricity 0 (float; 239s default: 3.0) 239s keepfrac: The fraction of pixels to keep for the initialmedian 239s (float; default: 0.9) 239s kappa: Clip outside + or - kappa * sigma (the standard 239s deviation) (float; default: 5.0) 239s maxite: Max number of kappa-sigma clipping iterations (int; 239s default: 3) 239s shift-beams: Account for movements of the object defined in 239s CRPIX[12] (bool; default: True) 239s error-source: Defines the way errors are generated: img-stdev: 239s stdev of image timeseries: stdev of each pixel over 239s the time axis of the cube none: no error generation 239s (str; default: 'img-stdev') 239s badimage: If percentage of clipped pixels above this value the 239s whole image is considered bad (float; default: 0.2) 239s output-all: Output a coadded image for each input file in 239s addition to the complete coaddition. (bool; default: 239s False) 239s extra_config: Additional configuration parameters (str; default: 239s 'NONE') 239s config_fname: Swarp configure file name. (str; default: 239s '/usr/share/cpl- 239s plugins/visir-4.4.2/config/visir_default.swarp') 239s nprocs: Maximum number of swarp processes that can be 239s spawned simultaneously. (int; default: -1) 239s jy_val: The flux of the standard star in Jansky (float; 239s default: -999.0) 239s radii: Radii : star_max bg_int bg_ext (str; default: 239s '20-20-30') 239s delete-temp: Delete temporary files created during processing 239s (bool; default: True) 239s Author: Julian Taylor 239s 239s 239s Recipe visir_old_spc_phot: 239s version 4.4.2 239s Parameters: {'nod': 'NONE', 'auto_bpm': True, 'g': False, 'p': False, 'union': True, 'rej': '0-0', 'plot': 0, 'slit_skew': 0.52, 'spectrum_skew': 1.73, 'vert_arc': -0.8, 'hori_arc': 0.0, 'off': 'NONE', 'ref': False, 'objs': 'NONE', 'xcorr': '10-10-25-25', 'fixcombi': False, 'emis_tol': 1.0, 'destripe_iterations': 15, 'destripe_morpho': False, 'rl': 0, 'rr': 0, 'ro_noise': 14.5, 'ox_sigma': 5.0, 'ox_niters': 2, 'ox_smooth': 31, 'gain': 0.75, 'ox_kernel': 3} 239s Docstring: Old DRS detector: Sensitivity computation in spectroscopy 239s 239s This recipe estimates the dispersion relation using the atmospheric 239s spectrum in a long-slit spectroscopy half-cycle frame. It also 239s extracts the spectrum of an observed object using a combined frame. 239s Lastly, it computes the spectral photometry of an observed standard 239s star. The files listed in the Set Of Frames (sof-file) must be tagged: 239s VISIR-Long-Slit-Spectroscopy-file.fits SPEC_CAL_PHOT VISIR-Quantum- 239s Efficiency-Calibration-file.fits SPEC_CAL_QEFF VISIR-Atmospheric- 239s Emission-Lines-Calibration-file.fits SPEC_CAL_LINES VISIR- 239s Spectroscopic-Standard-Star-Catalog.fits SPEC_STD_CATALOG 239s Additionally, a bad pixel map with a PRO.CATG of SPEC_BPM may be added 239s to the Set Of Frames with tag: BPM. 239s 239s Parameters: 239s nod: An optional ASCII specification of the nodding 239s positions (in case they are missing from the 239s FITS-file). The file must consist of one line 239s per input FITS-file and each line must consist 239s of an integer (which is ignored) followed by a 0 239s or 1 (to indicate object or sky). (str; 239s default: 'NONE') 239s auto_bpm: Automatic detection and correction of bad pixels 239s (bool; default: True) 239s g: Automatic filtering of glitches (bool; default: 239s False) 239s p: Automatic purging of half-cycle images whose 239s median deviates more than a factor three from 239s the mean of the medians of half-cycle images or 239s whose standard deviation deviates more than a 239s factor three from the mean of their standard 239s deviations (bool; default: False) 239s union: Combine images using their union, as opposed to 239s their intersection (deprecated and ignored, see 239s --combine_method) (bool; default: True) 239s rej: Each resulting pixel is the average of the 239s corresponding (interpolated) pixel value in each 239s jittered image. A positive value, n1, for the 239s first of the two integers specifies that for 239s each pixel the smallest n1 pixel values shall be 239s ignored in the averaging. Similarly, a positive 239s value, n2, for the second of the two integers 239s specifies that for each pixel the largest n2 239s pixel values shall be ignored in the averaging. 239s (str; default: '0-0') 239s plot: The recipe can produce a number of predefined 239s plots. Zero means that none of the plots are 239s produced, while increasing values (e.g. 1 or 2) 239s increases the number of plots produced. If the 239s plotting fails a warning is produced, and the 239s recipe continues. The default behaviour of the 239s plotting is to use gnuplot (with option 239s -persist). The recipe currently produces 239s 1D-plots using gnuplot commands. The recipe user 239s can control the actual plotting-command used by 239s the recipe to create the plot by setting the 239s environment variable CPL_PLOTTER. Currently, if 239s CPL_PLOTTER is set it must contain the string 239s 'gnuplot'. Setting it to 'cat > 239s my_gnuplot_$$.txt' causes a number of ASCII- 239s files to be created, which each produce a plot 239s when given as standard input to gnuplot (e.g. 239s later or on a different computer). A finer 239s control of the plotting options can be obtained 239s by writing an executable script, e.g. 239s my_gnuplot.pl, that executes gnuplot after 239s setting the desired gnuplot options (e.g. set 239s terminal pslatex color) and then setting 239s CPL_PLOTTER to my_gnuplot.pl. The predefined 239s plots include plotting of images. Images can be 239s plotted not only with gnuplot, but also using 239s the pnm format. This is controlled with the 239s environment variable CPL_IMAGER. If CPL_IMAGER 239s is set to a string that does not contain the 239s word gnuplot, the recipe will generate the plot 239s in pnm format. E.g. setting CPL_IMAGER to 239s 'display - &' will produce a gray-scale image 239s using the image viewer display. (int; default: 239s 0) 239s slit_skew: Distortion correction: Skew of slit (degrees) 239s (clockwise) (float; default: 0.52) 239s spectrum_skew: Distortion correction: LMR Skew of spectrum 239s (degrees) (counter- clockwise). Not used in High 239s Resolution (float; default: 1.73) 239s vert_arc: Distortion correction: LR Detector vertical 239s curvature (pixel). Reduced by a factor 4 in MR. 239s Not used in HR A-side. Increased by a factor 239s 115/52 in HR B-side (float; default: -0.8) 239s hori_arc: Distortion correction: LMR Detector horizontal 239s curvature (pixel). Increased by a factor 1.5 in 239s HR A-side. Reduced by a factor 2 in HR B-side 239s (float; default: 0.0) 239s off: An optional ASCII specification of the offsets 239s in case those in FITS- headers are missing or 239s wrong. The file must consist of one line per 239s input pair of FITS-files, and each line must 239s consist of two numbers which represent the shift 239s in pixels of that image relative to the first 239s image. The first line should thus comprise two 239s zeros. Correct FITS-header offsets mean that the 239s i'th X offset can be gotten from Xoffset_0 - 239s Xoffset_i, where Xoffset_i is the value of ESO 239s SEQ CUMOFFSETX and likewise for Y. (str; 239s default: 'NONE') 239s ref: User-defined refining of the image offsets. See 239s options objs and xcorr (bool; default: False) 239s objs: The shift and add of images needs anchor points 239s that typically are bright objects. These are 239s normally detected automatically but with user- 239s defined refining of offsets enabled, they must 239s be provided by the user through an ASCII file 239s containing one line per anchor point with each 239s line consisting of its x and y coordinate (in 239s pixels). This file is ignored with user-defined 239s refining of offsets disabled. (str; default: 239s 'NONE') 239s xcorr: If user-defined refining of offsets is enabled a 239s cross-correlation of the images is performed. In 239s order to speed up this process, this cross- 239s correlation is performed only on smaller 239s rectangles around the anchor points. The first 239s two parameters is the half-size of this 239s rectangle in pixels. The second pair is the 239s maximum shift in x and y (pixels) evaluated by 239s the cross-correlation on the rectangle. Used 239s only if user-defined refining of offsets is 239s enabled. (str; default: '10-10-25-25') 239s fixcombi: Perform the distortion correction on the 239s combined image, and not on each of the jittered 239s images. This will reduce excution time and 239s degrade the quality of the combined image (bool; 239s default: False) 239s emis_tol: The computation of the mean and standard 239s deviation of the sensitivity is done for 239s wavelengths with an atmospheric emissivity of at 239s most emis_min + emis_tol * (emis_max - 239s emis_min), where emis_min is the minimum 239s emissivity in the observed wavelength range and 239s emis_max is the ditto maximum. Thus emis_tol = 1 239s means that all wavelengths are included. (float; 239s default: 1.0) 239s destripe_iterations: Max number of destriping iterations (0 to 239s disable destriping). Horizontal destriping is 239s done first and if no horizontal striping is 239s detected, vertical destriping is performed (int; 239s default: 15) 239s destripe_morpho: Destripe with morphological cleaning (bool; 239s default: False) 239s rl: Reject leftmost columns in spectrum extraction, 239s zero means all columns on the left are used. In 239s cross-dispersion mode a (small) negative number 239s may be used (pixel) (int; default: 0) 239s rr: Reject rightmost columns in spectrum extraction, 239s zero means all columns on the right are used. In 239s cross-dispersion mode a (small) negative number 239s may be used (pixel) (int; default: 0) 239s ro_noise: Readout noise of the detector (float; default: 239s 14.5) 239s ox_sigma: Sigma to use for clipping in optimal extraction 239s (float; default: 5.0) 239s ox_niters: Number of optimal extraction iterations to 239s perform (int; default: 2) 239s ox_smooth: Width of smoothing window to use along spectral 239s dimension during optimal extraction. A median 239s filter is used. (int; default: 31) 239s gain: Detector gain (float; default: 0.75) 239s ox_kernel: Size of square smoothing kernel, in pixels, to 239s apply to science frame before optimal extraction 239s (ignored during aperture extraction). A median 239s filter is used. (int; default: 3)[ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s 239s Author: Lars Lundin 239s 239s 239s Recipe visir_util_apply_calib: 239s version 4.4.2 239s Parameters: {} 239s Docstring: Attempt to remove stripes in spectral data 239s 239s The files listed in the Set Of Frames (sof-file) must be tagged: 239s VISIR-chopnod-corrected-file.fits The product(s) will have a FITS 239s card 'HIERARCH ESO PRO CATG' with a value of: 239s 239s No parameters 239s Author: Julian Taylor 239s 239s 239s Recipe visir_old_spc_obs_ech: 239s version 4.4.2 239s Parameters: {'nod': 'NONE', 'auto_bpm': True, 'g': False, 'p': False, 'union': True, 'rej': '0-0', 'bkgcorrect': True, 'plot': 0, 'slit_skew': 0.0, 'spectrum_skew': 0.0, 'vert_arc': 0.0, 'hori_arc': 0.0, 'orderoffset': 0, 'off': 'NONE', 'ref': False, 'objs': 'NONE', 'xcorr': '10-10-25-25', 'fixcombi': False, 'emis_tol': 1.0, 'destripe_iterations': 15, 'destripe_morpho': False, 'rl': 0, 'rr': 0, 'ro_noise': 14.5, 'ox_sigma': 5.0, 'ox_niters': 2, 'ox_smooth': 31, 'gain': 0.75, 'ox_kernel': 3} 239s Docstring: Old DRS detector: Spectroscopic Observation recipe in Echelle mode 239s 239s This recipe estimates the dispersion relation using the atmospheric 239s spectrum in a grism spectroscopy half-cycle frame. It also extracts 239s the spectrum of an observed object using a combined frame. The files 239s listed in the Set Of Frames (sof-file) must be tagged: VISIR-Echelle- 239s Spectroscopy-file.fits SPEC_OBS_HRG VISIR-Quantum-Efficiency- 239s Calibration-file.fits SPEC_CAL_QEFF VISIR-Atmospheric-Emission-Lines- 239s Calibration-file.fits SPEC_CAL_LINES Additionally, a bad pixel map 239s with a PRO.CATG of SPEC_BPM may be added to the Set Of Frames with 239s tag: BPM. 239s 239s Parameters: 239s nod: An optional ASCII specification of the nodding 239s positions (in case they are missing from the 239s FITS-file). The file must consist of one line 239s per input FITS-file and each line must consist 239s of an integer (which is ignored) followed by a 0 239s or 1 (to indicate object or sky). (str; 239s default: 'NONE') 239s auto_bpm: Automatic detection and correction of bad pixels 239s (bool; default: True) 239s g: Automatic filtering of glitches (bool; default: 239s False) 239s p: Automatic purging of half-cycle images whose 239s median deviates more than a factor three from 239s the mean of the medians of half-cycle images or 239s whose standard deviation deviates more than a 239s factor three from the mean of their standard 239s deviations (bool; default: False) 239s union: Combine images using their union, as opposed to 239s their intersection (deprecated and ignored, see 239s --combine_method) (bool; default: True) 239s rej: Each resulting pixel is the average of the 239s corresponding (interpolated) pixel value in each 239s jittered image. A positive value, n1, for the 239s first of the two integers specifies that for 239s each pixel the smallest n1 pixel values shall be 239s ignored in the averaging. Similarly, a positive 239s value, n2, for the second of the two integers 239s specifies that for each pixel the largest n2 239s pixel values shall be ignored in the averaging. 239s (str; default: '0-0') 239s bkgcorrect: Subtract the median from the spectral column 239s before extracting the wavelength. This is 239s required when the skylines do not correctly 239s cancel due to gratting oscillations (bool; 239s default: True) 239s plot: The recipe can produce a number of predefined 239s plots. Zero means that none of the plots are 239s produced, while increasing values (e.g. 1 or 2) 239s increases the number of plots produced. If the 239s plotting fails a warning is produced, and the 239s recipe continues. The default behaviour of the 239s plotting is to use gnuplot (with option 239s -persist). The recipe currently produces 239s 1D-plots using gnuplot commands. The recipe user 239s can control the actual plotting-command used by 239s the recipe to create the plot by setting the 239s environment variable CPL_PLOTTER. Currently, if 239s CPL_PLOTTER is set it must contain the string 239s 'gnuplot'. Setting it to 'cat > 239s my_gnuplot_$$.txt' causes a number of ASCII- 239s files to be created, which each produce a plot 239s when given as standard input to gnuplot (e.g. 239s later or on a different computer). A finer 239s control of the plotting options can be obtained 239s by writing an executable script, e.g. 239s my_gnuplot.pl, that executes gnuplot after 239s setting the desired gnuplot options (e.g. set 239s terminal pslatex color) and then setting 239s CPL_PLOTTER to my_gnuplot.pl. The predefined 239s plots include plotting of images. Images can be 239s plotted not only with gnuplot, but also using 239s the pnm format. This is controlled with the 239s environment variable CPL_IMAGER. If CPL_IMAGER 239s is set to a string that does not contain the 239s word gnuplot, the recipe will generate the plot 239s in pnm format. E.g. setting CPL_IMAGER to 239s 'display - &' will produce a gray-scale image 239s using the image viewer display. (int; default: 239s 0) 239s slit_skew: Distortion correction: Skew of slit (degrees) 239s (clockwise) (float; default: 0.0) 239s spectrum_skew: Distortion correction: LMR Skew of spectrum 239s (degrees) (counter- clockwise). Not used in High 239s Resolution (float; default: 0.0) 239s vert_arc: Distortion correction: LR Detector vertical 239s curvature (pixel). Reduced by a factor 4 in MR. 239s Not used in HR A-side. Increased by a factor 239s 115/52 in HR B-side (float; default: 0.0) 239s hori_arc: Distortion correction: LMR Detector horizontal 239s curvature (pixel). Increased by a factor 1.5 in 239s HR A-side. Reduced by a factor 2 in HR B-side 239s (float; default: 0.0) 239s orderoffset: Echelle order offset. The offset is relative to 239s the main order. The allowed range of offsets 239s depend on the selected grism. The offset can 239s never exceed +/-4. If the main order is e.g. 8 239s an order offset of +1 will cause the recipe to 239s base the data reduction on order 9. With a 239s positive order offset the central wavelength 239s becomes smaller while for a negative order 239s offset the central wavelength becomes larger. 239s (int; default: 0) 239s off: An optional ASCII specification of the offsets 239s in case those in FITS- headers are missing or 239s wrong. The file must consist of one line per 239s input pair of FITS-files, and each line must 239s consist of two numbers which represent the shift 239s in pixels of that image relative to the first 239s image. The first line should thus comprise two 239s zeros. Correct FITS-header offsets mean that the 239s i'th X offset can be gotten from Xoffset_0 - 239s Xoffset_i, where Xoffset_i is the value of ESO 239s SEQ CUMOFFSETX and likewise for Y. (str; 239s default: 'NONE') 239s ref: User-defined refining of the image offsets. See 239s options objs and xcorr (bool; default: False) 239s objs: The shift and add of images needs anchor points 239s that typically are bright objects. These are 239s normally detected automatically but with user- 239s defined refining of offsets enabled, they must 239s be provided by the user through an ASCII file 239s containing one line per anchor point with each 239s line consisting of its x and y coordinate (in 239s pixels). This file is ignored with user-defined 239s refining of offsets disabled. (str; default: 239s 'NONE') 239s xcorr: If user-defined refining of offsets is enabled a 239s cross-correlation of the images is performed. In 239s order to speed up this process, this cross- 239s correlation is performed only on smaller 239s rectangles around the anchor points. The first 239s two parameters is the half-size of this 239s rectangle in pixels. The second pair is the 239s maximum shift in x and y (pixels) evaluated by 239s the cross-correlation on the rectangle. Used 239s only if user-defined refining of offsets is 239s enabled. (str; default: '10-10-25-25') 239s fixcombi: Perform the distortion correction on the 239s combined image, and not on each of the jittered 239s images. This will reduce excution time and 239s degrade the quality of the combined image (bool; 239s default: False) 239s emis_tol: The computation of the mean and standard 239s deviation of the sensitivity is done for 239s wavelengths with an atmospheric emissivity of at 239s most emis_min + emis_tol * (emis_max - 239s emis_min), where emis_min is the minimum 239s emissivity in the observed wavelength range and 239s emis_max is the ditto maximum. Thus emis_tol = 1 239s means that all wavelengths are included. (float; 239s default: 1.0) 239s destripe_iterations: Max number of destriping iterations (0 to 239s disable destriping). Horizontal destriping is 239s done first and if no horizontal striping is 239s detected, vertical destriping is performed (int; 239s default: 15) 239s destripe_morpho: Destripe with morphological cleaning (bool; 239s default: False) 239s rl: Reject leftmost columns in spectrum extraction, 239s zero means all columns on the left are used. In 239s cross-dispersion mode a (small) negative number 239s may be used (pixel) (int; default: 0) 239s rr: Reject rightmost columns in spectrum extraction, 239s zero means all columns on the right are used. In 239s cross-dispersion mode a (small) negative number 239s may be used (pixel) (int; default: 0) 239s ro_noise: Readout noise of the detector (float; default: 239s 14.5) 239s ox_sigma: Sigma to use for clipping in optimal extraction 239s (float; default: 5.0) 239s ox_niters: Number of optimal extraction iterations to 239s perform (int; default: 2) 239s ox_smooth: Width of smoothing window to use along spectral 239s dimension during optimal extraction. A median 239s filter is used. (int; default: 31) 239s gain: Detector gain (float; default: 0.75) 239s ox_kernel: Size of square smoothing kernel, in pixels, to 239s apply to science frame before optimal extraction 239s (ignored during aperture extraction). A median 239s filter is used. (int; default: 3)[ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_qc 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_convert_weight 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_trans 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_spc_txt2fits 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_dark 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_spc_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_util_destripe 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_wcal 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_img_std_cat 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_undistort 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_reduce 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_repack 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_detect_shift 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_run_swarp 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_phot 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_apply_calib 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_spc_obs_ech 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_join 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_util_clip 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_img_ff 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s [ INFO ] Run-time version 7.3.2 of CPL is higher than the version (70202) used to compile visir_old_img_combine 239s 239s Author: Lars Lundin 239s 239s 239s Recipe visir_util_join: 239s version 4.4.2 239s Parameters: {} 239s Docstring: Extend the final product with extensions containing its error map, bad 239s pixel map and weight or contribution map 239s 239s The files listed in the Set Of Frames (SOF-file) must be tagged: 239s VISIR-data.fits DATA Optionally, the SOF may also contain one or more 239s of the following: VISIR-bad-pixel-map.fits BPM VISIR-error.fits 239s ERROR_MAP VISIR-contribution-map.fits CONTRIBUTION_MAP VISIR-weight- 239s map.fits WEIGHT_MAP The product(s) will have a FITS card 'HIERARCH 239s ESO PRO CATG' with a value of: JOIN 239s 239s No parameters 239s Author: Lars Lundin 239s 239s 239s Recipe visir_util_clip: 239s version 4.4.2 239s Parameters: {'keepfrac': 0.9, 'kappa': 5.0, 'maxite': 3, 'shift-beams': True, 'error-source': 'img-stdev', 'error-out-type': 'error', 'badimage': 0.2} 239s Docstring: Kappa-sigma clipping of outliers for each pixel 239s 239s The files listed in the Set Of Frames (sof-file) must be tagged pair- 239s wise: VISIR-raw-file.fits RAW VISIR-bpm-file.fits BPM The product(s) 239s will have a FITS card 'HIERARCH ESO PRO CATG' with a value of: BPM The 239s outliers are marked as rejected in the matching bad pixel map. 239s 239s Parameters: 239s keepfrac: The fraction of pixels to keep for the initialmedian 239s (float; default: 0.9) 239s kappa: Clip outside + or - kappa * sigma (the standard 239s deviation) (float; default: 5.0) 239s maxite: Max number of kappa-sigma clipping iterations (int; 239s default: 3) 239s shift-beams: Account for movements of the object defined in 239s CRPIX[12] (bool; default: True) 239s error-source: Defines the way errors are generated: img-stdev: 239s stdev of image timeseries: stdev of each pixel over 239s the time axis of the cube none: no error generation 239s (str; default: 'img-stdev') 239s error-out-type: Output clipped error as error, variance, weight or 239s none (str; default: 'error') 239s badimage: If percentage of clipped pixels above this value the 239s whole image is considered bad (float; default: 0.2) 239s Author: Lars Lundin 239s 239s 239s Recipe visir_img_ff: 239s version 4.4.2 239s Parameters: {'low': 0.2, 'high': 5.0} 239s Docstring: Flat field recipe 239s 239s This recipe computes the flatfield. The files listed in the Set Of 239s Frames (sof-file) must be tagged either VISIR-flatfield-raw-file.fits 239s IM_CAL_FLAT or VISIR-flatfield-raw-file.fits IM_TECH_FLAT or VISIR- 239s flatfield-raw-file.fits SPEC_CAL_FLAT or VISIR-flatfield-raw-file.fits 239s SPEC_TECH_FLAT The corresponding primary product will have a FITS 239s card 'HIERARCH ESO PRO CATG' with a value of IMG_FF or IMG_FF_TECH or 239s SPEC_FF or SPEC_FF_TECH 239s 239s Parameters: 239s low: Low threshold for the bad pixel map (float; default: 0.2) 239s high: High threshold for the bad pixel map (float; default: 5.0) 239s Author: Lars Lundin 239s 239s 239s Recipe visir_old_img_combine: 239s version 4.4.2 239s Parameters: {'nod': 'NONE', 'auto_bpm': True, 'g': False, 'p': False, 'union': True, 'rej': '0-0', 'plot': 0, 'off': 'NONE', 'ref': False, 'objs': 'NONE', 'xcorr': '10-10-25-25', 'combine_method': 'union', 'destripe_iterations': 15, 'destripe_morpho': False, 'eccmax': 0.25} 239s Docstring: Old DRS detector: Images combination recipe 239s 239s This recipe recombines the data observed in chopping/nodding or 239s chopping or nodding modes into one combined image using optionally 239s cross-correlation methods. The files listed in the Set Of Frames (sof- 239s file) must be tagged: VISIR-observation-file.fits IM_OBS_CHO_NOD_JIT 239s or VISIR-observation-file.fits IM_OBS_CHO_JIT or VISIR-observation- 239s file.fits IM_OBS_NOD_JIT or VISIR-observation-file.fits IM_OBS_DIR_JIT 239s The corresponding primary product will have a FITS card 'HIERARCH ESO 239s PRO CATG' with a value of IMG_OBS_COMBINED_CNJ or IMG_OBS_COMBINED_CJ 239s or IMG_OBS_COMBINED_NJ or IMG_OBS_COMBINED_DJ and the corresponding 239s beam-collapsed product will have a FITS card 'HIERARCH ESO PRO CATG' 239s with a value of IMG_OBS_ONEBEAM_CNJ or IMG_OBS_ONEBEAM_CJ or 239s IMG_OBS_ONEBEAM_NJ or IMG_OBS_ONEBEAM_DJ Additionally, a bad pixel 239s map with a PRO.CATG of IMG_BPM may be added to the Set Of Frames with 239s tag: BPM. 239s 239s Parameters: 239s nod: An optional ASCII specification of the nodding 239s positions (in case they are missing from the 239s FITS-file). The file must consist of one line 239s per input FITS-file and each line must consist 239s of an integer (which is ignored) followed by a 0 239s or 1 (to indicate object or sky). (str; 239s default: 'NONE') 239s auto_bpm: Automatic detection and correction of bad pixels 239s (bool; default: True) 239s g: Automatic filtering of glitches (bool; default: 239s False) 239s p: Automatic purging of half-cycle images whose 239s median deviates more than a factor three from 239s the mean of the medians of half-cycle images or 239s whose standard deviation deviates more than a 239s factor three from the mean of their standard 239s deviations (bool; default: False) 239s union: Combine images using their union, as opposed to 239s their intersection (deprecated and ignored, see 239s --combine_method) (bool; default: True) 239s rej: Each resulting pixel is the average of the 239s corresponding (interpolated) pixel value in each 239s jittered image. A positive value, n1, for the 239s first of the two integers specifies that for 239s each pixel the smallest n1 pixel values shall be 239s ignored in the averaging. Similarly, a positive 239s value, n2, for the second of the two integers 239s specifies that for each pixel the largest n2 239s pixel values shall be ignored in the averaging. 239s (str; default: '0-0') 239s plot: The recipe can produce a number of predefined 239s plots. Zero means that none of the plots are 239s produced, while increasing values (e.g. 1 or 2) 239s increases the number of plots produced. If the 239s plotting fails a warning is produced, and the 239s recipe continues. The default behaviour of the 239s plotting is to use gnuplot (with option 239s -persist). The recipe currently produces 239s 1D-plots using gnuplot commands. The recipe user 239s can control the actual plotting-command used by 239s the recipe to create the plot by setting the 239s environment variable CPL_PLOTTER. Currently, if 239s CPL_PLOTTER is set it must contain the string 239s 'gnuplot'. Setting it to 'cat > 239s my_gnuplot_$$.txt' causes a number of ASCII- 239s files to be created, which each produce a plot 239s when given as standard input to gnuplot (e.g. 239s later or on a different computer). A finer 239s control of the plotting options can be obtained 239s by writing an executable script, e.g. 239s my_gnuplot.pl, that executes gnuplot after 239s setting the desired gnuplot options (e.g. set 239s terminal pslatex color) and then setting 239s CPL_PLOTTER to my_gnuplot.pl. The predefined 239s plots include plotting of images. Images can be 239s plotted not only with gnuplot, but also using 239s the pnm format. This is controlled with the 239s environment variable CPL_IMAGER. If CPL_IMAGER 239s is set to a string that does not contain the 239s word gnuplot, the recipe will generate the plot 239s in pnm format. E.g. setting CPL_IMAGER to 239s 'display - &' will produce a gray-scale image 239s using the image viewer display. (int; default: 239s 0) 239s off: An optional ASCII specification of the offsets 239s in case those in FITS- headers are missing or 239s wrong. The file must consist of one line per 239s input pair of FITS-files, and each line must 239s consist of two numbers which represent the shift 239s in pixels of that image relative to the first 239s image. The first line should thus comprise two 239s zeros. Correct FITS-header offsets mean that the 239s i'th X offset can be gotten from Xoffset_0 - 239s Xoffset_i, where Xoffset_i is the value of ESO 239s SEQ CUMOFFSETX and likewise for Y. (str; 239s default: 'NONE') 239s ref: User-defined refining of the image offsets. See 239s options objs and xcorr (bool; default: False) 239s objs: The shift and add of images needs anchor points 239s that typically are bright objects. These are 239s normally detected automatically but with user- 239s defined refining of offsets enabled, they must 239s be provided by the user through an ASCII file 239s containing one line per anchor point with each 239s line consisting of its x and y coordinate (in 239s pixels). This file is ignored with user-defined 239s refining of offsets disabled. (str; default: 239s 'NONE') 239s xcorr: If user-defined refining of offsets is enabled a 239s cross-correlation of the images is performed. In 239s order to speed up this process, this cross- 239s correlation is performed only on smaller 239s rectangles around the anchor points. The first 239s two parameters is the half-size of this 239s rectangle in pixels. The second pair is the 239s maximum shift in x and y (pixels) evaluated by 239s the cross-correlation on the rectangle. Used 239s only if user-defined refining of offsets is 239s enabled. (str; default: '10-10-25-25') 239s combine_method: Combine images using one of: 1) Onto the first 239s image (first); 2) Their union (union); 3) Their 239s intersection (inter). NB: Only the 239s 'first'-method produces an image product with 239s WCS coordinates. A successful 'first'-method 239s always produces a combined image with dimensions 239s equal to those of the input images. For the 239s 'union'-method the result image is at least as 239s large as the input images while for the 239s 'inter'-method the result image is at most as 239s large as the input images (str; default: 239s 'union') 239s destripe_iterations: Max number of destriping iterations (0 to 239s disable destriping). Horizontal destriping is 239s done first and if no horizontal striping is 239s detected, vertical destriping is performed (int; 239s default: 15) 239s destripe_morpho: Destripe with morphological cleaning (bool; 239s default: False) 239s eccmax: The maximum eccentricity allowed in the 239s combination of the three (in parallel 239s nod/chopping) or four (in perpendicular 239s nod/chopping) beams. In parallel mode, three 239s perfectly aligned points spaced with the chopnod 239s throw will have eccentricity 0, while in 239s perpedicular mode a square with the chopnod 239s throw as the side length will have eccentricity 239s 0 (float; default: 0.25) 239s Author: Lars Lundin 239s 239s 239s autopkgtest [23:49:18]: test test-recipe.py: -----------------------] 240s test-recipe.py PASS (superficial) 240s autopkgtest [23:49:19]: test test-recipe.py: - - - - - - - - - - results - - - - - - - - - - 240s autopkgtest [23:49:19]: @@@@@@@@@@@@@@@@@@@@ summary 240s test-recipe.py PASS (superficial) 254s Creating nova instance adt-noble-ppc64el-cpl-plugin-visir-20240418-234518-juju-7f2275-prod-proposed-migration-environment-2-ffef072a-5b53-471a-8121-7a4c3327de97 from image adt/ubuntu-noble-ppc64el-server-20240418.img (UUID eb57e9e5-70fe-4878-ae85-dd88e864cb24)...