Dask


In [ ]:
import dask

Eada

Search the registry


In [ ]:
import eada

In [1]:
def search(waveband, keywords=None, service='conesearch'):
    '''
    Search every 'service' in 'waveband', optionally matching 'keywords'
    '''
    registry='US'
    
    from pyvo import regsearch

    # Query the/a registry for everything
    try:
        records = regsearch(waveband=waveband,
                            keywords=keywords,
                            servicetype=service)
    except:
        print('RegSearch failed')
        return None
    
    num_records = len(records)

    print("Found {} catalogues.".format(num_records))

    if not num_records:
        return None

    return records

Query service (catalog) metadata


In [2]:
from eada.vo.servsearch import select_catalog

def record_metadata(rec):
    try:
        cat = select_catalog(rec)
        if cat:
            k = cat.shortname()
            return {k : cat.summary()}
    except:
        pass
    return None

In parallel, using dask [(default) number of processes == number of cpu/cores]


In [3]:
def get_records_metadata_dask(recs, nprocs=None):
    import dask.bag as db
    from dask.diagnostics import ProgressBar
    
    print('Processing {} records..'.format(len(recs)))
    b = db.from_sequence(recs).map(record_metadata)
    with ProgressBar():
        cats = b.compute(num_workers=nprocs)
    return cats

Query RofR for all entries in a waveband


In [ ]:
wb = 'radio'

In [ ]:
records = search(wb)

In [ ]:
N = 100
if N:
    recs = [records[i] for i in range(N)]

In [ ]:
print('Default number of processes (number of cpu cores)')
%time cats_d = get_records_metadata_dask(recs)

In [ ]:
import json
s = json.dumps(cats_d,indent=2)
print(s)

Single thread, plain loop


In [ ]:
def get_records_metadata_loop(recs):
    cats = []
    for i in range(len(recs)):
        cats.append(record_metadata(recs[i]))
    return cats

%time cats_l = get_records_metadata_loop(recs)

In [ ]:
import json
s = json.dumps(cats_l,indent=2)
print(s)

Benchmark number of threads/processes


In [ ]:
N = 400
if N:
    recs = [records[i] for i in range(N)]

In [ ]:
N_procs_steps = 6
N_procs = [2**i for i in range(1, N_procs_steps)]
N_procs.reverse()

for np in N_procs:
    print('Number of processes: {}'.format(np))
    %time cats_dd = get_records_metadata_dask(recs, np)
    print('---')

Run the whole records list


In [ ]:
NPROCS=8  # double the number of cpus
%time cats = get_records_metadata_dask(records, NPROCS)

In [ ]:
print(len(cats))

In [ ]:
cats_dirty = cats.copy()
cats = [c for c in cats if c is not None]
print(len(cats))

In [ ]:
dcats = {k:v for c in cats for k,v in c.items()}
len(dcats)

Notice that when we move the catalogues from the original list ('cats') to a dictionary ('dcats') we lost some items. Which means that a lot of them (~200) have same name/key.

This should be fixed!


In [ ]:
for k,v in dcats.items():
    ucds = v['ucds']
    if any('polarization' in u for u in ucds):
        print("{}\n\t{}\n".format(k,ucds))

Search for polarization datasets


In [ ]:
wb = 'optical'
orecords = search(wb)

In [ ]:
NPROCS=8  # double the number of cpus
%time ocats = get_records_metadata_dask(orecords, NPROCS)

In [ ]:
ocats = [c for c in ocats if c is not None]
print(len(ocats))

docats = {k:v for c in ocats for k,v in c.items()}
len(docats)

In [ ]:
polarization = {}
for k,v in docats.items():
    ucds = v['ucds']
    if any('phys.polarization' in u for u in ucds):
        polarization[k] = v

In [ ]:
for k,v in polarization.items():
    print("{}\n\t{}\n".format(k,v['ucds']))

In [ ]:
len(polarization)

In [ ]:
import json
with open('vo_optical_polarization_scs_catalogs.json','w') as fp:
    json.dump(polarization, fp, indent=4)

All wavebands


In [4]:
wbs = ['radio','millimeter','infrared','optical','uv','x-ray','gamma-ray']

In [5]:
def search_catalogs(wb, nrecs=None):
#     import logging
#     logging.getLogger("astropy").setLevel(0)
#     logging.getLogger("pyvo").setLevel(0)

    records = search(wb)
 
    if records is None or not len(records):
        return None
    if nrecs and nrecs > 0:
        nrecs = min(nrecs,len(records))
        records = [records[i] for i in range(nrecs)]
        
    cats = get_records_metadata_dask(records, NPROCS)
    cats = list(filter(lambda c:c is not None, cats))
    
    return cats

In [6]:
def write(catalogs, wb):
    import json
    fn = 'vo_{}_scs_catalogs.json'.format(wb)
    with open(fn, 'w') as fp:
        json.dump(catalogs, fp, indent=4)

In [7]:
NPROCS=8  # number of cpus x2

resources = {}
for wb in wbs:
    print('\n> Waveband:', wb)
    
    cats = search_catalogs(wb)
    
    if cats is None:
        print('No catalogs found.')
        continue
    print('Number of catalogs:', len(cats))
    
    write(cats, wb)
    resources[wb] = cats


> Waveband: radio
Found 1754 catalogues.
Processing 1754 records..
[###################################     ] | 88% Completed |  3min  4.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 88% Completed |  3min  5.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[########################################] | 100% Completed |  3min 40.0s
Number of catalogs: 1562

> Waveband: millimeter
Found 76 catalogues.
Processing 76 records..
[                                        ] | 0% Completed |  1.0s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[                                        ] | 1% Completed |  1.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[#                                       ] | 3% Completed |  1.2s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[##                                      ] | 5% Completed |  1.3s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###                                     ] | 9% Completed |  1.4s
ERROR:root:Exception while querying service: VOTable response missing results table
[####                                    ] | 10% Completed |  2.0s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[####                                    ] | 11% Completed |  2.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####                                   ] | 14% Completed |  2.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[######                                  ] | 15% Completed |  2.3s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[#######                                 ] | 18% Completed |  2.4s
ERROR:root:Exception while querying service: VOTable response missing results table
[########                                ] | 21% Completed |  2.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[########                                ] | 22% Completed |  3.0s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[##########                              ] | 25% Completed |  3.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[##########                              ] | 26% Completed |  3.2s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###########                             ] | 28% Completed |  3.3s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[############                            ] | 31% Completed |  3.9s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[#############                           ] | 32% Completed |  4.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[##############                          ] | 35% Completed |  4.1s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[##############                          ] | 36% Completed |  4.2s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###############                         ] | 39% Completed |  4.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[################                        ] | 42% Completed |  4.8s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[#################                       ] | 43% Completed |  4.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################                      ] | 46% Completed |  5.1s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[##################                      ] | 47% Completed |  5.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################                    ] | 50% Completed |  5.3s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################                   ] | 52% Completed |  5.8s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[######################                  ] | 56% Completed |  6.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[#######################                 ] | 57% Completed |  6.2s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[########################                ] | 60% Completed |  6.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[#########################               ] | 63% Completed |  6.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[#########################               ] | 64% Completed |  6.9s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[##########################              ] | 67% Completed |  7.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[###########################             ] | 68% Completed |  7.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[###########################             ] | 69% Completed |  7.2s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[#############################           ] | 73% Completed |  7.7s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[##############################          ] | 75% Completed |  7.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[###############################         ] | 77% Completed |  8.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[###############################         ] | 78% Completed |  8.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 80% Completed |  8.2s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 84% Completed |  8.7s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  8.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 88% Completed |  9.0s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 90% Completed |  9.2s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 93% Completed |  9.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed |  9.8s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[######################################  ] | 97% Completed |  9.9s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[########################################] | 100% Completed | 10.0s
Number of catalogs: 0

> Waveband: infrared
Found 1999 catalogues.
Processing 1999 records..
[###############################         ] | 79% Completed |  4min  3.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[###############################         ] | 79% Completed |  4min  4.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[###############################         ] | 79% Completed |  4min  5.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[###############################         ] | 79% Completed |  4min  5.5s
ERROR:root:Exception while querying service: VOTable response missing results table
[###############################         ] | 79% Completed |  4min  6.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[###############################         ] | 79% Completed |  4min  6.4s
ERROR:root:Exception while querying service: VOTable response missing results table
[###############################         ] | 79% Completed |  4min  7.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[###############################         ] | 79% Completed |  4min  7.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[###############################         ] | 79% Completed |  4min  7.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[###############################         ] | 79% Completed |  4min  8.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[###############################         ] | 79% Completed |  4min  8.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[###############################         ] | 79% Completed |  4min  9.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 80% Completed |  4min  9.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 80% Completed |  4min 10.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 80% Completed |  4min 10.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 81% Completed |  4min 11.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 81% Completed |  4min 11.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 81% Completed |  4min 11.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 82% Completed |  4min 12.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 82% Completed |  4min 12.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 82% Completed |  4min 12.4s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 82% Completed |  4min 12.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 82% Completed |  4min 12.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 82% Completed |  4min 13.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 82% Completed |  4min 13.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 82% Completed |  4min 13.5s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 82% Completed |  4min 13.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 82% Completed |  4min 13.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[################################        ] | 82% Completed |  4min 14.1s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 14.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 14.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 14.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 15.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 15.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 15.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 15.5s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 15.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 15.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 16.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 16.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 16.5s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 16.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 16.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 17.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 17.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 17.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 17.5s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 17.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 17.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 18.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 18.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 18.4s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 18.7s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 18.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 19.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 19.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 19.7s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 19.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 83% Completed |  4min 20.2s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 84% Completed |  4min 20.6s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 84% Completed |  4min 20.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 84% Completed |  4min 21.1s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 84% Completed |  4min 21.5s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[#################################       ] | 84% Completed |  4min 21.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 21.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 22.0s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 22.4s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 22.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 22.9s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 23.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 23.3s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 23.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 23.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 24.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 24.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 24.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 24.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 24.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 24.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 24.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 25.1s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 25.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 25.5s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 25.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 25.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 26.0s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 26.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 26.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 26.6s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 26.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 26.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 27.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 27.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 27.5s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 27.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 27.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 27.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 85% Completed |  4min 28.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 86% Completed |  4min 28.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 86% Completed |  4min 28.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 86% Completed |  4min 28.4s
ERROR:root:Exception while querying service: VOTable response missing results table
[##################################      ] | 87% Completed |  4min 28.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 87% Completed |  4min 28.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 87% Completed |  4min 29.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 88% Completed |  4min 29.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 88% Completed |  4min 29.5s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 88% Completed |  4min 29.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 88% Completed |  4min 30.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 88% Completed |  4min 30.2s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 30.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 30.4s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 30.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 30.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 31.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 31.3s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 31.5s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 31.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 31.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 31.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 31.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 32.2s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 32.4s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 32.5s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 32.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 32.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 33.1s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 33.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 33.5s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 33.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 33.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 34.0s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 34.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 34.4s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 34.5s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 34.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 34.9s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 35.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 35.3s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 35.5s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 35.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 35.9s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 36.2s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 36.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 36.4s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 36.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 36.8s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 37.1s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 37.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 37.4s
ERROR:root:Exception while querying service: VOTable response missing results table
[###################################     ] | 89% Completed |  4min 37.8s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 90% Completed |  4min 37.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 90% Completed |  4min 38.0s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 90% Completed |  4min 38.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 90% Completed |  4min 38.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 91% Completed |  4min 38.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 91% Completed |  4min 38.9s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 91% Completed |  4min 39.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 91% Completed |  4min 39.2s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 91% Completed |  4min 39.5s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 91% Completed |  4min 39.7s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 39.9s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 40.1s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 40.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 40.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 40.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 40.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 41.0s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 41.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 41.5s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 41.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 41.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 42.0s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 42.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 42.5s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 42.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 42.9s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 43.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 43.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 43.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 43.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 43.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 43.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 44.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 44.5s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 44.6s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 44.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 45.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 45.4s
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 45.6s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[####################################    ] | 92% Completed |  4min 45.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 93% Completed |  4min 46.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 93% Completed |  4min 46.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 93% Completed |  4min 46.5s
ERROR:root:Exception while querying service: VOTable response missing results table
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed |  4min 46.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[######################################  ] | 95% Completed |  4min 47.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[######################################  ] | 95% Completed |  4min 47.4s
ERROR:root:Exception while querying service: VOTable response missing results table
[######################################  ] | 95% Completed |  4min 48.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[######################################  ] | 96% Completed |  4min 48.4s
ERROR:root:Exception while querying service: VOTable response missing results table
[######################################  ] | 96% Completed |  4min 49.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[######################################  ] | 96% Completed |  4min 50.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[######################################  ] | 96% Completed |  4min 51.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[######################################  ] | 96% Completed |  4min 52.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[######################################  ] | 96% Completed |  4min 52.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[######################################  ] | 96% Completed |  4min 53.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[######################################  ] | 96% Completed |  4min 53.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[######################################  ] | 97% Completed |  4min 53.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[######################################  ] | 97% Completed |  4min 54.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[######################################  ] | 97% Completed |  4min 55.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[########################################] | 100% Completed |  5min  6.6s
Number of catalogs: 1449

> Waveband: optical
Found 8373 catalogues.
Processing 8373 records..
[#####################################   ] | 94% Completed | 22min 14.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed | 22min 15.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed | 22min 16.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed | 22min 17.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed | 22min 17.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed | 22min 18.9s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed | 22min 19.7s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed | 22min 20.6s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed | 22min 21.5s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed | 22min 22.4s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed | 22min 23.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed | 22min 24.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed | 22min 25.2s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed | 22min 26.1s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed | 22min 27.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed | 22min 28.0s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 94% Completed | 22min 28.8s
ERROR:root:Exception while querying service: VOTable response missing results table
[########################################] | 100% Completed | 23min 53.4s
Number of catalogs: 6765

> Waveband: uv
Found 211 catalogues.
Processing 211 records..
[                                        ] | 0% Completed |  1.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[#####################################   ] | 93% Completed | 26.5s
ERROR:root:Exception while querying service: VOTable response missing results table
[########################################] | 100% Completed | 31.4s
Number of catalogs: 170

> Waveband: x-ray
Found 1121 catalogues.
Processing 1121 records..
[#########################               ] | 62% Completed |  1min 35.5s
ERROR:root:Exception while querying service: VOTable response missing results table
[#########################               ] | 62% Completed |  1min 36.3s
ERROR:root:Exception while querying service: VOTable response missing results table
[########################################] | 100% Completed |  2min 44.4s
Number of catalogs: 995

> Waveband: gamma-ray
Found 178 catalogues.
Processing 178 records..
[########################################] | 100% Completed | 24.0s
Number of catalogs: 173

In [ ]: