Hi John,<br><br>the error is independent of the file we are using and already appears if you just say: ast=AstrometricParameters()<br><br>Cheers,<br>
Johannes<br><br><br><br><div class="gmail_quote">On Thu, Feb 10, 2011 at 3:11 PM, John P. McFarland <span dir="ltr">&lt;<a href="mailto:mcfarland@astro.rug.nl" target="_blank">mcfarland@astro.rug.nl</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Dear Chien-Hsiu,<br>
<br>
The FIXME below is merely an optimization and has nothing to do with this.<br>
<br>
It appears you are using the AWBASE version of the code, and with that code I do not get any errors.  I also tried various other configurations and see no problem.  Can you send me an example of a frame where the AstrometricParametersTask fails so I can try it myself?  Thanks.<br>


<br>
Cheers,<br>
<br>
<br>
-=John<br>
<br>
<br>
On Thu, 10 Feb 2011, Chien-Hsiu Lee wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Dear John,<br>
<br>
Below you can find the version of the SourceList.py and AstrometricParameters.py we are using:<br>
<br>
SourceList.py: Revision: 1.212<br>
AstrometricParameters.py: Revision: 1.153<br>
<br>
And there is a FIXME comment in the AstrometricParameters.py which could be related to this error:<br>
<br>
      # FIXME Only need to figure out best way to get &#39;Area&#39;<br>
      ## Get the USNO catalog directly from the database<br>
      #usno_default_values = {&#39;Xpos&#39;   : -1,<br>
      #                       &#39;Ypos&#39;   : -1,<br>
      #                       &#39;PosErr&#39; : 1.0/3600,<br>
      #                       &#39;A&#39;      : -4.20118523,<br>
      #                       &#39;B&#39;      : -4.20118523,<br>
      #                       &#39;Theta&#39;  : 0.}<br>
      #usnosl_to_ldac_dict = {&#39;A&#39;         : &#39;A_WCS&#39;,<br>
      #                       &#39;B&#39;         : &#39;B_WCS&#39;,<br>
      #                       &#39;POSANG&#39;    : &#39;THETAWCS&#39;,<br>
      #                       &#39;FLAG&#39;      : &#39;Flag&#39;,<br>
      #                       &#39;RA&#39;        : &#39;Ra&#39;,<br>
      #                       &#39;SID&#39;       : &#39;SeqNr&#39;,<br>
      #                       &#39;USNO_BMAG&#39; : &#39;Mag&#39;,<br>
      #                       &#39;DEC&#39;       : &#39;Dec&#39;,<br>
      #                       &#39;USNO_RMAG&#39; : &#39;Mag2&#39;}<br>
      #usno_needed_column_names = usnosl_to_ldac_dict.keys()<br>
      #refsl = (SourceList.name == &#39;USNO Catalog&#39;).max(&#39;SLID&#39;)<br>
      #refsl.make_ldac_catalog_on_sources(name=outcat, Area=..., attr_list=usno_needed_column_names, rename_dict=usnosl_to_ldac_dict)<br>
<br>
I tried to reduce the WFI data from scratch, and this error only occurs in the Astrometry task.<br>
<br>
Thanks and all the best,<br>
Chien-Hsiu Lee<br>
<br>
<br>
<br>
Quoting &quot;John P. McFarland&quot; &lt;<a href="mailto:mcfarland@astro.rug.nl" target="_blank">mcfarland@astro.rug.nl</a>&gt;:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Dear Chien-Hsiu,<br>
<br>
I have been unable to reproduce your error.  Do you still get it with the most recent checkout?  Are there other circumstances where this error occurs?<br>
<br>
Cheers,<br>
<br>
<br>
-=John<br>
<br>
John P. McFarland<br>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
OmegaCEN/NOVA/Target PostDoc/Scientific Programmer<br>
Kapteyn Instituut, Rijksuniversiteit Groningen<br>
Landleven 12 (Zernikeborg)<br>
9747 AD Groningen<br>
The Netherlands<br>
               p: Postbus 800<br>
                  9700 AV Groningen<br>
                  The Netherlands<br>
               e: &lt;<a href="mailto:mcfarland@astro.rug.nl" target="_blank">mcfarland@astro.rug.nl</a>&gt;<br>
               o: 0147 Zernikeborg (5419)<br>
               t: +31 (0)50 363 8326<br>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
<br>
<br>
On Fri, 4 Feb 2011, Chien-Hsiu Lee wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Dear AWE users,<br>
<br>
I had a problem performing Astrometry on WFI data and was wondering if<br>
anyone had the same error. The error message can be reproduced as<br>
following:<br>
<br>
awe&gt; ast=AstrometricParameters()<br>
Traceback (most recent call last):<br>
File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>
File<br>
&quot;/afs/ipp/home/c/chlee/opipe/AWBASE/common/database/DBMeta.py&quot;, line<br>
301, in __call__<br>
  return self.database.get_instance(self, *args, **kwargs)<br>
File<br>
&quot;/afs/ipp/home/c/chlee/opipe/AWBASE/common/database/DBOracle.py&quot;, line<br>
293, in get_instance<br>
  result.__init__(*args, **kwargs)<br>
File<br>
&quot;/afs/ipp/home/c/chlee/opipe/AWBASE/astro/main/AstrometricParameters.py&quot;, line<br>
282, in __init__<br>
  self.refsl = ImportSourceList(Name=USNO_NAME, Area=range)<br>
File &quot;/afs/ipp/home/c/chlee/opipe/AWBASE/astro/main/SourceList.py&quot;,<br>
line 2010, in ImportSourceList<br>
  import_range = Area_To_HTM_Ranges(depth = 9, Area = Area)<br>
File &quot;/afs/ipp/home/c/chlee/opipe/AWBASE/astro/main/SourceList.py&quot;,<br>
line 2691, in Area_To_HTM_Ranges<br>
  raise Exception, &#39;Area_To_HTM_Ranges: do not comprehend Area argument!&#39;<br>
Exception: Area_To_HTM_Ranges: do not comprehend Area argument!<br>
<br>
The AWBASE we are using is checked-out on 2011.02.03.<br>
<br>
Best,<br>
Chien-Hsiu Lee<br>
<br>
----------------------------------------------------------------<br>
This message was sent using IMP, the Internet Messaging Program.<br>
<br>
_______________________________________________<br>
Issues mailing list<br>
<a href="mailto:Issues@astro-wise.org" target="_blank">Issues@astro-wise.org</a><br>
<a href="http://listman.astro-wise.org/mailman/listinfo/issues" target="_blank">http://listman.astro-wise.org/mailman/listinfo/issues</a><br>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
<br>
----------------------------------------------------------------<br>
This message was sent using IMP, the Internet Messaging Program.<br>
<br>
<br>
** ACCEPT: CRM114 PASS osb unique microgroom Matcher **CLASSIFY succeeds; success probability: 1.0000  pR: 28.0250<br>
Best match to file #0 (nonspam.css) prob: 1.0000  pR: 28.0250 Total features in input file: 5136<br>
#0 (nonspam.css): features: 1840617, hits: 1238483, prob: 1.00e+00, pR: 28.03#1 (spam.css): features: 2825434, hits: 2196762, prob: 9.44e-29, pR: -28.03<br>
</blockquote>
</blockquote></div><br>