Stars In File N12toN10: 10259083
Stars In File N15toN12: 2126541
Stars In File N17toN15: -5937026
Stars In File N20toN17: 1919483
Stars In File P10toP11: -3338635
Stars In File P11toP12: -375503
Stars In File P12toP13: -415586
Stars In File P13top14: -237238
Stars In File P14top15: -276338
Stars In File P15toP16: -215792
Stars In File P16toP17: -213184
---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
<ipython-input-9-496988ef2501> in <module>()
18 print("Stars In File %s: %d" % (name, len(data['ID']) - starLen))
19 starLen = len(data['ID'])
---> 20 coords = SkyCoord(data['l'],data['b'], unit='deg', frame='galactic')
21
22 sfd = dustmaps.sfd.SFDQuery()
/usr/local/lib/python3.4/dist-packages/astropy-3.1.dev21527-py3.4-linux-x86_64.egg/astropy/coordinates/sky_coordinate.py in __init__(self, copy, *args, **kwargs)
223 # creating the internal self._sky_coord_frame object
224 args = list(args) # Make it mutable
--> 225 kwargs = self._parse_inputs(args, kwargs)
226
227 frame = kwargs['frame']
/usr/local/lib/python3.4/dist-packages/astropy-3.1.dev21527-py3.4-linux-x86_64.egg/astropy/coordinates/sky_coordinate.py in _parse_inputs(self, args, kwargs)
434 repr_attr_names, units):
435 attr_class = frame.representation.attr_classes[repr_attr_name]
--> 436 coord_kwargs[frame_attr_name] = attr_class(arg, unit=unit)
437
438 else:
/usr/local/lib/python3.4/dist-packages/astropy-3.1.dev21527-py3.4-linux-x86_64.egg/astropy/coordinates/angles.py in __new__(cls, angle, unit, **kwargs)
504 if isinstance(angle, Longitude):
505 raise TypeError("A Latitude angle cannot be created from a Longitude angle")
--> 506 self = super().__new__(cls, angle, unit=unit, **kwargs)
507 self._validate_angles()
508 return self
/usr/local/lib/python3.4/dist-packages/astropy-3.1.dev21527-py3.4-linux-x86_64.egg/astropy/coordinates/angles.py in __new__(cls, angle, unit, dtype, copy)
105 not (isinstance(angle, np.ndarray) and
106 angle.dtype.kind not in 'SUVO')):
--> 107 angle = [Angle(x, unit, copy=False) for x in angle]
108
109 return super().__new__(cls, angle, unit, dtype=dtype, copy=copy)
/usr/local/lib/python3.4/dist-packages/astropy-3.1.dev21527-py3.4-linux-x86_64.egg/astropy/coordinates/angles.py in <listcomp>(.0)
105 not (isinstance(angle, np.ndarray) and
106 angle.dtype.kind not in 'SUVO')):
--> 107 angle = [Angle(x, unit, copy=False) for x in angle]
108
109 return super().__new__(cls, angle, unit, dtype=dtype, copy=copy)
/usr/local/lib/python3.4/dist-packages/astropy-3.1.dev21527-py3.4-linux-x86_64.egg/astropy/coordinates/angles.py in __new__(cls, angle, unit, dtype, copy)
107 angle = [Angle(x, unit, copy=False) for x in angle]
108
--> 109 return super().__new__(cls, angle, unit, dtype=dtype, copy=copy)
110
111 @staticmethod
/usr/local/lib/python3.4/dist-packages/astropy-3.1.dev21527-py3.4-linux-x86_64.egg/astropy/units/quantity.py in __new__(cls, value, unit, dtype, copy, order, subok, ndmin)
384
385 value = value.view(cls)
--> 386 value._set_unit(value_unit)
387 if unit is value_unit:
388 return value
/usr/local/lib/python3.4/dist-packages/astropy-3.1.dev21527-py3.4-linux-x86_64.egg/astropy/coordinates/angles.py in _set_unit(self, unit)
129
130 def _set_unit(self, unit):
--> 131 super()._set_unit(self._convert_unit_to_angle_unit(unit))
132
133 @property
/usr/local/lib/python3.4/dist-packages/astropy-3.1.dev21527-py3.4-linux-x86_64.egg/astropy/units/quantity.py in _set_unit(self, unit)
1715
1716 def _set_unit(self, unit):
-> 1717 if unit is None or not unit.is_equivalent(self._equivalent_unit):
1718 raise UnitTypeError(
1719 "{0} instances require units equivalent to '{1}'"
/usr/local/lib/python3.4/dist-packages/astropy-3.1.dev21527-py3.4-linux-x86_64.egg/astropy/units/core.py in is_equivalent(self, other, equivalencies)
787 other = Unit(other, parse_strict='silent')
788
--> 789 return self._is_equivalent(other, equivalencies)
790
791 def _is_equivalent(self, other, equivalencies=[]):
/usr/local/lib/python3.4/dist-packages/astropy-3.1.dev21527-py3.4-linux-x86_64.egg/astropy/units/core.py in _is_equivalent(self, other, equivalencies)
799
800 if (self._get_physical_type_id() ==
--> 801 other._get_physical_type_id()):
802 return True
803 elif len(equivalencies):
/usr/local/lib/python3.4/dist-packages/astropy-3.1.dev21527-py3.4-linux-x86_64.egg/astropy/units/core.py in _get_physical_type_id(self)
535 """
536 unit = self.decompose()
--> 537 r = zip([x.name for x in unit.bases], unit.powers)
538 # bases and powers are already sorted in a unique way
539 # r.sort()
/usr/local/lib/python3.4/dist-packages/astropy-3.1.dev21527-py3.4-linux-x86_64.egg/astropy/units/core.py in powers(self)
587 Return the powers of the unit.
588 """
--> 589 return [1]
590
591 def to_string(self, format=unit_format.Generic):
KeyboardInterrupt: