You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to figure out how to use splatalogue in astroquery, and it seems like it's broken? Below is the most basic search, but the error I get seems to be that astroquery(?) can't parse the url or the table that is returned from the url? I get the exact same error if I use the find_lines() tool in SpectralCube (e.g. https://learn.astropy.org/tutorials/SpectralCubeReprojectExample.html).
---------------------------------------------------------------------------
InconsistentTableError Traceback (most recent call last)
<ipython-input-22-c820df52897a> in <module>
----> 1 co = Splatalogue.query_lines(114*u.GHz,116*u.GHz,chemical_name=' CO ')
~/SoFiA-image-pipeline/test_install/lib/python3.9/site-packages/astroquery/utils/class_or_instance.py in f(*args, **kwds)
23 def f(*args, **kwds):
24 if obj is not None:
---> 25 return self.fn(obj, *args, **kwds)
26 else:
27 return self.fn(cls, *args, **kwds)
~/SoFiA-image-pipeline/test_install/lib/python3.9/site-packages/astroquery/utils/process_asyncs.py in newmethod(self, *args, **kwargs)
27 if kwargs.get('get_query_payload') or kwargs.get('field_help'):
28 return response
---> 29 result = self._parse_result(response, verbose=verbose)
30 self.table = result
31 return result
...
...
...
~/SoFiA-image-pipeline/test_install/lib/python3.9/site-packages/astropy/io/ascii/core.py in read(self, table)
1447 )
1448
-> 1449 raise InconsistentTableError(errmsg)
1450
1451 for j, col in enumerate(cols):
InconsistentTableError: Number of header columns (1) inconsistent with data columns (2) at data line 13
Header values: ['<!-- start of nrao-header.html -->']
Data values: ['<a href="http', '//www.nrao.edu/">']
The text was updated successfully, but these errors were encountered:
I'm attempting to figure out how to use splatalogue in astroquery, and it seems like it's broken? Below is the most basic search, but the error I get seems to be that astroquery(?) can't parse the url or the table that is returned from the url? I get the exact same error if I use the find_lines() tool in SpectralCube (e.g. https://learn.astropy.org/tutorials/SpectralCubeReprojectExample.html).
The text was updated successfully, but these errors were encountered: