<HTML>

<HEAD>

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">

<META NAME="Generator" CONTENT="Microsoft Word 97">

<TITLE>GATOR Overview and Tutorial </TITLE>

<META NAME="Template" CONTENT="C:\PROGRAM FILES\MSOFFICE\OFFICE\html.dot">

</HEAD>

<BODY LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff">

<P><!doctype html public "-//w3c//dtd html 4.0 transitional//en">&nbsp; </P>

<P ALIGN="RIGHT"><TABLE CELLSPACING=0 BORDER=0 WIDTH=822>

<TR><TD WIDTH="0%" VALIGN="TOP" HEIGHT=1480><P></P></TD>

<TD WIDTH="100%" VALIGN="TOP" COLSPAN=2 HEIGHT=1480>

<FONT SIZE=6 COLOR="#ffff00"><P ALIGN="CENTER">Gator-Aid Tutorial</P>

</FONT><P><A NAME="overview"></A><BR>

<A NAME="tut"></A> This section describes step-by-step examples of how to use GATOR. The examples include links to sample outputs. The values in quotes are entered in the forms without&nbsp; <BR>

the quotes. </P>

<FONT COLOR="#ff0000"><P>Example 1:&nbsp; Perform a cone search of&nbsp; all measurements within 1 degree of M51 in the 2MASS Second Incremental Release Point Source Catalog; return</FONT> <BR>

<FONT COLOR="#ff0000">ra, dec, J, H and K magnitudes, with output records ordered by K magnitude.</FONT> </P>

<P>Step 1:&nbsp;&nbsp;&nbsp; At the start-up page, choose the <FONT COLOR="#ff0000">2MASS Second Incremental Release Point Source Catalog</FONT>&nbsp; by clicking the selection button for that catalog; hit select <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to bring up the query builder&nbsp; window for that catalog <BR>

Step 2:&nbsp;&nbsp;&nbsp; Required Constraints: Choose table output to get a tabular listing of matches (the only option available for a cone search).&nbsp; <BR>

Step 3:&nbsp;&nbsp;&nbsp; Required Constraints: Enter a fully qualified email address; e.g. sam@astro.jupiter.edu <BR>

Step 4:&nbsp;&nbsp;&nbsp; Spatial Constraints:&nbsp; Select cone search, type '1',&nbsp; select degrees from the pull-down menu, and enter 'M51'. <BR>

Step 5:&nbsp;&nbsp;&nbsp; User defined constraints: clear out any constraint typed in the space <BR>

Step 6:&nbsp;&nbsp;&nbsp; In column selection, type 'k_m'&nbsp; in the Order By space, hit 'None' in column selection, then hit 'Sel' column for ra, dec, j_m, h_m and <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; k_m <BR>

Step 7:&nbsp;&nbsp; Hit "Run Query" <BR>

Step 8:&nbsp;&nbsp; The Process Monitor window is brought up - see <A HREF="Example1_monitor.html">sample</A>. Hit "Check Query Status" to bring up the <A HREF="example1_log.html">processing log</A> for the job. Hit "Update Query Status" to&nbsp; <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; refresh it. Hit View Table link at the bottom of the page to <A HREF="Example1_out.pt">display the output table</A>. You can also use the back button to go back to the Process Monitor <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and hit the View Table. This can be done during the processing, so that the table itself can be monitored while it is being written. The output file can be&nbsp; <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; downloaded through the File/Save As Feature in Netscape and Internet Explorer <BR>

Step 9:&nbsp;&nbsp;&nbsp; Read your <A HREF="example1_mail.html">email from IRSA</A> that provides a processing summary and a link to the output file.&nbsp; </P>

<FONT COLOR="#ff0000"><P>Example 2:&nbsp; Perform a cone search of&nbsp; all measurements within 1 degree of M51 in the 2MASS Second Incremental Release Point Source Catalog; return</FONT> <BR>

<FONT COLOR="#ff0000">ra, dec, J, H and K magnitudes for all rows where the J magnitude is less than 12.0, with output records ordered by K magnitude.</FONT> </P>

<P>The procedure differs from that in Example 1 step 5. </P>

<P>Step 1:&nbsp; At the start-up page, choose the <FONT COLOR="#ff0000">2MASS Second Incremental Release Point Source Catalog</FONT>&nbsp; by clicking the selection button for that catalog; hit select <BR>

to bring up the query builder&nbsp; window for that catalog <BR>

Step 2:&nbsp;&nbsp;&nbsp; Required Constraints: Choose table output to get a tabular listing of matches (the only option available for a cone search).&nbsp; <BR>

Step 3:&nbsp;&nbsp;&nbsp; Required Constraints: Enter a fully qualified email address. <BR>

Step 4:&nbsp;&nbsp;&nbsp; Spatial Constraints:&nbsp; Select cone search, type 1,&nbsp; select degrees from the pull-down menu, and enter "M51" (without quotes). <BR>

S<FONT COLOR="#0000ff">tep 5:&nbsp;&nbsp;&nbsp; User defined constraints: type "j_m&lt;12.0"</FONT> <BR>

Step 6:&nbsp;&nbsp;&nbsp; In column selection, type 'k_m' (no quotes) in the Order By space, hit 'None' in column selection, then hit 'Sel' column for ra, dec, j_m, h_m and <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; k_m <BR>

Step 7:&nbsp;&nbsp; Hit "Run Query" <BR>

Step 8:&nbsp;&nbsp;&nbsp; The Process Monitor window is brought up - see <A HREF="example2_monitor.html">sample</A>. Hit "Check Query Status" to bring up the <A HREF="example2_log.html">processing log</A> for the job. Hit "Update Query Status" to&nbsp; <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; refresh it. Hit View Table link at the bottom of the page to <A HREF="example2_out.pt">display the output table</A>. You can also use the back button to go back to the Process Monitor <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and hit the View Table. <FONT COLOR="#0000ff">The output file is smaller than in example 1, and contains only those rows having a J magnitde less than 12, ordered by ascending value</FONT> <BR>

<FONT COLOR="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; of K magnitude. </FONT>This can be done during the processing, so that the table itself can be monitored while it is being written. The output file can be&nbsp; <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; downloaded through the File/Save As Feature in Netscape and Internet Explorer <BR>

Step 9:&nbsp;&nbsp;&nbsp; Read your <A HREF="mail_example2.html">email from IRSA</A> that provides a link to the output file, and a processing summary </P>

<FONT COLOR="#ff0000"><P>Example 3:&nbsp; Perform a cone search of&nbsp; all measurements within 1 degree of&nbsp; RA =0, dec=0&nbsp; in the 2MASS Second Incremental Release Point Source Catalog; return</FONT> <BR>

<FONT COLOR="#ff0000">ra, dec, J, H and K magnitudes for all rows where the J magnitude is greater than 12 and declination greater than 85 degrees, with output records ordered by K magnitude.</FONT> </P>

<P>This contrived example shows how Gator returns data from a null request. It returns a file containing a header but no records, but does not report messages that no records have been found.<BR>

The procedure differs from that in Example 1 in steps 4 and 5. </P>

<P>Step 1:&nbsp; At the start-up page, choose the <FONT COLOR="#ff0000">2MASS Second Incremental Release Point Source Catalog</FONT>&nbsp; by clicking the selection button for that catalog; hit select <BR>

to bring up the query builder&nbsp; window for that catalog <BR>

Step 2:&nbsp;&nbsp;&nbsp; Required Constraints: Choose table output to get a tabular listing of matches (the only option available for a cone search).&nbsp; <BR>

Step 3:&nbsp;&nbsp;&nbsp; Required Constraints: Enter a fully qualified email address. <BR>

<FONT COLOR="#0000ff">Step 4:&nbsp;&nbsp;&nbsp; Spatial Constraints:&nbsp; Select cone search, type 1,&nbsp; select degrees from the pull-down menu, and enter "0&nbsp; 0 " (without quotes).</FONT> <BR>

S<FONT COLOR="#0000ff">tep 5:&nbsp;&nbsp;&nbsp; User defined constraints: type "j_m&lt;12.0 and dec 85"</FONT> <BR>

Step 6:&nbsp;&nbsp;&nbsp; In column selection, type 'k_m' (no quotes) in the Order By space, hit 'None' in column selection, then hit 'Sel' column for ra, dec, j_m, h_m and <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; k_m <BR>

Step 7:&nbsp;&nbsp; Hit "Run Query" <BR>

Step 8:&nbsp;&nbsp; The Process Monitor window is brought up - see <A HREF="example3_monitor.html">sample</A>. Hit "Check Query Status" to bring up the <A HREF="example2_log.html">processing log</A> for the job. Hit "Update Query Status" to&nbsp; <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; refresh it. Hit View Table link at the bottom of the page to <A HREF="example3_out.pt">display the output table</A>. You can also use the back button to go back to the Process Monitor <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and hit the View Table. <FONT COLOR="#0000ff">The file contains only the header.</FONT> <BR>

<FONT COLOR="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>This can be done during the processing, so that the table itself can be monitored while it is being written. The output file can be&nbsp; <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; downloaded through the File/Save As Feature in Netscape and Internet Explorer <BR>

Step 9:&nbsp;&nbsp;&nbsp; Read your <A HREF="mail_example2.html">email from IRSA</A> that provides a link to the output file, and a processing summary <BR>

&nbsp;</TD>

</TR>

<TR><TD WIDTH="0%" VALIGN="TOP" HEIGHT=1130><P></P></TD>

<TD WIDTH="100%" VALIGN="TOP" COLSPAN=2 HEIGHT=1130>

<FONT COLOR="#ff0000"><P>Example 1: Simple query working with the 2MASS 2<SUP>nd</SUP> Incremental Release Point Source catalog to retrieve all point sources fainter than 15th magnitude and confined to a strip of sky between declinations 17 and 18 degrees. </P>

</FONT><P>Step 1:&nbsp;&nbsp;&nbsp; At the start-up page, choose the <FONT COLOR="#ff0000">2MASS Second Incremental Release Point Source Catalog</FONT>&nbsp; by clicking the selection button for that catalog; hit select <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to bring up the query builder&nbsp; window for that catalog <BR>

Step 2:&nbsp;&nbsp;&nbsp; Required Constraints: Choose table output to get a tabular listing of matches (the only option available for a cone search).&nbsp; <BR>

Step 3:&nbsp;&nbsp;&nbsp; Required Constraints: Enter a fully qualified email address; e.g. sam@astro.jupiter.edu <BR>

Step 4:&nbsp;&nbsp;&nbsp; Spatial Constraints:&nbsp; Select cone search, type '1',&nbsp; select degrees from the pull-down menu, and enter 'M51'. <BR>

Step 5:&nbsp;&nbsp;&nbsp; User defined constraints: clear out any constraint typed in the space <BR>

Step 6:&nbsp;&nbsp;&nbsp; In column selection, type 'k_m'&nbsp; in the Order By space, hit 'None' in column selection, then hit 'Sel' column for ra, dec, j_m, h_m and <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; k_m <BR>

Step 7:&nbsp;&nbsp; Hit "Run Query" <BR>

Step 8:&nbsp;&nbsp; The Process Monitor window is brought up - see <A HREF="Example1_monitor.html">sample</A>. Hit "Check Query Status" to bring up the <A HREF="example1_log.html">processing log</A> for the job. Hit "Update Query Status" to&nbsp; <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; refresh it. Hit View Table link at the bottom of the page to <A HREF="Example1_out.pt">display the output table</A>. You can also use the back button to go back to the Process Monitor <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and hit the View Table. This can be done during the processing, so that the table itself can be monitored while it is being written. The output file can be&nbsp; <BR>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; downloaded through the File/Save As Feature in Netscape and Internet Explorer <BR>

Step 9:&nbsp;&nbsp;&nbsp; Read your <A HREF="example1_mail.html">email from IRSA</A> that provides a processing summary and a link to the output file.&nbsp;</P>

<BLOCKQUOTE>Step 1: Select 'Sampler Point Source Ctalog' in the "2 Micron All-Sky Survey First Incremental Release Public Database". </BLOCKQUOTE>

<BLOCKQUOTE>Step 2: Click submit. Now detailed selection page appears. Note: Any "submit" on the menu will suffice. </BLOCKQUOTE>

<BLOCKQUOTE>Step 3: Select "None (All Sky)" in the Spatial Constraints section. </BLOCKQUOTE>

<BLOCKQUOTE>Step 4: Clear out the "cntr &lt; 10" in the Constraints by SQL input area. </BLOCKQUOTE>

<BLOCKQUOTE>Step 5: Go to Query-By-Table and Output Column Selection section. Scroll down (the third rows for the top) until you find the row for declination. Enter without the parentheses ( 17) into the box of the Low Limit column and (&lt; 18) in the box of the Up Limit column. </BLOCKQUOTE>

<BLOCKQUOTE>Step 6: Enter e-mail address, so that the status will be informed. </BLOCKQUOTE>

<BLOCKQUOTE>Step 7: Scroll down again until you find the three rows for J, H, and K magnitude (labeled j_m, h_m, and k_m.) Enter in the Low Limit column ' 15' for all three boxes. </BLOCKQUOTE>

<BLOCKQUOTE>Step 8: Finally click on [Run Query] in the menu. </BLOCKQUOTE>

<BLOCKQUOTE>Step 9: Click one of the 'Run Query' buttons. One is located at the beginning of the page, while the another one is located at the bottom of the page.&nbsp; </BLOCKQUOTE>

<BLOCKQUOTE>Keep in mind: In Step 7, the objective was to select objects *fainter* than 15th magnitude. Since fainter objects register as 16th, 17th, 18th, etc. magnitude, we used the greater-than symbol ().&nbsp; </BLOCKQUOTE>

<BLOCKQUOTE>The another window is popped out, which contains your output file name and working space information. This information is required when you use monitor.&nbsp; </BLOCKQUOTE>

<BLOCKQUOTE>Step 10: Click 'Check Status' to view your log file which corresponds to your query. </BLOCKQUOTE>

<BLOCKQUOTE>Step 11: You can click 'Stop Process' to stop your query.&nbsp; </BLOCKQUOTE>

<BLOCKQUOTE>Step 12: Click 'View Table' to view your output file.&nbsp;</BLOCKQUOTE>

<P>The first and last few lines of output look like the following:&nbsp; </P>

<FONT SIZE=1><PRE>\fixlen = T\primary&nbsp;&nbsp;&nbsp; = 0\RowsRetreived =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2112&nbsp; \QueryTime&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp; 00:00:04.92739&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \ORIGIN&nbsp; = 'IPAC Infrared Science Archive (IRSA), Caltech/JPL'\DATETIME= '2001-01-02 13:37:00'\DATABASE= 'Sampler Point Source Catalog (PSC)&nbsp; (pts_samp_cat_01)'\EQUINOX = 'J2000'\SQL&nbsp;&nbsp;&nbsp;&nbsp; = 'WHERE&nbsp; dec 17 and&nbsp; dec &lt;18 and&nbsp; j_m 15 and&nbsp; h_m 15 and&nbsp; k_m 15'\SQL&nbsp;&nbsp;&nbsp;&nbsp; = 'SELECT (13 column names follow in next row.)'|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ra|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dec|&nbsp;&nbsp;&nbsp; j_m|j_msig|&nbsp;&nbsp;&nbsp; h_m|h_msig|&nbsp;&nbsp;&nbsp; k_m|k_msig|rd_flg|cc_flg|extd_flg|b_m_op|r_m_op||&nbsp;&nbsp;&nbsp;&nbsp; double|&nbsp;&nbsp;&nbsp; double| double|double| double|double| double|double|&nbsp; char|&nbsp; char|&nbsp;&nbsp;&nbsp;&nbsp; int|double|double||&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ||&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; null|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; null|&nbsp;&nbsp; null|&nbsp; null|&nbsp;&nbsp; null|&nbsp; null|&nbsp;&nbsp; null|&nbsp; null|&nbsp; null|&nbsp; null|&nbsp;&nbsp;&nbsp; null|&nbsp; null|&nbsp; null|&nbsp; 134.432070&nbsp; 17.000233&nbsp; 16.744&nbsp; 0.159&nbsp; 15.977&nbsp; 0.206&nbsp; 15.537&nbsp; 9.999&nbsp;&nbsp;&nbsp; 220&nbsp;&nbsp;&nbsp; 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 19.10&nbsp; 17.60&nbsp;&nbsp; 135.766618&nbsp; 17.001429&nbsp; 15.559&nbsp; 0.056&nbsp; 15.197&nbsp; 0.099&nbsp; 15.148&nbsp; 0.129&nbsp;&nbsp;&nbsp; 222&nbsp;&nbsp;&nbsp; 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 17.70&nbsp; 16.40&nbsp;&nbsp; 135.142333&nbsp; 17.001944&nbsp; 16.174&nbsp; 0.094&nbsp; 15.391&nbsp; 0.117&nbsp; 15.343&nbsp; 0.155&nbsp;&nbsp;&nbsp; 222&nbsp;&nbsp;&nbsp; 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; null&nbsp;&nbsp; null&nbsp;&nbsp; 134.294303&nbsp; 17.002024&nbsp; 16.249&nbsp; 0.100&nbsp; 15.818&nbsp; 0.158&nbsp; 15.331&nbsp; 0.150&nbsp;&nbsp;&nbsp; 222&nbsp;&nbsp;&nbsp; 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 20.80&nbsp; 18.20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ......&nbsp; 105.995377&nbsp; 17.999550&nbsp; 16.046&nbsp; 0.082&nbsp; 15.518&nbsp; 0.118&nbsp; 15.323&nbsp; 0.159&nbsp;&nbsp;&nbsp; 222&nbsp;&nbsp;&nbsp; 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 20.90&nbsp; 17.40&nbsp;&nbsp; 106.693891&nbsp; 17.999640&nbsp; 16.661&nbsp; 0.131&nbsp; 15.995&nbsp; 0.166&nbsp; 15.926&nbsp; 0.237&nbsp;&nbsp;&nbsp; 222&nbsp;&nbsp;&nbsp; 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 19.00&nbsp; 17.20&nbsp;&nbsp; 105.962050&nbsp; 17.999910&nbsp; 15.582&nbsp; 0.060&nbsp; 15.265&nbsp; 0.098&nbsp; 15.155&nbsp; 0.130&nbsp;&nbsp;&nbsp; 222&nbsp;&nbsp;&nbsp; 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 18.10&nbsp; 16.20&nbsp;</PRE>

</FONT><P>The first and last few lines of output look like the following:&nbsp; </P>

<FONT SIZE=1><PRE>\fixlen = T\primary&nbsp;&nbsp;&nbsp; = 0\RowsRetreived =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 49&nbsp; \QueryTime&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp; 00:00:01.48776&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \ORIGIN&nbsp; = 'IPAC Infrared Science Archive (IRSA), Caltech/JPL'\DATETIME= '2001-01-02 15:17:10'\DATABASE= 'Sampler Point Source Catalog (PSC)&nbsp; (pts_samp_cat_01)'\EQUINOX = 'J2000'\SKYAREA = 'within 3600 arcsec radius of ra=106.00000 dec=+22.00000 Eq J2000 '\SQL&nbsp;&nbsp;&nbsp;&nbsp; = 'WHERE&nbsp; j_m 16.1 and&nbsp; h_m 16.1 and&nbsp; k_m 16.1'\SQL&nbsp;&nbsp;&nbsp;&nbsp; = 'SELECT (13 column names follow in next row.)'|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ra|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dec|&nbsp;&nbsp;&nbsp; j_m|j_msig|&nbsp;&nbsp;&nbsp; h_m|h_msig|&nbsp;&nbsp;&nbsp; k_m|k_msig|rd_flg|cc_flg|extd_flg|b_m_op|r_m_op||&nbsp;&nbsp;&nbsp;&nbsp; double|&nbsp;&nbsp;&nbsp; double| double|double| double|double| double|double|&nbsp; char|&nbsp; char|&nbsp;&nbsp;&nbsp;&nbsp; int|double|double||&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ||&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; null|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; null|&nbsp;&nbsp; null|&nbsp; null|&nbsp;&nbsp; null|&nbsp; null|&nbsp;&nbsp; null|&nbsp; null|&nbsp; null|&nbsp; null|&nbsp;&nbsp;&nbsp; null|&nbsp; null|&nbsp; null|&nbsp; 105.972191&nbsp; 21.571095&nbsp; 16.481&nbsp; 0.110&nbsp; 16.379&nbsp; 0.260&nbsp; 16.825&nbsp; 9.999&nbsp;&nbsp;&nbsp; 220&nbsp;&nbsp;&nbsp; 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 18.60&nbsp; 17.40&nbsp;&nbsp; 105.905231&nbsp; 21.302307&nbsp; 16.351&nbsp; 0.109&nbsp; 16.101&nbsp; 0.194&nbsp; 16.142&nbsp; 0.309&nbsp;&nbsp;&nbsp; 222&nbsp;&nbsp;&nbsp; 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 19.10&nbsp; 18.00&nbsp;&nbsp; 106.140938&nbsp; 21.021360&nbsp; 16.218&nbsp; 0.527&nbsp; 16.332&nbsp; 0.634&nbsp; 16.224&nbsp; 1.759&nbsp;&nbsp;&nbsp; 222&nbsp;&nbsp;&nbsp; 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 20.10&nbsp; 18.30&nbsp;&nbsp; 106.252228&nbsp; 22.437738&nbsp; 16.459&nbsp; 0.112&nbsp; 16.222&nbsp; 0.228&nbsp; 16.124&nbsp; 9.999&nbsp;&nbsp;&nbsp; 220&nbsp;&nbsp;&nbsp; 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 20.30&nbsp; 18.10&nbsp;&nbsp; 106.267316&nbsp; 22.394638&nbsp; 16.281&nbsp; 0.099&nbsp; 16.116&nbsp; 0.191&nbsp; 16.515&nbsp; 9.999&nbsp;&nbsp;&nbsp; 220&nbsp;&nbsp;&nbsp; 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 18.10&nbsp; 17.10&nbsp;&nbsp; 106.140008&nbsp; 22.347929&nbsp; 16.455&nbsp; 0.353&nbsp; 16.148&nbsp; 0.213&nbsp; 16.511&nbsp; 9.999&nbsp;&nbsp;&nbsp; 220&nbsp;&nbsp;&nbsp; 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 19.10&nbsp; 17.70&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ......&nbsp; 106.860233&nbsp; 22.061275&nbsp; 16.340&nbsp; 0.098&nbsp; 16.126&nbsp; 0.178&nbsp; 16.147&nbsp; 0.300&nbsp;&nbsp;&nbsp; 222&nbsp;&nbsp;&nbsp; 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 19.00&nbsp; 17.60&nbsp;&nbsp; 106.882571&nbsp; 22.202032&nbsp; 16.491&nbsp; 0.107&nbsp; 16.497&nbsp; 9.999&nbsp; 16.116&nbsp; 0.294&nbsp;&nbsp;&nbsp; 202&nbsp;&nbsp;&nbsp; 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 18.80&nbsp; 17.90&nbsp;&nbsp; 106.871301&nbsp; 22.297138&nbsp; 16.447&nbsp; 0.107&nbsp; 16.141&nbsp; 0.178&nbsp; 16.209&nbsp; 9.999&nbsp;&nbsp;&nbsp; 220&nbsp;&nbsp;&nbsp; 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 20.20&nbsp; 17.90&nbsp;&nbsp; 105.900533&nbsp; 21.122622&nbsp; 16.462&nbsp; 0.118&nbsp; 16.134&nbsp; 9.999&nbsp; 16.196&nbsp; 0.312&nbsp;&nbsp;&nbsp; 202&nbsp;&nbsp;&nbsp; 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; null&nbsp;&nbsp; null&nbsp;</PRE></FONT></TD>

</TR>

<TR><TD WIDTH="0%" VALIGN="TOP" HEIGHT=1130><P></P></TD>

<TD WIDTH="100%" VALIGN="TOP" COLSPAN=2 HEIGHT=1130>

<FONT COLOR="#ff0000"><P>Example 2:</FONT> A query that will return a list of objects at position (in decimal degrees) 106 by 22 out to a radius of 3600 arcsec. It will search for objects fainter than 16.1 mag.&nbsp; </P>

<BLOCKQUOTE>Step 1: Select 'Sampler Point Source Catalog' as Example 1. </BLOCKQUOTE>

<BLOCKQUOTE>Step 2: Click submit. Now detailed selection page is appeared. </BLOCKQUOTE>

<BLOCKQUOTE>Step 3: Select 'Cone Search' on the Spatial Constraint Section.&nbsp; </BLOCKQUOTE>

<BLOCKQUOTE>Step 4: Enter search radius 3600 in the area following 'Within'.&nbsp; </BLOCKQUOTE>

<BLOCKQUOTE>Step 5: Select the search unit as arcsec.&nbsp; </BLOCKQUOTE>

<BLOCKQUOTE>Step 6: Enter 106 for RA, 22 for DEC, and Coordinat System "Eq J2000". They are case insensitive. </BLOCKQUOTE>

<BLOCKQUOTE>Step 7: Clear out the 'cntr &lt; 10' in the Constraints by SQL input area. </BLOCKQUOTE>

<BLOCKQUOTE>Step 8: Scroll down until you find the three rows for J, H, and K magnitude (labeled j_m, h_m, and k_m.) Type in the Low Limit column without quotation marks ( 16.1) for all three boxes. </BLOCKQUOTE>

<BLOCKQUOTE>Step 9: Finally click on [Run Query] in the menu.</BLOCKQUOTE>

<P><BR>

The first and last few lines of output look like the following: </P>

<PRE>\fixlen = T&nbsp;&nbsp;&nbsp;&nbsp; \primary = 0&nbsp;&nbsp;&nbsp;&nbsp; \RowsRetreived = 49&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \QueryTime = 00:00:01.48776&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \ORIGIN = 'IPAC Infrared Science Archive (IRSA), Caltech/JPL'&nbsp;&nbsp;&nbsp;&nbsp; \DATETIME= '2001-01-02 15:17:10'&nbsp;&nbsp;&nbsp;&nbsp; \DATABASE= 'Sampler Point Source Catalog (PSC) (pts_samp_cat_01)'&nbsp;&nbsp;&nbsp;&nbsp; \EQUINOX = 'J2000'&nbsp;&nbsp;&nbsp;&nbsp; \SKYAREA = 'within 3600 arcsec radius of ra=106.00000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dec=+22.00000 Eq J2000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&nbsp;&nbsp;&nbsp;&nbsp; \SQL = 'WHERE j_m 16.1 and h_m 16.1 and k_m 16.1'&nbsp;&nbsp;&nbsp;&nbsp; \SQL = 'SELECT (13 column names follow in next row.)'<FONT SIZE=1>&nbsp;&nbsp;&nbsp;&nbsp; | ra| dec| j_m|j_msig| h_m|h_msig| k_m|k_msig|rd_flg|cc_flg|extd_flg|b_m_op|r_m_op|&nbsp;&nbsp;&nbsp;&nbsp; | double| double| double|double| double|double| double|double| char| char|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int|double|double|&nbsp;&nbsp;&nbsp;&nbsp; | | | | | | | | | | | | | |&nbsp;&nbsp;&nbsp;&nbsp; | null| null| null| null| null| null| null| null| null| null| null| null|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; null|&nbsp;&nbsp;&nbsp;&nbsp; 105.972191 21.571095 16.481 0.110 16.379 0.260 16.825 9.999 220 000 0 18.60&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 17.40&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 105.905231 21.302307 16.351 0.109 16.101 0.194 16.142 0.309 222 000 0 19.10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 18.00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 106.140938 21.021360 16.218 0.527 16.332 0.634 16.224 1.759 222 000 0 20.10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 18.30&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 106.252228 22.437738 16.459 0.112 16.222 0.228 16.124 9.999 220 000 0 20.30&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 18.10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 106.267316 22.394638 16.281 0.099 16.116 0.191 16.515 9.999 220 000 0 18.10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 17.10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 106.140008 22.347929 16.455 0.353 16.148 0.213 16.511 9.999 220 000 0 19.10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 17.70&nbsp;</PRE>

</FONT><P ALIGN="CENTER">......</P>

<FONT SIZE=1><PRE>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 106.860233 22.061275 16.340 0.098 16.126 0.178 16.147 0.300 222 000 0 19.00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 17.60&nbsp; 106.882571 22.202032 16.491 0.107 16.497 9.999 16.116 0.294 202 000 0 18.80&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 17.90&nbsp; 106.871301 22.297138 16.447 0.107 16.141 0.178 16.209 9.999 220 000 0 20.20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 17.90&nbsp; 105.900533 21.122622 16.462 0.118 16.134 9.999 16.196 0.312 202 000 0 null&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; null&nbsp;</PRE></FONT></TD>

</TR>

<TR><TD WIDTH="0%" VALIGN="TOP" HEIGHT=312><P></P></TD>

<TD WIDTH="90%" VALIGN="TOP" HEIGHT=312>

<P><BR>

<FONT COLOR="#ff0000">Example 3:</FONT> The same query in as in Example 2 but this time customizing your output. Specifically, you will have your output consisting of RA and DEC, J,H, and K magnitudes, J,H, and K aperture magnitudes.&nbsp; </P>

<BLOCKQUOTE>Step 1-6 will be identical as those found in Example 2. </BLOCKQUOTE>

<BLOCKQUOTE>Step 7: In the "Query-By-Table and Output Column Selection" on Dataset, select None. </BLOCKQUOTE>

<BLOCKQUOTE>Step 8: Scroll down the list and select the following: ra, dec,&nbsp; <BR>

j_m, h_m, k_m, j_m_stdap, h_m_stdap, k_m_stdap. </BLOCKQUOTE>

<BLOCKQUOTE>Step 9: After making your selections, click on [Run Query] in the menu.</BLOCKQUOTE></TD>

<TD WIDTH="10%" VALIGN="TOP" HEIGHT=312><P></P></TD>

</TR>

<TR><TD WIDTH="0%" VALIGN="TOP" HEIGHT=19><P></P></TD>

<TD WIDTH="90%" VALIGN="TOP" HEIGHT=19>

<P>&nbsp;</TD>

<TD WIDTH="10%" VALIGN="TOP" HEIGHT=19><P></P></TD>

</TR>

<TR><TD WIDTH="0%" VALIGN="TOP" HEIGHT=580><P></P></TD>

<TD WIDTH="90%" VALIGN="TOP" HEIGHT=580>

<FONT COLOR="#ff0000"><P>Example 4:</FONT> NOTE: This function is still under development. Submit a query that will select all objects fainter than 14th magnitude using an uploaded source file containing specific coordinates to search. Here's a sample source file for your <BR>

reference (it's the same one you would find in the help page):&nbsp; </P>

<PRE>\CHAR equinox = 'J2000'&nbsp;&nbsp;&nbsp;&nbsp; | ra | dec |&nbsp;&nbsp;&nbsp;&nbsp; | double | double |&nbsp;&nbsp;&nbsp;&nbsp; 20.1 30.7&nbsp;&nbsp;&nbsp;&nbsp; 21.2 32.2&nbsp;&nbsp;&nbsp;&nbsp; 33.0 20.1&nbsp;&nbsp;&nbsp;&nbsp; 30.5 20.0</PRE>

<BLOCKQUOTE>Step 1: Select 'Sampler Point Source Catalog'. </BLOCKQUOTE>

<BLOCKQUOTE>Step 2: Select "Upload Table" in the Spatial Constraint Section.&nbsp; </BLOCKQUOTE>

<BLOCKQUOTE>Step 3: Set search radius to 3600 arcsec. </BLOCKQUOTE>

<BLOCKQUOTE>Step 4: Click on "Browse" to call up a listing of your directory. Scroll through listing until you find your source file and then select it. </BLOCKQUOTE>

<BLOCKQUOTE>Step 5: Scroll down until you find the three rows for J, H, and K magnitude (labeled j_m, h_m, and k_m.) Type in the Low Limit column (without quotation marks) ( 14) for all three boxes. </BLOCKQUOTE>

<BLOCKQUOTE>Step 6: Finally click on [Run Query] in the main menu.</BLOCKQUOTE></TD>

<TD WIDTH="10%" VALIGN="TOP" HEIGHT=580><P></P></TD>

</TR>

<TR><TD WIDTH="0%" VALIGN="TOP" HEIGHT=95><P></P></TD>

<TD WIDTH="90%" VALIGN="TOP" HEIGHT=95>

<P><HR></P>

<P ALIGN="CENTER">Comments to: <A HREF="mailto:irsa@ipac.caltech.edu">IRSA (irsa@ipac.caltech.edu)</A> <BR>

Last update: 18 September 1998</TD>

<TD WIDTH="10%" VALIGN="TOP" HEIGHT=95><P></P></TD>

</TR>

</TABLE>

</P>

</BODY>

</HTML>