<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Also see the following PR for astropy
      which will emit a warning and truncate out-of-range integer
      values:<br>
      <br>
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <a href="https://github.com/astropy/astropy/pull/825">https://github.com/astropy/astropy/pull/825</a><br>
      <br>
      Mike<br>
      <br>
      On 02/26/2013 11:08 AM, Michael Droettboom wrote:<br>
    </div>
    <blockquote cite="mid:512CDE0F.1010001@stsci.edu" type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div class="moz-cite-prefix">Column #24 is defined as follows:<br>
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;FIELD ID="NReleaseDate" name="NReleaseDate"
        datatype="int" ucd="TIME_EPOCH"&gt;<br>
        <br>
        Here, a datatype of "int" means a 32-bit int, always, as per the
        VOTable spec.<br>
        <br>
        Yet the value in the first row of this column is -2208988800,
        which is too large to be represented in 32 bits.&nbsp; This field
        should really be updated to be of type "long".&nbsp; I'll go ahead
        and report this to the HLA folks.<br>
        <br>
        Unfortunately, it seems that Numpy complains about too long
        numbers going into a 32-bit field on a 32-bit platform, but not
        on a 64-platform, where it just silently truncates.&nbsp; It would be
        nice to at least have consistent behavior across platforms
        there.&nbsp; Again, I'll file a bug with Numpy about this to see
        what, if anything, that team may want to do.<br>
        <br>
        In any case, the real bug is in the file -- astropy is just
        correctly following directions here and only allocating as much
        memory as specified in the file.&nbsp; It would be nice to workaround
        this bug in the file, but it's a tricky one -- we would have to
        allocate the table in one way, come across the overflow later,
        and then reparse the whole file using a different table
        structure.&nbsp; None of our existing workarounds do that, so it's
        not the most straightforward thing to do.<br>
        <br>
        Mike<br>
        <br>
        On 02/26/2013 10:44 AM, Andy Ptak wrote:<br>
      </div>
      <blockquote
        cite="mid:8E84403D-9265-420E-8BD7-F2CA4768573B@nasa.gov"
        type="cite">
        <div><span class="Apple-style-span" style="border-collapse:
            separate; orphans: 2; text-align: -webkit-auto; text-indent:
            0px; widows: 2; border-spacing: 0px; ">
            <div style="color: rgb(0, 0, 0); font-family: Helvetica;
              font-size: medium; font-style: normal; font-variant:
              normal; font-weight: normal; letter-spacing: normal;
              line-height: normal; text-transform: none; white-space:
              normal; word-spacing: 0px;
              -webkit-text-decorations-in-effect: none;
              -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
              0px; word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space; ">Sure&#8230;</div>
            <div style="word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space; ">
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">ipdb&gt;
                print array_chunk</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">[('<a
                  moz-do-not-send="true"
href="http://hla.stsci.edu/cgi-bin/getdata.cgi?dataset=hlsp_angst_hst_acs-wfc_10915-ngc0253-wide5_f475w_v1_ref%27">http://hla.stsci.edu/cgi-bin/getdata.cgi?dataset=hlsp_angst_hst_acs-wfc_10915-ngc0253-wide5_f475w_v1_ref'</a>,
                11.9123, -25.2889, 5, 'NGC0253-WIDE5', 'ACS/WFC',
                'WFCENTER', 'F475W', 4, 1482.0, '2006-09-13 06:38:18',
                'hlsp_angst_hst_acs-wfc_10915-ngc0253-wide5_f475w_v1_ref',
                10915, '10915-ngc0253-wide5', 'Dalcanton', '', '',
                'ACCUM', '2012-11-02 13:59:02', 'HLSP', 4744.35009766,
                'image/fits', '1900-01-01 00:00:00', -2208988800L,
                'angst_hst_acs-wfc_10915-ngc0253-wide5 ACS/WFC F475W
                (hlsp) NGC0253-WIDE5', masked_array(data = [4220 4298],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 999999)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [1.38889e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">, 2,
                masked_array(data = [2055.6 1148.67],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [11.9123 -25.2889],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [-1.06388e-05 -8.9285e-06
                -8.9285e-06 1.06388e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                'hlsp_angst_hst_acs-wfc_10915-ngc0253-wide5_f475w_v1_ref',
                'Polygon J2000 &nbsp; &nbsp;11.947768 &nbsp; -25.282758 &nbsp; 11.905331 &nbsp;
                -25.237036 &nbsp; 11.855680 &nbsp; -25.274704 &nbsp; 11.898112 &nbsp;
                -25.320439'), ('<a moz-do-not-send="true"
href="http://hla.stsci.edu/cgi-bin/getdata.cgi?dataset=hlsp_ghosts_hst_acs_ngc0253-field01_f606w_v1_drz%27">http://hla.stsci.edu/cgi-bin/getdata.cgi?dataset=hlsp_ghosts_hst_acs_ngc0253-field01_f606w_v1_drz'</a>,
                11.9017, -25.2787, 5, 'NGC0253-WIDE5', 'ACS/WFC',
                'WFCENTER', 'F606W', 4, 1508.0, '2006-09-13 09:42:19',
                'hlsp_ghosts_hst_acs_ngc0253-field01_f606w_v1_drz',
                10915, 'ngc0253-field01', 'Dalcanton', '', '', 'ACCUM',
                '2012-11-02 14:01:51', 'HLSP', 5917.68017578,
                'image/fits', '1900-01-01 00:00:00', -2208988800L,
                'ghosts_hst_acs_ngc0253-field01 ACS/WFC F606W (hlsp)
                NGC0253-WIDE5', masked_array(data = [4220 4299],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 999999)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [1.38892e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">, 2,
                masked_array(data = [2110.0 2149.5],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [11.9017 -25.2787],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [-1.06397e-05 -8.9279e-06
                -8.9279e-06 1.06397e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                'hlsp_ghosts_hst_acs_ngc0253-field01_f606w_v1_drz',
                'Polygon J2000 &nbsp; &nbsp;11.947776 &nbsp; -25.282766 &nbsp; 11.905328 &nbsp;
                -25.237033 &nbsp; 11.855676 &nbsp; -25.274701 &nbsp; 11.898119 &nbsp;
                -25.320449'), ('<a moz-do-not-send="true"
href="http://hla.stsci.edu/cgi-bin/getdata.cgi?dataset=hlsp_ghosts_hst_acs_ngc0253-field01_f814w_v1_drz%27">http://hla.stsci.edu/cgi-bin/getdata.cgi?dataset=hlsp_ghosts_hst_acs_ngc0253-field01_f814w_v1_drz'</a>,
                11.9017, -25.2787, 5, 'NGC0253-WIDE5', 'ACS/WFC',
                'WFCENTER', 'F814W', 4, 1534.0, '2006-09-13 11:18:39',
                'hlsp_ghosts_hst_acs_ngc0253-field01_f814w_v1_drz',
                10915, 'ngc0253-field01', 'Dalcanton', '', '', 'ACCUM',
                '2012-11-02 14:01:51', 'HLSP', 8059.75976562,
                'image/fits', '1900-01-01 00:00:00', -2208988800L,
                'ghosts_hst_acs_ngc0253-field01 ACS/WFC F814W (hlsp)
                NGC0253-WIDE5', masked_array(data = [4220 4298],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 999999)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [1.38892e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">, 2,
                masked_array(data = [2110.0 2149.0],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [11.9017 -25.2787],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [-1.06397e-05 -8.9279e-06
                -8.9279e-06 1.06397e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                'hlsp_ghosts_hst_acs_ngc0253-field01_f814w_v1_drz',
                'Polygon J2000 &nbsp; &nbsp;11.947772 &nbsp; -25.282761 &nbsp; 11.905333 &nbsp;
                -25.237039 &nbsp; 11.855682 &nbsp; -25.274707 &nbsp; 11.898114 &nbsp;
                -25.320444'), ('<a moz-do-not-send="true"
href="http://hla.stsci.edu/cgi-bin/fitscut.cgi?red=hlsp_ghosts_hst_acs_ngc0253-field01_f814w_v1_drz&amp;amp;blue=hlsp_ghosts_hst_acs_ngc0253-field01_f606w_v1_drz&amp;amp;size=ALL&amp;amp;format=fits%27">http://hla.stsci.edu/cgi-bin/fitscut.cgi?red=hlsp_ghosts_hst_acs_ngc0253-field01_f814w_v1_drz&amp;amp;blue=hlsp_ghosts_hst_acs_ngc0253-field01_f606w_v1_drz&amp;amp;size=ALL&amp;amp;format=fits'</a>,
                11.9017, -25.2787, 4, 'NGC0253-WIDE5', 'ACS/WFC',
                'WFCENTER', 'F814W/F606W', 8, 3042.0, '2006-09-13
                09:42:19',
                'hlsp_ghosts_hst_acs_ngc0253-field01_f814w_f606w_v1_drz',
                10915, 'ngc0253-field01', 'Dalcanton', '', '', 'ACCUM',
                '2012-11-02 14:01:51', 'HLSP', 6989.0, 'image/fits',
                '1900-01-01 00:00:00', -2208988800L,
                'ghosts_hst_acs_ngc0253-field01 ACS/WFC F814W/F606W
                (color) NGC0253-WIDE5', masked_array(data = [4220 4298],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 999999)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [1.38892e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">, 2,
                masked_array(data = [2110.0 2149.0],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [11.9017 -25.2787],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [-1.06397e-05 -8.9279e-06
                -8.9279e-06 1.06397e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                'hlsp_ghosts_hst_acs_ngc0253-field01_f814w_v1_drz,hlsp_ghosts_hst_acs_ngc0253-field01_f606w_v1_drz',

                'Polygon J2000 &nbsp; &nbsp;11.947772 &nbsp; -25.282761 &nbsp; 11.905333 &nbsp;
                -25.237039 &nbsp; 11.855682 &nbsp; -25.274707 &nbsp; 11.898114 &nbsp;
                -25.320444'), ('<a moz-do-not-send="true"
href="http://hla.stsci.edu/cgi-bin/getdata.cgi?dataset=HST_10915_98_ACS_WFC_F475W%27">http://hla.stsci.edu/cgi-bin/getdata.cgi?dataset=HST_10915_98_ACS_WFC_F475W'</a>,
                11.901736, -25.279734, 2, 'NGC0253-WIDE5', 'ACS/WFC',
                'WFCENTER', 'F475W', 2, 1482.0, '2006-09-13 06:38:18',
                'HST_10915_98_ACS_WFC_F475W', 10915, '98', 'Dalcanton',
                '', 'Loaded', 'ACCUM', '2008-01-17 03:05:31', 'HLA',
                4744.36, 'image/fits', '2006-09-14 00:47:14',
                1158194834, '10915_98 ACS/WFC F475W (combined)
                NGC0253-WIDE5', masked_array(data = [6100 6100],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 999999)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [1.38889e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">, 2,
                masked_array(data = [3050.0 3050.0],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [11.901736 -25.279734],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [-1.38889e-05 0.0 0.0 1.38889e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                'HST_10915_98_ACS_WFC_F475W', 'Polygon J2000 11.87717390
                -25.29535800 11.89640629 -25.28200592 11.87697850
                -25.29587050 11.87759056 -25.29648032 11.89825680
                -25.31706610 11.89831934 -25.31702147 11.89893180
                -25.31763140 11.94817110 -25.28247540 11.92689000
                -25.26128670 11.92682706 -25.26133165 11.92621490
                -25.26072200 11.92600258 -25.26087365 11.90560880
                -25.24086630 11.90555076 -25.24090663 11.90493420
                -25.24030160 11.85576560 -25.27444230 11.85638210
                -25.27504754 11.87649930 -25.29479280 11.87655706
                -25.29475271'), ('<a moz-do-not-send="true"
href="http://hla.stsci.edu/cgi-bin/getdata.cgi?dataset=HST_10915_98_ACS_WFC_F606W%27">http://hla.stsci.edu/cgi-bin/getdata.cgi?dataset=HST_10915_98_ACS_WFC_F606W'</a>,
                11.901736, -25.279734, 2, 'NGC0253-WIDE5', 'ACS/WFC',
                'WFCENTER', 'F606W', 2, 1508.0, '2006-09-13 09:42:19',
                'HST_10915_98_ACS_WFC_F606W', 10915, '98', 'Dalcanton',
                '', 'Loaded', 'ACCUM', '2008-01-17 03:05:31', 'HLA',
                5917.68, 'image/fits', '2006-09-14 10:03:41',
                1158228221, '10915_98 ACS/WFC F606W (combined)
                NGC0253-WIDE5', masked_array(data = [6100 6100],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 999999)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [1.38889e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">, 2,
                masked_array(data = [3050.0 3050.0],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [11.901736 -25.279734],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [-1.38889e-05 0.0 0.0 1.38889e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                'HST_10915_98_ACS_WFC_F606W', 'Polygon J2000 11.92689010
                -25.26128690 11.92682692 -25.26133202 11.92621490
                -25.26072250 11.92600228 -25.26087437 11.90560890
                -25.24086820 11.90555051 -25.24090876 11.90493430
                -25.24030410 11.85576720 -25.27444250 11.85638324
                -25.27504727 11.87650030 -25.29479150 11.87655775
                -25.29475163 11.87717450 -25.29535680 11.89645734
                -25.28197019 11.87697940 -25.29587070 11.87759135
                -25.29648042 11.89825680 -25.31706560 11.89831905
                -25.31702118 11.89893170 -25.31763130 11.94817060
                -25.28247510'), ('<a moz-do-not-send="true"
href="http://hla.stsci.edu/cgi-bin/getdata.cgi?dataset=HST_10915_98_ACS_WFC_F814W%27">http://hla.stsci.edu/cgi-bin/getdata.cgi?dataset=HST_10915_98_ACS_WFC_F814W'</a>,
                11.901736, -25.279734, 2, 'NGC0253-WIDE5', 'ACS/WFC',
                'WFCENTER', 'F814W', 2, 1534.0, '2006-09-13 11:18:39',
                'HST_10915_98_ACS_WFC_F814W', 10915, '98', 'Dalcanton',
                '', 'Loaded', 'ACCUM', '2008-01-17 03:05:31', 'HLA',
                8059.76, 'image/fits', '2006-09-14 16:27:26',
                1158251246, '10915_98 ACS/WFC F814W (combined)
                NGC0253-WIDE5', masked_array(data = [6100 6100],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 999999)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [1.38889e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">, 2,
                masked_array(data = [3050.0 3050.0],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [11.901736 -25.279734],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [-1.38889e-05 0.0 0.0 1.38889e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                'HST_10915_98_ACS_WFC_F814W', 'Polygon J2000 11.90555223
                -25.24091185 11.90493480 -25.24030600 11.85576830
                -25.27444290 11.87650110 -25.29479130 11.87655960
                -25.29475070 11.87717680 -25.29535630 11.89640118
                -25.28201069 11.87698000 -25.29587030 11.89825710
                -25.31706440 11.89832033 -25.31701928 11.89893250
                -25.31762890 11.94810647 -25.28252025 11.94816870
                -25.28247580 11.92688930 -25.26128920 11.92682707
                -25.26133365 11.92621460 -25.26072370 11.92600121
                -25.26087611 11.90560960 -25.24087200'), ('<a
                  moz-do-not-send="true"
href="http://hla.stsci.edu/cgi-bin/getdata.cgi?dataset=HST_10915_98_ACS_WFC_total%27">http://hla.stsci.edu/cgi-bin/getdata.cgi?dataset=HST_10915_98_ACS_WFC_total'</a>,
                11.901736, -25.279734, 2, 'NGC0253-WIDE5', 'ACS/WFC',
                'WFCENTER', 'detection', 6, 4524.0, '2006-09-13
                06:38:18', 'HST_10915_98_ACS_WFC_total', 10915, '98',
                'Dalcanton', '', 'Loaded', 'ACCUM', '2008-01-17
                03:05:31', 'HLA', None, 'image/fits', '2006-09-14
                16:27:26', 1158251246, '10915_98 ACS/WFC detection
                (combined) NGC0253-WIDE5', masked_array(data = [6100
                6100],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 999999)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [1.38889e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">, 2,
                masked_array(data = [3050.0 3050.0],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [11.901736 -25.279734],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [-1.38889e-05 0.0 0.0 1.38889e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                'HST_10915_98_ACS_WFC_total', 'Polygon J2000 11.90560880
                -25.24086630 11.90555076 -25.24090663 11.90493420
                -25.24030160 11.85576560 -25.27444230 11.85638210
                -25.27504754 11.87649930 -25.29479280 11.87655706
                -25.29475271 11.87717390 -25.29535800 11.87717661
                -25.29535612 11.89634395 -25.28205042 11.87697850
                -25.29587050 11.87759056 -25.29648032 11.89825680
                -25.31706610 11.89831934 -25.31702147 11.89893180
                -25.31763140 11.94817110 -25.28247540 11.92689000
                -25.26128670 11.92682706 -25.26133165 11.92621490
                -25.26072200 11.92600258 -25.26087365'), ('<a
                  moz-do-not-send="true"
href="http://hla.stsci.edu/cgi-bin/fitscut.cgi?red=HST_10915_98_ACS_WFC_F814W&amp;amp;green=HST_10915_98_ACS_WFC_F606W&amp;amp;blue=HST_10915_98_ACS_WFC_F475W&amp;amp;size=ALL&amp;amp;format=fits%27">http://hla.stsci.edu/cgi-bin/fitscut.cgi?red=HST_10915_98_ACS_WFC_F814W&amp;amp;green=HST_10915_98_ACS_WFC_F606W&amp;amp;blue=HST_10915_98_ACS_WFC_F475W&amp;amp;size=ALL&amp;amp;format=fits'</a>,
                11.901736, -25.279734, 4, 'NGC0253-WIDE5', 'ACS/WFC',
                'WFCENTER', 'F814W/F606W/F475W', 6, 4524.0, '2006-09-13
                06:38:18', 'HST_10915_98_ACS_WFC_F814W_F606W_F475W',
                10915, '98', 'Dalcanton', '', 'Loaded', 'ACCUM',
                '2008-01-17 03:05:31', 'HLA', 6241.0, 'image/fits',
                '2006-09-14 16:27:26', 1158251246, '10915_98 ACS/WFC
                F814W/F606W/F475W (color) NGC0253-WIDE5',
                masked_array(data = [6100 6100],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 999999)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [1.38889e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">, 2,
                masked_array(data = [3050.0 3050.0],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [11.901736 -25.279734],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                masked_array(data = [-1.38889e-05 0.0 0.0 1.38889e-05],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;mask = [False False False False],</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">&nbsp; &nbsp; &nbsp;
                &nbsp;fill_value = 1e+20)</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">,
                'HST_10915_98_ACS_WFC_F814W,HST_10915_98_ACS_WFC_F606W,HST_10915_98_ACS_WFC_F475W',

                'Polygon J2000 11.90555223 -25.24091185 11.90493480
                -25.24030600 11.85576830 -25.27444290 11.87650110
                -25.29479130 11.87655960 -25.29475070 11.87717680
                -25.29535630 11.89640118 -25.28201069 11.87698000
                -25.29587030 11.89825710 -25.31706440 11.89832033
                -25.31701928 11.89893250 -25.31762890 11.94810647
                -25.28252025 11.94816870 -25.28247580 11.92688930
                -25.26128920 11.92682707 -25.26133365 11.92621460
                -25.26072370 11.92600121 -25.26087611 11.90560960
                -25.24087200')]</div>
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; "><br>
              </div>
            </div>
          </span></div>
        <div>
          <div>On Feb 26, 2013, at 10:20 AM, Michael Droettboom &lt;<a
              moz-do-not-send="true" href="mailto:mdroe@stsci.edu">mdroe@stsci.edu</a>&gt;

            wrote:</div>
          <br class="Apple-interchange-newline">
          <blockquote type="cite">
            <div bgcolor="#FFFFFF" text="#000000">
              <div class="moz-cite-prefix">On 02/26/2013 09:51 AM, Andy
                Ptak wrote:<br>
              </div>
              <blockquote
                cite="mid:C3359BD7-918F-4045-8C63-026848D985F8@nasa.gov"
                type="cite">
                <div style="word-wrap:break-word">Hello,
                  <div>I am trying out reading VOTables using and am
                    having trouble. &nbsp;Specifically reading tables
                    returned by the Hubble Legacy Archive. &nbsp;The query
                    was:</div>
                  <div><span style="font-family:Arial"><a
                        moz-do-not-send="true"
href="http://hla.stsci.edu/cgi-bin/hlaSIAP.cgi?inst=ACS&amp;pos=11.888333,-25.288056&amp;size=0.001389">http://hla.stsci.edu/cgi-bin/hlaSIAP.cgi?inst=ACS&amp;pos=11.888333,-25.288056&amp;size=0.001389</a></span></div>
                  <div><span style="font-family:Arial">which I attached.</span></div>
                  <div><span style="font-family:Arial"><br>
                    </span></div>
                  <div><font face="Arial">I am using astropy installed
                      by pip on the enthought distribution on a mac, so
                      its version 0.2 and numpy got upgraded to 1.7.0
                      (if that matters).</font></div>
                  <div><font face="Arial">First, is there a way to have
                      a votable imported directly from query without
                      saving it&nbsp;to a&nbsp; physical file first? &nbsp;Maybe its
                      best practice to save VO queries to a file to
                      trace errors, in case the votable is very large,
                      etc. but when you know you are getting something
                      back that is small and (as in this case) you
                      mainly want a list of fields for further work,
                      saving the full votable seams like an unnecessary
                      extra step.</font></div>
                </div>
              </blockquote>
              <br>
              You can pass an http url to astropy.io.votable.parse,
              e.g.:<br>
              <br>
              In [2]: from astropy.io import votable<br>
              <br>
              In [3]: votable.parse(<a moz-do-not-send="true"
                class="moz-txt-link-rfc2396E"
href="http://hla.stsci.edu/cgi-bin/hlaSIAP.cgi?inst=ACS&amp;pos=11.888333,-25.288056&amp;size=0.001389">"http://hla.stsci.edu/cgi-bin/hlaSIAP.cgi?inst=ACS&amp;pos=11.888333,-25.288056&amp;size=0.001389"</a>)<br>
              <br>
              <blockquote
                cite="mid:C3359BD7-918F-4045-8C63-026848D985F8@nasa.gov"
                type="cite">
                <div style="word-wrap:break-word">
                  <div><font face="Arial"><br>
                    </font></div>
                  <div><font face="Arial">The errors I am getting are
                      below. &nbsp;I got similar errors when using a
                      different votable call I found on the HLA website
                      (basically the same except using
                      acsSIAP.cgi?strict=1</font></div>
                  <div><font face="Arial">Is this a&nbsp;problem&nbsp;with
                      the&nbsp;Votable&nbsp;being returned by stsci, a&nbsp;bug or am I
                      doing something wrong?</font></div>
                </div>
              </blockquote>
              <br>
              Interestingly, I'm not able to reproduce the exception
              here.&nbsp; (This is on Linux, with Python 2.7, astropy 0.2 and
              numpy 1.7.0).<br>
              <br>
              Would you mind tinkering around in the debugger for me?&nbsp;
              Turn on the IPython debugger with "%pdb", reproduce the
              crash, and then go up two levels and print out
              "array_chunk"?&nbsp; I'm curious if there's some messed up
              values getting in there.<br>
              <br>
              Thanks,<br>
              Mike<br>
              <br>
              <blockquote
                cite="mid:C3359BD7-918F-4045-8C63-026848D985F8@nasa.gov"
                type="cite">
                <div style="word-wrap:break-word">
                  <div><font face="Arial"><br>
                    </font></div>
                  <div><font face="Arial">Thanks,</font></div>
                  <div><font face="Arial">Andy Ptak</font></div>
                  <div><font face="Arial"><br>
                    </font></div>
                  <div><font face="Arial"><br>
                    </font></div>
                  <div><font face="Arial"><br>
                    </font></div>
                  <div><font face="Arial">
                      <div>In [4]: from astropy.io.votable import parse</div>
                      <div>In [6]: votable = parse("test1.xml")</div>
                      <div>WARNING: W42: test1.xml:3:0: W42: No XML
                        namespace specified
                        [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W03: test1.xml:7:4: W03: Implictly
                        generating an ID from a name 'INPUT:POS' -&gt;
                        'INPUT_POS' [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W03: test1.xml:8:4: W03: Implictly
                        generating an ID from a name 'INPUT:SIZE' -&gt;
                        'INPUT_SIZE' [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W03: test1.xml:9:4: W03: Implictly
                        generating an ID from a name 'INPUT:FORMAT'
                        -&gt; 'INPUT_FORMAT'
                        [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W03: test1.xml:10:4: W03: Implictly
                        generating an ID from a name 'INPUT:imagetype'
                        -&gt; 'INPUT_imagetype'
                        [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W03: test1.xml:11:4: W03: Implictly
                        generating an ID from a name 'INPUT:inst' -&gt;
                        'INPUT_inst' [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W03: test1.xml:12:4: W03: Implictly
                        generating an ID from a name 'INPUT:hrcmatch'
                        -&gt; 'INPUT_hrcmatch'
                        [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W03: test1.xml:13:4: W03: Implictly
                        generating an ID from a name 'INPUT:zoom' -&gt;
                        'INPUT_zoom' [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W03: test1.xml:14:4: W03: Implictly
                        generating an ID from a name 'INPUT:autoscale'
                        -&gt; 'INPUT_autoscale'
                        [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W03: test1.xml:15:4: W03: Implictly
                        generating an ID from a name 'INPUT:asinh' -&gt;
                        'INPUT_asinh' [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W06: test1.xml:16:4: W06: Invalid
                        UCD 'VOX:STC_CoordRefFrame': UCD has invalid
                        character ':' in 'VOX:STC_CoordRefFrame'
                        [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W06: test1.xml:17:4: W06: Invalid
                        UCD 'VOX:WCS_CoordProjection': UCD has invalid
                        character ':' in 'VOX:WCS_CoordProjection'
                        [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W06: test1.xml:19:6: W06: Invalid
                        UCD 'VOX:Image_AccessReference': UCD has invalid
                        character ':' in 'VOX:Image_AccessReference'
                        [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W06: test1.xml:82:6: W06: Invalid
                        UCD 'VOX:Image_Format': UCD has invalid
                        character ':' in 'VOX:Image_Format'
                        [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W06: test1.xml:91:6: W06: Invalid
                        UCD 'VOX:Image_Title': UCD has invalid character
                        ':' in 'VOX:Image_Title'
                        [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W06: test1.xml:94:6: W06: Invalid
                        UCD 'VOX:Image_Naxis': UCD has invalid character
                        ':' in 'VOX:Image_Naxis'
                        [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W06: test1.xml:97:6: W06: Invalid
                        UCD 'VOX:Image_Scale': UCD has invalid character
                        ':' in 'VOX:Image_Scale'
                        [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W06: test1.xml:100:6: W06: Invalid
                        UCD 'VOX:Image_Naxes': UCD has invalid character
                        ':' in 'VOX:Image_Naxes'
                        [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W06: test1.xml:103:6: W06: Invalid
                        UCD 'VOX:WCS_CoordRefPixel': UCD has invalid
                        character ':' in 'VOX:WCS_CoordRefPixel'
                        [astropy.io.votable.exceptions]</div>
                      <div>WARNING: W06: test1.xml:106:6: W06: Invalid
                        UCD 'VOX:WCS_CoordRefValue': UCD has invalid
                        character ':' in 'VOX:WCS_CoordRefValue'
                        (suppressing further warnings of this type...)
                        [astropy.io.votable.exceptions]</div>
                      <div>ERROR: OverflowError: Python int too large to
                        convert to C long [numpy.ma.core]</div>
                      <div>---------------------------------------------------------------------------</div>
                      <div>OverflowError &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                        Traceback (most recent call last)</div>
                      <div>/Volumes/Apps_and_Docs/aptak/Dropbox/HLA/&lt;ipython-input-6-61a1dc44cf49&gt;


                        in &lt;module&gt;()</div>
                      <div>----&gt; 1 votable = parse("test1.xml")</div>
                      <div><br>
                      </div>
                      <div>/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/astropy/io/votable/table.pyc


                        in parse(source, columns, invalid, pedantic,
                        chunk_size, table_number, table_id, filename,
                        _debug_python_based_parser)</div>
                      <div>&nbsp; &nbsp; 114 &nbsp; &nbsp; &nbsp; &nbsp;
                        _debug_python_based_parser=_debug_python_based_parser)
                        as iterator:</div>
                      <div>&nbsp; &nbsp; 115 &nbsp; &nbsp; &nbsp; &nbsp; return tree.VOTableFile(</div>
                      <div>--&gt; 116 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; config=config, pos=(1,
                        1)).parse(iterator, config)</div>
                      <div>&nbsp; &nbsp; 117&nbsp;</div>
                      <div>&nbsp; &nbsp; 118&nbsp;</div>
                      <div><br>
                      </div>
                      <div>/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/astropy/io/votable/tree.pyc


                        in parse(self, iterator, config)</div>
                      <div>&nbsp; &nbsp;3084 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if start:</div>
                      <div>&nbsp; &nbsp;3085 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tag_mapping.get(tag,
                        self._add_unknown_tag)(</div>
                      <div>-&gt; 3086 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; iterator, tag,
                        data, config, pos)</div>
                      <div>&nbsp; &nbsp;3087 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elif tag ==
                        'DESCRIPTION':</div>
                      <div>&nbsp; &nbsp;3088 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if self.description
                        is not None:</div>
                      <div><br>
                      </div>
                      <div>/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/astropy/io/votable/tree.pyc


                        in _add_resource(self, iterator, tag, data,
                        config, pos)</div>
                      <div>&nbsp; &nbsp;3015 &nbsp; &nbsp; &nbsp; &nbsp; resource =
                        Resource(config=config, pos=pos, **data)</div>
                      <div>&nbsp; &nbsp;3016 &nbsp; &nbsp; &nbsp; &nbsp;
                        self.resources.append(resource)</div>
                      <div>-&gt; 3017 &nbsp; &nbsp; &nbsp; &nbsp; resource.parse(self,
                        iterator, config)</div>
                      <div>&nbsp; &nbsp;3018&nbsp;</div>
                      <div>&nbsp; &nbsp;3019 &nbsp; &nbsp; def _add_coosys(self, iterator,
                        tag, data, config, pos):</div>
                      <div><br>
                      </div>
                      <div>/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/astropy/io/votable/tree.pyc


                        in parse(self, votable, iterator, config)</div>
                      <div>&nbsp; &nbsp;2871 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if start:</div>
                      <div>&nbsp; &nbsp;2872 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tag_mapping.get(tag,
                        self._add_unknown_tag)(</div>
                      <div>-&gt; 2873 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; iterator, tag,
                        data, config, pos)</div>
                      <div>&nbsp; &nbsp;2874 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elif tag ==
                        'DESCRIPTION':</div>
                      <div>&nbsp; &nbsp;2875 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if self.description
                        is not None:</div>
                      <div><br>
                      </div>
                      <div>/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/astropy/io/votable/tree.pyc


                        in _add_table(self, iterator, tag, data, config,
                        pos)</div>
                      <div>&nbsp; &nbsp;2828 &nbsp; &nbsp; &nbsp; &nbsp; table = Table(self._votable,
                        config=config, pos=pos, **data)</div>
                      <div>&nbsp; &nbsp;2829 &nbsp; &nbsp; &nbsp; &nbsp; self.tables.append(table)</div>
                      <div>-&gt; 2830 &nbsp; &nbsp; &nbsp; &nbsp; table.parse(iterator,
                        config)</div>
                      <div>&nbsp; &nbsp;2831&nbsp;</div>
                      <div>&nbsp; &nbsp;2832 &nbsp; &nbsp; def _add_info(self, iterator,
                        tag, data, config, pos):</div>
                      <div><br>
                      </div>
                      <div>/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/astropy/io/votable/tree.pyc


                        in parse(self, iterator, config)</div>
                      <div>&nbsp; &nbsp;2212 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                        'TABLEDATA', data.iterkeys(), config, pos)</div>
                      <div>&nbsp; &nbsp;2213 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.array =
                        self._parse_tabledata(</div>
                      <div>-&gt; 2214 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                        iterator, colnumbers, fields, config)</div>
                      <div>&nbsp; &nbsp;2215 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break</div>
                      <div>&nbsp; &nbsp;2216 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elif tag ==
                        'BINARY':</div>
                      <div><br>
                      </div>
                      <div>/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/astropy/io/votable/tree.pyc


                        in _parse_tabledata(self, iterator, colnumbers,
                        fields, config)</div>
                      <div>&nbsp; &nbsp;2357&nbsp;</div>
                      <div>&nbsp; &nbsp;2358 &nbsp; &nbsp; &nbsp; &nbsp; array = _resize(array,
                        alloc_rows)</div>
                      <div>-&gt; 2359 &nbsp; &nbsp; &nbsp; &nbsp; array[numrows:] =
                        array_chunk</div>
                      <div>&nbsp; &nbsp;2360 &nbsp; &nbsp; &nbsp; &nbsp; if alloc_rows != 0:</div>
                      <div>&nbsp; &nbsp;2361 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; array.mask[numrows:] =
                        mask_chunk</div>
                      <div><br>
                      </div>
                      <div>/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/numpy/ma/core.pyc


                        in __setslice__(self, i, j, value)</div>
                      <div>&nbsp; &nbsp;3067&nbsp;</div>
                      <div>&nbsp; &nbsp;3068 &nbsp; &nbsp; &nbsp; &nbsp; """</div>
                      <div>-&gt; 3069 &nbsp; &nbsp; &nbsp; &nbsp; self.__setitem__(slice(i,
                        j), value)</div>
                      <div>&nbsp; &nbsp;3070&nbsp;</div>
                      <div>&nbsp; &nbsp;3071&nbsp;</div>
                      <div><br>
                      </div>
                      <div>/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/numpy/ma/core.pyc


                        in __setitem__(self, indx, value)</div>
                      <div>&nbsp; &nbsp;3031 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _mask =
                        ndarray.__getattribute__(self, '_mask')</div>
                      <div>&nbsp; &nbsp;3032 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Set the data, then the
                        mask</div>
                      <div><br>
                      </div>
                      <div>-&gt; 3033 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                        ndarray.__setitem__(_data, indx, dval)</div>
                      <div>&nbsp; &nbsp;3034 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                        ndarray.__setitem__(_mask, indx, mval)</div>
                      <div>&nbsp; &nbsp;3035 &nbsp; &nbsp; &nbsp; &nbsp; elif hasattr(indx, 'dtype')
                        and (indx.dtype == MaskType):</div>
                      <div><br>
                      </div>
                      <div>OverflowError: Python int too large to
                        convert to C long</div>
                    </font></div>
                </div>
                <div style="word-wrap:break-word">
                  <div><font face="Arial"> </font></div>
                </div>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
AstroPy mailing list
<a class="moz-txt-link-abbreviated" href="mailto:AstroPy@scipy.org">AstroPy@scipy.org</a>
<a class="moz-txt-link-freetext" href="http://mail.scipy.org/mailman/listinfo/astropy">http://mail.scipy.org/mailman/listinfo/astropy</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>