astropy / astroquery

Functions and classes to access online data resources. Maintainers: @keflavich and @bsipocz and @ceb8
http://astroquery.readthedocs.org/en/latest/
BSD 3-Clause "New" or "Revised" License
706 stars 399 forks source link

Test failures with remote data #724

Closed bsipocz closed 5 years ago

bsipocz commented 8 years ago

[EDIT]: see updated failure reports in the comments below. The labels are updated accordingly, but I won't change the original description here.


There are quite a few failing tests with remote data:

============================= test session starts ==============================
platform darwin -- Python 3.4.5, pytest-2.8.3, py-1.4.30, pluggy-0.3.1

Running tests with astroquery version 0.3.3.dev3339.
Running tests in lib.macosx-10.10-x86_64-3.4/astroquery docs.

Date: 2016-08-10T13:06:06

Platform: Darwin-14.5.0-x86_64-i386-64bit

Executable: /Users/bsipocz/.virtualenvs/astropy-dev/bin/python3

Full Python Version: 
3.4.5 (default, Jul  1 2016, 17:54:32) 
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.1.76)]

encodings: sys: utf-8, locale: UTF-8, filesystem: utf-8
byteorder: little
float info: dig: 15, mant_dig: 15

Numpy: 1.11.1
Matplotlib: 1.5.1
Pandas: 0.18.0
Astropy: 1.3.dev15925
APLpy: 1.0
pyregion: 1.1.4
Using Astropy options: remote_data.

rootdir: /private/var/folders/dc/hsm7tqpx2d57n7vb3k1l81xw0000gq/T/astroquery-test-5i7gk5rs, inifile: setup.cfg
plugins: cov-2.2.0, html-1.8.0, mpl-0.5, selenium-1.2.1, variables-1.4, xdist-1.14
collected 780 items 

astroquery/alfalfa/tests/test_alfalfa.py ...
astroquery/alma/tests/test_alma.py ......
astroquery/alma/tests/test_alma_remote.py ..FFFFF.
astroquery/alma/tests/test_alma_utils.py ..F
astroquery/atomic/tests/test_atomic.py ....
astroquery/atomic/tests/test_atomic_remote.py ....
astroquery/besancon/tests/test_besancon.py ....
astroquery/data/README.rst .
astroquery/eso/tests/test_eso.py ..
astroquery/eso/tests/test_eso_remote.py F..F..ss.......................
astroquery/fermi/tests/test_fermi.py ....
astroquery/gama/tests/test_gama.py ..
astroquery/gama/tests/test_gama_remote.py ..
astroquery/heasarc/tests/test_heasarc_remote.py .
astroquery/ibe/tests/test_ibe.py ......
astroquery/ibe/tests/test_ibe_remote.py ..
astroquery/irsa/tests/test_irsa.py .............................
astroquery/irsa/tests/test_irsa_remote.py ......
astroquery/irsa_dust/tests/test_irsa_dust.py ..................................................................
astroquery/irsa_dust/tests/test_irsa_dust_remote.py ..........................................
astroquery/lamda/tests/test_lamda.py .
astroquery/lamda/tests/test_lamda_remote.py .
astroquery/lcogt/tests/test_lcogt.py .............................
astroquery/lcogt/tests/test_lcogt_remote.py FFFFFFFF
astroquery/magpis/tests/test_magpis.py ...x
astroquery/magpis/tests/test_magpis_remote.py ..
astroquery/nasa_ads/tests/test_nasaads.py F
astroquery/ned/tests/test_ned.py ..........................
astroquery/ned/tests/test_ned_remote.py ....................
astroquery/nist/tests/test_nist.py ...
astroquery/nist/tests/test_nist_remote.py ..
astroquery/nrao/tests/test_nrao.py ..
astroquery/nrao/tests/test_nrao_remote.py ..
astroquery/nvas/tests/test_nvas.py ........
astroquery/nvas/tests/test_nvas_remote.py ...
astroquery/ogle/tests/test_ogle.py ...
astroquery/open_exoplanet_catalogue/utils.py ..
astroquery/open_exoplanet_catalogue/tests/test_open_exoplanet_catalogue_local.py .
astroquery/open_exoplanet_catalogue/tests/test_open_exoplanet_catalogue_remote.py .
astroquery/sdss/tests/test_sdss.py .................................xxxxxxxxxxx..................................xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...xxxxxxxxxxx.......................
astroquery/sdss/tests/test_sdss_remote.py ............xx..
astroquery/sha/tests/test_sha.py .....
astroquery/simbad/core.py ....
astroquery/simbad/tests/test_simbad.py ........................................................
astroquery/simbad/tests/test_simbad_remote.py .........................
astroquery/skyview/tests/test_skyview.py ..
astroquery/skyview/tests/test_skyview_remote.py ..FFFFFFFFFFFFFFFFFF.
astroquery/splatalogue/tests/test_splatalogue.py ..........
astroquery/splatalogue/tests/test_utils.py ...
astroquery/template_module/tests/test_module.py .
astroquery/template_module/tests/test_module_remote.py .
astroquery/tests/test_internet.py .
astroquery/ukidss/tests/test_ukidss.py ...........
astroquery/ukidss/tests/test_ukidss_remote.py ......
astroquery/utils/commons.py .
astroquery/utils/url_helpers.py .
astroquery/utils/tests/test_url_helpers.py .
astroquery/utils/tests/test_utils.py .......................
astroquery/vizier/tests/test_vizier.py ............................
astroquery/vizier/tests/test_vizier_remote.py ..............
astroquery/xmatch/tests/test_xmatch.py .....
astroquery/xmatch/tests/test_xmatch_remote.py ....
../docs/api.rst .
../docs/gallery.rst .
../docs/index.rst .
../docs/query.rst .
../docs/release_notice_v0.2.rst .
../docs/template.rst .
../docs/testing.rst .
../docs/utils.rst .
../docs/alfalfa/alfalfa.rst .
../docs/alma/alma.rst .
../docs/atomic/atomic.rst .
../docs/besancon/besancon.rst .
../docs/cosmosim/cosmosim.rst .
../docs/eso/eso.rst .
../docs/fermi/fermi.rst .
../docs/gama/gama.rst .
../docs/heasarc/heasarc.rst .
../docs/ibe/ibe.rst .
../docs/irsa/irsa.rst .
../docs/irsa/irsa_dust.rst .
../docs/lamda/lamda.rst .
../docs/magpis/magpis.rst .
../docs/nasa_ads/nasa_ads.rst .
../docs/ned/ned.rst .
../docs/nist/nist.rst .
../docs/nrao/nrao.rst .
../docs/nvas/nvas.rst .
../docs/ogle/ogle.rst .
../docs/open_exoplanet_catalogue/open_exoplanet_catalogue.rst .
../docs/sdss/sdss.rst .
../docs/sha/sha.rst .
../docs/simbad/simbad.rst .
../docs/skyview/skyview.rst .
../docs/splatalogue/splatalogue.rst .
../docs/ukidss/ukidss.rst .
../docs/vizier/vizier.rst .
../docs/xmatch/xmatch.rst .

=================================== FAILURES ===================================
...
======== 35 failed, 674 passed, 2 skipped, 69 xfailed in 688.13 seconds ========

Detailed log is here: https://gist.github.com/bsipocz/f4951ae7d5060611967db312ed1745d3

bsipocz commented 8 years ago

LCOGT changes are due to remote api changes, see #725, but that would still leave us with 27 failing tests.

bsipocz commented 8 years ago

The eso fails were fixed in #729 while the skyview ones were fixed in #730.

bsipocz commented 8 years ago

Remote failures are down to 7, 6 from alma and one from ads. @keflavich - could you have a look at the alma ones?

bsipocz commented 7 years ago

There are still 10 tests failing with dev v0.3.4, in alma, eso, nasa_ads, vamdc and xmatch (the test were run a few days before they got pasted in here). Details are below:

============================= test session starts ==============================
platform darwin -- Python 2.7.12, pytest-2.8.3, py-1.4.30, pluggy-0.3.1

Running tests with astroquery version 0.3.4.dev3548.
Running tests in lib.macosx-10.10-x86_64-2.7/astroquery docs.

Date: 2016-11-12T17:43:42

Platform: Darwin-14.5.0-x86_64-i386-64bit

Executable: /Users/bsipocz/.virtualenvs/astropy-dev/bin/python2

Full Python Version: 
2.7.12 (default, Jul  1 2016, 17:29:18) 
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.1.76)]

encodings: sys: ascii, locale: UTF-8, filesystem: utf-8, unicode bits: 15
byteorder: little
float info: dig: 15, mant_dig: 15

Numpy: 1.11.2
Matplotlib: 1.5.1
Astropy: 1.3.dev16384
APLpy: 2.0.dev843
pyregion: 1.1.5.dev192
Using Astropy options: remote_data.

rootdir: /private/var/folders/dc/hsm7tqpx2d57n7vb3k1l81xw0000gq/T/astroquery-test-27nxtc, inifile: setup.cfg
plugins: capturelog-0.7, cov-2.2.1, html-1.8.0, mpl-0.5, selenium-1.2.1, variables-1.4
collected 803 items

astroquery/alma/tests/test_alma_remote.py ..FFFFF.
astroquery/alma/tests/test_alma_utils.py ..F
astroquery/eso/tests/test_eso_remote.py .....Fss.........................
astroquery/nasa_ads/tests/test_nasaads.py F
astroquery/vamdc/tests/test_module_remote.py F
astroquery/xmatch/tests/test_xmatch_remote.py ..F.
=================================== FAILURES =================================== ______________________________ TestAlma.test_m83 _______________________________ self = temp_dir = '/var/folders/dc/hsm7tqpx2d57n7vb3k1l81xw0000gq/T/tmp28GIox' ``` def test_m83(self, temp_dir): alma = Alma() alma.cache_location = temp_dir m83_data = alma.query_object('M83') uids = np.unique(m83_data['Member ous id']) link_list = alma.stage_data(uids) # On Feb 8, 2016 there were 83 hits. This number should never go down. # Except it has. On May 18, 2016, there were 47. assert len(link_list) >= 47 # test re-staging with pytest.raises(requests.HTTPError) as ex: ``` > ``` > link_list = alma.stage_data(uids) > ``` > > E Failed: DID NOT RAISE astroquery/alma/tests/test_alma_remote.py:76: Failed --------------------------------- Captured log --------------------------------- connectionpool.py 214 INFO Starting new HTTP connection (1): almascience.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 0 connectionpool.py 214 INFO Starting new HTTP connection (1): almascience.eso.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 309 connectionpool.py 805 INFO Starting new HTTPS connection (1): almascience.eso.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/ HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/ HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?source_name_resolver=M83&field=source_name_resolver HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?science_observations=%3D%25TARGET%25&field=science_observations HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?field=result_view&result_view=raw HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?field=format&format=VOTABLE HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?field=public_data&public_data=public HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?download=true&field=download HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/?source_name_resolver=M83&science_observations=%3D%25TARGET%25&result_view=raw&format=VOTABLE&public_data=public&download=true HTTP/1.1" 200 None core.py 221 INFO Staging files... connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "POST /rh/submission HTTP/1.1" 301 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/checkAuthenticationStatus/b00f1d15-d4c5-4e0e-9044-a04c2729982c/submission HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/submission/b00f1d15-d4c5-4e0e-9044-a04c2729982c HTTP/1.1" 301 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449 HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449 HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 83357 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 105264 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 105264 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 105264 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708427449/summary HTTP/1.1" 200 112827 core.py 221 INFO Staging files... connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "POST /rh/checkAuthenticationStatus/b00f1d15-d4c5-4e0e-9044-a04c2729982c/submission HTTP/1.1" 405 369 core.py 242 WARNING Error 405 received. If you have previously staged the same UIDs, the result returned is probably correct, otherwise you may need to create a fresh astroquery.Alma instance. ----------------------------- Captured stdout call ----------------------------- INFO: Staging files... [astroquery.alma.core] .........................................................................................................................................................................................INFO: Staging files... [astroquery.alma.core] ----------------------------- Captured stderr call ----------------------------- WARNING: Error 405 received. If you have previously staged the same UIDs, the result returned is probably correct, otherwise you may need to create a fresh astroquery.Alma instance. [astroquery.alma.core] ___________________________ TestAlma.test_stage_data ___________________________ self = temp_dir = '/var/folders/dc/hsm7tqpx2d57n7vb3k1l81xw0000gq/T/tmpJd5vsQ' ``` def test_stage_data(self, temp_dir): alma = Alma() alma.cache_location = temp_dir result_s = alma.query_object('Sgr A*') assert b'2011.0.00217.S' in result_s['Project code'] ``` > ``` > assert b'uid://A002/X47ed8e/X3cd' in result_s['Asdm uid'] > ``` > > E assert 'uid://A002/X47ed8e/X3cd' in temp_dir = '/var/folders/dc/hsm7tqpx2d57n7vb3k1l81xw0000gq/T/tmpAZ23ro' ``` def test_doc_example(self, temp_dir): alma = Alma() alma.cache_location = temp_dir alma2 = Alma() alma2.cache_location = temp_dir m83_data = alma.query_object('M83') # the order can apparently sometimes change ``` > ``` > assert set(m83_data.colnames) == set(all_colnames) > ``` > > E assert set(['Asdm ui...ous id', ...]) == set(['Asdm uid...ration', ...]) > E Extra items in the left set: > E 'Group ous id' > E 'Pub' > E Extra items in the right set: > E 'QA0 Status' > E 'Project abstract' > E Use -v to get the full diff astroquery/alma/tests/test_alma_remote.py:112: AssertionError --------------------------------- Captured log --------------------------------- connectionpool.py 214 INFO Starting new HTTP connection (1): almascience.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 0 connectionpool.py 214 INFO Starting new HTTP connection (1): almascience.eso.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 309 connectionpool.py 805 INFO Starting new HTTPS connection (1): almascience.eso.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/ HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/ HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?source_name_resolver=M83&field=source_name_resolver HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?science_observations=%3D%25TARGET%25&field=science_observations HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?field=result_view&result_view=raw HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?field=format&format=VOTABLE HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?field=public_data&public_data=public HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?download=true&field=download HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/?source_name_resolver=M83&science_observations=%3D%25TARGET%25&result_view=raw&format=VOTABLE&public_data=public&download=true HTTP/1.1" 200 None _____________________________ TestAlma.test_query ______________________________ self = temp_dir = '/var/folders/dc/hsm7tqpx2d57n7vb3k1l81xw0000gq/T/tmpS4DssH' ``` def test_query(self, temp_dir): alma = Alma() alma.cache_location = temp_dir result = alma.query(payload={'start_date': '<11-11-2011'}, public=False, science=True) # now 535? ``` > ``` > assert len(result) == 621 > ``` > > E assert 159 == 621 > E + where 159 = len(\n Project code Source name ..... Y 2\n2011.0.00780.S HD21997 ... Y 2) astroquery/alma/tests/test_alma_remote.py:143: AssertionError --------------------------------- Captured log --------------------------------- connectionpool.py 214 INFO Starting new HTTP connection (1): almascience.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 0 connectionpool.py 214 INFO Starting new HTTP connection (1): almascience.eso.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 309 connectionpool.py 805 INFO Starting new HTTPS connection (1): almascience.eso.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/ HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/ HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?download=true&field=download HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?science_observations=%3D%25TARGET%25&field=science_observations HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?field=result_view&result_view=raw HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?field=start_date&start_date=%3C11-11-2011 HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?field=format&format=VOTABLE HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/?download=true&science_observations=%3D%25TARGET%25&result_view=raw&start_date=%3C11-11-2011&format=VOTABLE HTTP/1.1" 200 None _____________________________ TestAlma.test_cycle1 _____________________________ self = temp_dir = '/var/folders/dc/hsm7tqpx2d57n7vb3k1l81xw0000gq/T/tmplFx1m7' ``` @pytest.mark.bigdata def test_cycle1(self, temp_dir): # About 500 MB alma = Alma() alma.cache_location = temp_dir target = 'NGC4945' project_code = '2012.1.00912.S' payload = {'project_code': project_code, 'source_name_alma': target, } result = alma.query(payload=payload) assert len(result) == 1 # Need new Alma() instances each time a1 = alma() uid_url_table_mous = a1.stage_data(result['Member ous id']) a2 = alma() uid_url_table_asdm = a2.stage_data(result['Asdm uid']) # I believe the fixes as part of #495 have resulted in removal of a # redundancy in the table creation, so a 1-row table is OK here. # A 2-row table may not be OK any more, but that's what it used to # be... assert len(uid_url_table_asdm) == 1 ``` > ``` > assert len(uid_url_table_mous) == 2 > ``` > > E assert 3 == 2 > E + where 3 = len(
\n ...uid___A002_X5ca961_X17f/2012.1.00912.S_uid___A002_X5ca961_X17f.asdm.sdm.tar ...) astroquery/alma/tests/test_alma_remote.py:169: AssertionError --------------------------------- Captured log --------------------------------- connectionpool.py 214 INFO Starting new HTTP connection (1): almascience.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 0 connectionpool.py 214 INFO Starting new HTTP connection (1): almascience.eso.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 309 connectionpool.py 805 INFO Starting new HTTPS connection (1): almascience.eso.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/ HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/ HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?science_observations=%3D%25TARGET%25&field=science_observations HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?field=result_view&result_view=raw HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?field=format&format=VOTABLE HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?field=source_name_alma&source_name_alma=NGC4945 HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?field=public_data&public_data=public HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?download=true&field=download HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?field=project_code&project_code=2012.1.00912.S HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/?science_observations=%3D%25TARGET%25&result_view=raw&format=VOTABLE&source_name_alma=NGC4945&public_data=public&download=true&project_code=2012.1.00912.S HTTP/1.1" 200 None core.py 221 INFO Staging files... connectionpool.py 214 INFO Starting new HTTP connection (1): almascience.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 0 connectionpool.py 214 INFO Starting new HTTP connection (1): almascience.eso.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 309 connectionpool.py 805 INFO Starting new HTTPS connection (1): almascience.eso.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/ HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "POST /rh/submission HTTP/1.1" 301 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/checkAuthenticationStatus/777653e1-a090-4469-ab98-40b2e6d9e954/submission HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/submission/777653e1-a090-4469-ab98-40b2e6d9e954 HTTP/1.1" 301 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708643384 HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708643384 HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708643384/summary HTTP/1.1" 200 79 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708643384/summary HTTP/1.1" 200 3172 core.py 221 INFO Staging files... connectionpool.py 214 INFO Starting new HTTP connection (1): almascience.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 0 connectionpool.py 214 INFO Starting new HTTP connection (1): almascience.eso.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 309 connectionpool.py 805 INFO Starting new HTTPS connection (1): almascience.eso.org connectionpool.py 401 DEBUG "GET /aq HTTP/1.1" 302 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/ HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "POST /rh/submission HTTP/1.1" 301 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/checkAuthenticationStatus/a06b34d2-22c6-4992-a6f7-67a7347eca50/submission HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/submission/a06b34d2-22c6-4992-a6f7-67a7347eca50 HTTP/1.1" 301 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708651521 HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708651521 HTTP/1.1" 200 None connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /rh/requests/anonymous/1708651521/summary HTTP/1.1" 200 613 ----------------------------- Captured stdout call ----------------------------- INFO: Staging files... [astroquery.alma.core] ..INFO: Staging files... [astroquery.alma.core] . ____________________________ test_make_finder_chart ____________________________ ``` @remote_data @pytest.mark.skipif('not pyregion_OK') def test_make_finder_chart(): result = utils.make_finder_chart('Eta Carinae', 3 * u.arcmin, ``` > ``` > 'Eta Carinae') > ``` astroquery/alma/tests/test_alma_utils.py:70: --- astroquery/alma/utils.py:175: in make_finder_chart *_kwargs) astroquery/alma/utils.py:215: in make_finder_chart_from_image *_kwargs) --- image = catalog =
Project code Source name RA ...... Y 0 2013.1.00661.S Eta_Carinae 161.26489851037334 ... Y 0 save_prefix = 'Eta Carinae', alma_kwargs = {'public': False, 'science': False} bands = 3 6 7 9 private_band_colors = ('maroon', 'red', 'orange', 'coral', 'brown', 'yellow', ...) public_band_colors = ('blue', 'cyan', 'green', 'turquoise', 'teal', 'darkslategrey', ...) integration_time_contour_levels = array([ 1., 2., 4., 8., 16., 32.]) save_masks = False, use_saved_masks = False ``` def make_finder_chart_from_image_and_catalog(image, catalog, save_prefix, alma_kwargs={'public': False, 'science': False}, bands=(3,4,5,6,7,8,9), private_band_colors=('maroon', 'red', 'orange', 'coral', 'brown', 'yellow', 'mediumorchid'), public_band_colors=('blue', 'cyan', 'green', 'turquoise', 'teal', 'darkslategrey', 'chartreuse'), integration_time_contour_levels=np.logspace(0, 5, base=2, num=6), save_masks=False, use_saved_masks=False, ): """ Create a "finder chart" showing where ALMA has pointed in various bands, including different color coding for public/private data and each band. Contours are set at various integration times. Parameters ---------- image : fits.PrimaryHDU or fits.ImageHDU object The image to overlay onto catalog : astropy.Table object The catalog of ALMA observations save_prefix : str The prefix for the output files. Both .reg and .png files will be written. The .reg files will have the band numbers and public/private appended, while the .png file will be named prefix_almafinderchart.png alma_kwargs : dict Keywords to pass to the ALMA archive when querying. private_band_colors / public_band_colors : tuple A tuple or list of colors to be associated with private/public observations in the various bands integration_time_contour_levels : list or np.array The levels at which to draw contours in units of seconds. Default is log-spaced (2^n) seconds: [ 1., 2., 4., 8., 16., 32.]) """ import aplpy import pyregion from pyregion.parser_helper import Shape primary_beam_radii = [ approximate_primary_beam_sizes(row['Frequency support']) for row in catalog] all_bands = bands bands = used_bands = np.unique(catalog['Band']) log.info("The bands used include: {0}".format(used_bands)) band_colors_priv = dict(zip(all_bands, private_band_colors)) band_colors_pub = dict(zip(all_bands, public_band_colors)) log.info("Color map private: {0}".format(band_colors_priv)) log.info("Color map public: {0}".format(band_colors_pub)) if use_saved_masks: hit_mask_public = {} hit_mask_private = {} for band in bands: pubfile = '{0}_band{1}_public.fits'.format(save_prefix, band) if os.path.exists(pubfile): hit_mask_public[band] = fits.getdata(pubfile) privfile = '{0}_band{1}_private.fits'.format(save_prefix, band) if os.path.exists(privfile): hit_mask_private[band] = fits.getdata(privfile) else: today = np.datetime64('today') private_circle_parameters = { band: [(row['RA'], row['Dec'], np.mean(rad).to(u.deg).value) for row, rad in zip(catalog, primary_beam_radii) if not row['Release date'] or (np.datetime64(row['Release date']) > today and row['Band'] == band)] for band in bands} public_circle_parameters = { band: [(row['RA'], row['Dec'], np.mean(rad).to(u.deg).value) for row, rad in zip(catalog, primary_beam_radii) if row['Release date'] and (np.datetime64(row['Release date']) <= today and row['Band'] == band)] for band in bands} unique_private_circle_parameters = { band: np.array(list(set(private_circle_parameters[band]))) for band in bands} unique_public_circle_parameters = { band: np.array(list(set(public_circle_parameters[band]))) for band in bands} release_dates = np.array(catalog['Release date'], dtype=np.datetime64) for band in bands: log.info("BAND {0}".format(band)) privrows = sum((catalog['Band'] == band) & (release_dates > today)) pubrows = sum((catalog['Band'] == band) & (release_dates <= today)) log.info("PUBLIC: Number of rows: {0}. Unique pointings: " "{1}".format(pubrows, len(unique_public_circle_parameters[band]))) log.info("PRIVATE: Number of rows: {0}. Unique pointings: " "{1}".format(privrows, len(unique_private_circle_parameters[band]))) prv_regions = { band: pyregion.ShapeList([Shape('circle', [x, y, r]) for x, y, r in private_circle_parameters[band]]) for band in bands} pub_regions = { band: pyregion.ShapeList([Shape('circle', [x, y, r]) for x, y, r in public_circle_parameters[band]]) for band in bands} for band in bands: circle_pars = np.vstack( [x for x in (private_circle_parameters[band], public_circle_parameters[band]) if any(x)]) for r, (x, y, c) in zip(prv_regions[band] + pub_regions[band], circle_pars): r.coord_format = 'fk5' r.coord_list = [x, y, c] r.attr = ([], {'color': 'green', 'dash': '0 ', 'dashlist': '8 3', 'delete': '1 ', 'edit': '1 ', 'fixed': '0 ', 'font': '"helvetica 10 normal roman"', 'highlite': '1 ', 'include': '1 ', 'move': '1 ', 'select': '1', 'source': '1', 'text': '', 'width': '1 '}) if prv_regions[band]: prv_regions[band].write( '{0}_band{1}_private.reg'.format(save_prefix, band)) if pub_regions[band]: pub_regions[band].write( '{0}_band{1}_public.reg'.format(save_prefix, band)) prv_mask = { band: fits.PrimaryHDU( prv_regions[band].get_mask(image).astype('int'), header=image.header) for band in bands if prv_regions[band]} pub_mask = { band: fits.PrimaryHDU( pub_regions[band].get_mask(image).astype('int'), header=image.header) for band in bands if pub_regions[band]} hit_mask_public = {band: np.zeros_like(image.data) for band in pub_mask} hit_mask_private = {band: np.zeros_like(image.data) for band in prv_mask} mywcs = wcs.WCS(image.header) for band in bands: log.debug('Band: {0}'.format(band)) for row, rad in ProgressBar(list(zip(catalog, primary_beam_radii))): shape = Shape('circle', (row['RA'], row['Dec'], np.mean(rad).to(u.deg).value)) shape.coord_format = 'fk5' shape.coord_list = (row['RA'], row['Dec'], np.mean(rad).to(u.deg).value) shape.attr = ([], {'color': 'green', 'dash': '0 ', 'dashlist': '8 3 ', 'delete': '1 ', 'edit': '1 ', 'fixed': '0 ', 'font': '"helvetica 10 normal roman"', 'highlite': '1 ', 'include': '1 ', 'move': '1 ', 'select': '1 ', 'source': '1', 'text': '', 'width': '1 '}) log.debug('{1} {2}: {0}' .format(shape, row['Release date'], row['Band'])) if not row['Release date']: reldate = False else: reldate = np.datetime64(row['Release date']) if (((not reldate) or (reldate > today)) and (row['Band'] == band) and (band in prv_mask) ): # private: release_date = 'sometime' says when it will be released (xlo, xhi, ylo, yhi), mask = pyregion_subset( shape, hit_mask_private[band], mywcs) log.debug("{0},{1},{2},{3}: {4}" .format(xlo, xhi, ylo, yhi, mask.sum())) hit_mask_private[band][ylo:yhi, xlo:xhi] += row['Integration']*mask elif (reldate and (reldate <= today) and (row['Band'] == band) and (band in pub_mask)): # public: release_date = '' should mean already released (xlo, xhi, ylo, yhi), mask = pyregion_subset( shape, hit_mask_public[band], mywcs) log.debug("{0},{1},{2},{3}: {4}" .format(xlo, xhi, ylo, yhi, mask.sum())) hit_mask_public[band][ylo:yhi, xlo:xhi] += row['Integration']*mask if save_masks: for band in bands: if band in hit_mask_public: hdu = fits.PrimaryHDU(data=hit_mask_public[band], header=image.header) hdu.writeto('{0}_band{1}_public.fits'.format(save_prefix, band), clobber=True) if band in hit_mask_private: hdu = fits.PrimaryHDU(data=hit_mask_private[band], header=image.header) hdu.writeto('{0}_band{1}_private.fits'.format(save_prefix, band), clobber=True) fig = aplpy.FITSFigure(fits.HDUList(image), convention='calabretta') fig.show_grayscale(stretch='arcsinh') for band in bands: if band in hit_mask_public: fig.show_contour(fits.PrimaryHDU(data=hit_mask_public[band], header=image.header), levels=integration_time_contour_levels, ``` > ``` > colors=[band_colors_pub[band]] * len(integration_time_contour_levels), > convention='calabretta') > ``` > > E KeyError: '3' astroquery/alma/utils.py:444: KeyError --------------------------------- Captured log --------------------------------- utils.py 167 INFO Querying > for images connectionpool.py 214 INFO Starting new HTTP connection (1): skyview.gsfc.nasa.gov connectionpool.py 401 DEBUG "GET /current/cgi/basicform.pl HTTP/1.1" 200 None connectionpool.py 401 DEBUG "GET /current/cgi/runquery.pl?Sampler=_skip_&Deedger=_skip_&lut=colortables%2Fb-w-linear.bin&projection=Tan&Position=161.265+-59.6844&float=on&coordinates=J2000&scaling=Log+Sqrt+Linear+HistEq+LogLog&grid=_skip_&size=0.05&resolver=SIMBAD-NED&gridlabels=0&survey=2MASS-K&CatalogIDs=on&pixels=500&imscale=0.05 HTTP/1.1" 200 None utils.py 209 INFO Querying ALMA around Eta Carinae connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?download=true&field=download HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?field=result_view&result_view=raw HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?field=ra_dec&ra_dec=10%3A45%3A03.5493+-59%3A41%3A03.9652%2C+0.05 HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/validate?field=format&format=VOTABLE HTTP/1.1" 200 0 connectionpool.py 249 INFO Resetting dropped connection: almascience.eso.org connectionpool.py 401 DEBUG "GET /aq/?download=true&result_view=raw&ra_dec=10%3A45%3A03.5493+-59%3A41%3A03.9652%2C+0.05&format=VOTABLE HTTP/1.1" 200 None ## utils.py 281 INFO The bands used include: Band 3 6 7 9 utils.py 284 INFO Color map private: {3: 'maroon', 4: 'red', 5: 'orange', 6: 'coral', 7: 'brown', 8: 'yellow', 9: 'mediumorchid'} utils.py 285 INFO Color map public: {3: 'blue', 4: 'cyan', 5: 'green', 6: 'turquoise', 7: 'teal', 8: 'darkslategrey', 9: 'chartreuse'} utils.py 326 INFO BAND 3 utils.py 333 INFO PUBLIC: Number of rows: 2. Unique pointings: 2 utils.py 336 INFO PRIVATE: Number of rows: 0. Unique pointings: 0 utils.py 326 INFO BAND 6 utils.py 333 INFO PUBLIC: Number of rows: 2. Unique pointings: 2 utils.py 336 INFO PRIVATE: Number of rows: 0. Unique pointings: 0 utils.py 326 INFO BAND 7 utils.py 333 INFO PUBLIC: Number of rows: 1. Unique pointings: 1 utils.py 336 INFO PRIVATE: Number of rows: 0. Unique pointings: 0 utils.py 326 INFO BAND 9 utils.py 333 INFO PUBLIC: Number of rows: 1. Unique pointings: 1 utils.py 336 INFO PRIVATE: Number of rows: 0. Unique pointings: 0 core.py 713 INFO Auto-setting vmin to 5.832e+02 core.py 718 INFO Auto-setting vmax to 1.029e+04 ----------------------------- Captured stdout call ----------------------------- INFO: Querying > for images [astroquery.alma.utils] Downloading http://skyview.gsfc.nasa.gov/tempspace/fits/skv2690306149142.fits [Done] INFO: Querying ALMA around Eta Carinae [astroquery.alma.utils] ## INFO: The bands used include: Band 3 6 7 9 [astroquery.alma.utils] INFO: Color map private: {3: 'maroon', 4: 'red', 5: 'orange', 6: 'coral', 7: 'brown', 8: 'yellow', 9: 'mediumorchid'} [astroquery.alma.utils] INFO: Color map public: {3: 'blue', 4: 'cyan', 5: 'green', 6: 'turquoise', 7: 'teal', 8: 'darkslategrey', 9: 'chartreuse'} [astroquery.alma.utils] INFO: BAND 3 [astroquery.alma.utils] INFO: PUBLIC: Number of rows: 2. Unique pointings: 2 [astroquery.alma.utils] INFO: PRIVATE: Number of rows: 0. Unique pointings: 0 [astroquery.alma.utils] INFO: BAND 6 [astroquery.alma.utils] INFO: PUBLIC: Number of rows: 2. Unique pointings: 2 [astroquery.alma.utils] INFO: PRIVATE: Number of rows: 0. Unique pointings: 0 [astroquery.alma.utils] INFO: BAND 7 [astroquery.alma.utils] INFO: PUBLIC: Number of rows: 1. Unique pointings: 1 [astroquery.alma.utils] INFO: PRIVATE: Number of rows: 0. Unique pointings: 0 [astroquery.alma.utils] INFO: BAND 9 [astroquery.alma.utils] INFO: PUBLIC: Number of rows: 1. Unique pointings: 1 [astroquery.alma.utils] INFO: PRIVATE: Number of rows: 0. Unique pointings: 0 [astroquery.alma.utils] INFO: Auto-setting vmin to 5.832e+02 [aplpy.core] INFO: Auto-setting vmax to 1.029e+04 [aplpy.core] ________________________ TestEso.test_list_instruments _________________________ self = ``` def test_list_instruments(self): # If this test fails, we may simply need to update it inst = set(Eso.list_instruments(cache=False)) # we only care about the sets matching ``` > ``` > assert set(inst) == set(instrument_list) > ``` > > E assert set(['amber',...iraffe', ...]) == set(['amber', ...iraffe', ...]) > E Extra items in the left set: > E 'gravity' > E Use -v to get the full diff astroquery/eso/tests/test_eso_remote.py:120: AssertionError --------------------------------- Captured log --------------------------------- connectionpool.py 214 INFO Starting new HTTP connection (1): archive.eso.org connectionpool.py 401 DEBUG "GET /cms/eso-data/instrument-specific-query-forms.html HTTP/1.1" 200 None _________________________________ test_simple __________________________________ ``` @remote_data def test_simple(): x = nasa_ads.ADS.query_simple( ``` > ``` > "^Persson Origin of water around deeply embedded low-mass protostars") > ``` astroquery/nasa_ads/tests/test_nasaads.py:8: --- astroquery/utils/class_or_instance.py:25: in f return self.fn(obj, _args, *_kwds) astroquery/nasa_ads/core.py:51: in query_simple response.raise_for_status() --- self = ``` def raise_for_status(self): """Raises stored :class:`HTTPError`, if one occurred.""" http_error_msg = '' if isinstance(self.reason, bytes): reason = self.reason.decode('utf-8', 'ignore') else: reason = self.reason if 400 <= self.status_code < 500: http_error_msg = u'%s Client Error: %s for url: %s' % (self.status_code, reason, self.url) elif 500 <= self.status_code < 600: http_error_msg = u'%s Server Error: %s for url: %s' % (self.status_code, reason, self.url) if http_error_msg: ``` > ``` > raise HTTPError(http_error_msg, response=self) > ``` > > E HTTPError: 503 Server Error: Service Temporarily Unavailable for url: http://adswww.harvard.edu/cgi-bin/basic_connect /sw/lib/python2.7/site-packages/requests/models.py:862: HTTPError --------------------------------- Captured log --------------------------------- connectionpool.py 214 INFO Starting new HTTP connection (1): adswww.harvard.edu connectionpool.py 401 DEBUG "POST /cgi-bin/basic_connect HTTP/1.1" 503 406 ______________________ TestVamdcClass.test_query_molecule ______________________ self = ``` def test_query_molecule(self): ``` > ``` > ch3oh = vamdc.core.VamdcClass().query_molecule('CH3OH') > ``` astroquery/vamdc/tests/test_module_remote.py:18: --- self = , doimport = True ``` def __init__(self, doimport=True): super(VamdcClass, self).__init__() if not doimport: # this is a hack to allow the docstrings to be produced without # importing the necessary modules return ``` > ``` > from vamdclib import nodes as vnodes > ``` > > E ImportError: No module named vamdclib astroquery/vamdc/core.py:51: ImportError ______________________________ test_xmatch_query _______________________________ xmatch = ``` @remote_data def test_xmatch_query(xmatch): with open(os.path.join(DATA_DIR, 'posList.csv')) as pos_list: table = xmatch.query( cat1=pos_list, cat2='vizier:II/246/out', max_distance=5 * arcsec, ``` > ``` > colRA1='ra', colDec1='dec') > ``` astroquery/xmatch/tests/test_xmatch_remote.py:44: --- astroquery/xmatch/core.py:61: in query colRA2, colDec2, cache=cache) astroquery/xmatch/core.py:87: in query_async timeout=self.TIMEOUT, cache=cache, **kwargs) astroquery/query.py:183: in _request response = query.from_cache(self.cache_location) astroquery/query.py:86: in from_cache request_file = self.request_file(cache_location) astroquery/query.py:82: in request_file fn = os.path.join(cache_location, self.hash() + ".pickle") astroquery/query.py:78: in hash self._hash = hashlib.sha224(pickle.dumps(request_key)).hexdigest() /sw/lib/python2.7/pickle.py:1380: in dumps Pickler(file, protocol).dump(obj) /sw/lib/python2.7/pickle.py:224: in dump self.save(obj) /sw/lib/python2.7/pickle.py:286: in save f(self, obj) # Call unbound method with explicit self /sw/lib/python2.7/pickle.py:568: in save_tuple save(element) /sw/lib/python2.7/pickle.py:286: in save f(self, obj) # Call unbound method with explicit self /sw/lib/python2.7/pickle.py:568: in save_tuple save(element) /sw/lib/python2.7/pickle.py:286: in save f(self, obj) # Call unbound method with explicit self /sw/lib/python2.7/pickle.py:568: in save_tuple save(element) /sw/lib/python2.7/pickle.py:306: in save rv = reduce(self.proto) --- self = proto = 0 ``` def _reduce_ex(self, proto): assert proto < 2 for base in self.__class__.__mro__: if hasattr(base, '__flags__') and not base.__flags__ & _HEAPTYPE: break else: base = object # not really reachable if base is object: state = None else: if base is self.__class__: ``` > ``` > raise TypeError, "can't pickle %s objects" % base.__name__ > ``` > > E TypeError: can't pickle file objects /Users/bsipocz/.virtualenvs/astropy-dev/lib/python2.7/copy_reg.py:70: TypeError 10 failed, 780 passed, 2 skipped, 11 xfailed, 1 pytest-warnings in 1791.69 seconds <\details>
bsipocz commented 7 years ago

eso is fixed with #786

bsipocz commented 7 years ago

the nasa_ads error seems to be a fluke, and went away

bsipocz commented 7 years ago

the vamdc failure is also solved (in #787), it was a small oversight and not a real failure.

keflavich commented 7 years ago

python3:

astroquery/alfalfa/tests/test_alfalfa.py ...
astroquery/alma/tests/test_alma.py ......
astroquery/alma/tests/test_alma_remote.py ........
astroquery/alma/tests/test_alma_utils.py ..F # see 790 - unsolvable?
astroquery/atomic/tests/test_atomic.py ....
astroquery/atomic/tests/test_atomic_remote.py ....
astroquery/besancon/tests/test_besancon.py ....
astroquery/esasky/tests/test_esasky.py ....
astroquery/esasky/tests/test_esasky_remote.py ....
astroquery/eso/tests/test_eso.py ..
astroquery/eso/tests/test_eso_remote.py ......ss..........................
astroquery/exoplanets/tests/test_params.py .........
astroquery/fermi/tests/test_fermi.py ....
astroquery/gama/tests/test_gama.py ..
astroquery/gama/tests/test_gama_remote.py ..
astroquery/heasarc/tests/test_heasarc_remote.py .
astroquery/hitran/tests/test_hitran.py .
astroquery/ibe/tests/test_ibe.py ......
astroquery/ibe/tests/test_ibe_remote.py ..
astroquery/irsa/tests/test_irsa.py .............................
astroquery/irsa/tests/test_irsa_remote.py ......
astroquery/irsa_dust/tests/test_irsa_dust.py ..................................................................
astroquery/irsa_dust/tests/test_irsa_dust_remote.py ..........................................
astroquery/lamda/tests/test_lamda.py .
astroquery/lamda/tests/test_lamda_remote.py .
astroquery/lcogt/tests/test_lcogt.py .............................
astroquery/lcogt/tests/test_lcogt_remote.py xxxxxxx
astroquery/magpis/tests/test_magpis.py ...x
astroquery/magpis/tests/test_magpis_remote.py ..
astroquery/nasa_ads/tests/test_nasaads.py .
astroquery/ned/tests/test_ned.py ..........................
astroquery/ned/tests/test_ned_remote.py ....................
astroquery/nist/tests/test_nist.py ...
astroquery/nist/tests/test_nist_remote.py ..
astroquery/nrao/tests/test_nrao.py ...
astroquery/nrao/tests/test_nrao_remote.py ...
astroquery/nvas/tests/test_nvas.py ........
astroquery/nvas/tests/test_nvas_remote.py ...
astroquery/ogle/tests/test_ogle.py ...
astroquery/open_exoplanet_catalogue/utils.py ..
astroquery/open_exoplanet_catalogue/tests/test_open_exoplanet_catalogue_local.py .
astroquery/open_exoplanet_catalogue/tests/test_open_exoplanet_catalogue_remote.py .
astroquery/sdss/tests/test_sdss.py .................................xxxxxxxxxxx..................................xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...xxxxxxxxxxx.......................
astroquery/sdss/tests/test_sdss_remote.py ............xx..
astroquery/sha/tests/test_sha.py .....
astroquery/simbad/core.py ....
astroquery/simbad/tests/test_simbad.py .........................................................
astroquery/simbad/tests/test_simbad_remote.py .........................
astroquery/skyview/tests/test_skyview.py ..
astroquery/skyview/tests/test_skyview_remote.py .........................
astroquery/splatalogue/tests/test_splatalogue.py ...........
astroquery/splatalogue/tests/test_utils.py ...
astroquery/template_module/tests/test_module.py .
astroquery/template_module/tests/test_module_remote.py .
astroquery/tests/test_internet.py .
astroquery/ukidss/tests/test_ukidss.py ...........
astroquery/ukidss/tests/test_ukidss_remote.py ......
astroquery/utils/commons.py .
astroquery/utils/url_helpers.py .
astroquery/utils/tests/test_url_helpers.py .
astroquery/utils/tests/test_utils.py .......................
astroquery/vamdc/tests/test_module_remote.py .
astroquery/vamdc/tests/test_vamdc_remote.py .
astroquery/vizier/tests/test_vizier.py ............................
astroquery/vizier/tests/test_vizier_remote.py ..............
astroquery/xmatch/tests/test_xmatch.py .....
astroquery/xmatch/tests/test_xmatch_remote.py ..F. # known, see #789

python 2:

astroquery/alfalfa/tests/test_alfalfa.py ...
astroquery/alma/tests/test_alma.py ......
astroquery/alma/tests/test_alma_remote.py .......F  # internal server error: OK
astroquery/alma/tests/test_alma_utils.py ..F
# ALMA: astroquery/alma/utils.py:422: IndexError --> https://bpaste.net/show/7912e21af100
astroquery/atomic/tests/test_atomic.py ....
astroquery/atomic/tests/test_atomic_remote.py ....
astroquery/besancon/tests/test_besancon.py ....
astroquery/esasky/tests/test_esasky.py ....
astroquery/esasky/tests/test_esasky_remote.py ....
astroquery/eso/tests/test_eso.py ..
astroquery/eso/tests/test_eso_remote.py ......ss..........................
astroquery/fermi/tests/test_fermi.py ....
astroquery/gama/tests/test_gama.py ..
astroquery/gama/tests/test_gama_remote.py ..
astroquery/heasarc/tests/test_heasarc_remote.py .
astroquery/hitran/tests/test_hitran.py .
astroquery/ibe/tests/test_ibe.py ......
astroquery/ibe/tests/test_ibe_remote.py ..
astroquery/irsa/tests/test_irsa.py .............................
astroquery/irsa/tests/test_irsa_remote.py ......
astroquery/irsa_dust/tests/test_irsa_dust.py ..................................................................
astroquery/irsa_dust/tests/test_irsa_dust_remote.py ..........................................
astroquery/lamda/tests/test_lamda.py .
astroquery/lamda/tests/test_lamda_remote.py .
astroquery/lcogt/tests/test_lcogt.py .............................
astroquery/lcogt/tests/test_lcogt_remote.py xxxxxxxx
astroquery/magpis/tests/test_magpis.py ...x
astroquery/magpis/tests/test_magpis_remote.py ..
astroquery/nasa_ads/tests/test_nasaads.py .
astroquery/ned/tests/test_ned.py ..........................
astroquery/ned/tests/test_ned_remote.py ....................
astroquery/nist/tests/test_nist.py ...
astroquery/nist/tests/test_nist_remote.py ..
astroquery/nrao/tests/test_nrao.py ...
astroquery/nrao/tests/test_nrao_remote.py ...
astroquery/nvas/tests/test_nvas.py ........
astroquery/nvas/tests/test_nvas_remote.py ...
astroquery/ogle/tests/test_ogle.py ...
astroquery/open_exoplanet_catalogue/utils.py ..
astroquery/open_exoplanet_catalogue/tests/test_open_exoplanet_catalogue_local.py .
astroquery/open_exoplanet_catalogue/tests/test_open_exoplanet_catalogue_remote.py .
astroquery/sdss/tests/test_sdss.py ...............................................................................................................................................................
astroquery/sdss/tests/test_sdss_remote.py ............xx..
astroquery/sha/tests/test_sha.py .....
astroquery/simbad/core.py ....
astroquery/simbad/tests/test_simbad.py .........................................................
astroquery/simbad/tests/test_simbad_remote.py .........................
astroquery/skyview/tests/test_skyview.py ..
astroquery/skyview/tests/test_skyview_remote.py .........................
astroquery/splatalogue/tests/test_splatalogue.py ...........
astroquery/splatalogue/tests/test_utils.py ...
astroquery/template_module/tests/test_module.py .
astroquery/template_module/tests/test_module_remote.py .
astroquery/tests/test_internet.py .
astroquery/ukidss/tests/test_ukidss.py ...........
astroquery/ukidss/tests/test_ukidss_remote.py ......
astroquery/utils/commons.py .
astroquery/utils/url_helpers.py .
astroquery/utils/tests/test_url_helpers.py .
astroquery/utils/tests/test_utils.py .......................
astroquery/vamdc/tests/test_module_remote.py F
astroquery/vamdc/tests/test_vamdc_remote.py F
# astroquery/vamdc/load_species_table.py:43: UnicodeEncodeError --> https://bpaste.net/show/16107420a996
# astroquery/vamdc/load_species_table.py:43: UnicodeEncodeError --> https://bpaste.net/show/4dbff5ee12bb
astroquery/vizier/tests/test_vizier.py ............................
astroquery/vizier/tests/test_vizier_remote.py ..............
astroquery/xmatch/tests/test_xmatch.py .....
astroquery/xmatch/tests/test_xmatch_remote.py ..F.
# /Users/adam/anaconda/envs/astropy27/lib/python2.7/copy_reg.py:70: TypeError --> https://bpaste.net/show/5fd09c34c529 # solved in https://github.com/astropy/astroquery/pull/789?
keflavich commented 7 years ago

I'm willing to just ignore the py2 VAMDC unicode errors. They're probably real but just a pain to deal with for now. Other than that, I think everything is as resolved as it can be, so it's time to try and cut that release...

bsipocz commented 7 years ago

Sounds good. vamdc didn't produce any problems for me locally two days ago on py2, so there is a chance that it's being a red herring.

bsipocz commented 7 years ago

xmatch failures were fixed in #789.

bsipocz commented 5 years ago

Closing this as we have new failures since instead of the ones listed in here, yet keeping the issue open is not helping.