<?xml version="1.0" encoding="UTF-8"?>
<resource xsi:type="vs:CatalogService" status="active"
          created="2000-01-01T09:00:00" updated="2000-01-01T09:00:00"
          xmlns:vr="http://www.ivoa.net/xml/VOResource/v1.0"
          xmlns:vs="http://www.ivoa.net/xml/VODataService/v1.0"
          xmlns:sia="http://www.ivoa.net/xml/SIA/v1.0"
          xmlns:stc="http://www.ivoa.net/xml/STC/stc-v1.30.xsd" 
          xmlns:xlink="http://www.w3.org/1999/xlink" 
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://www.ivoa.net/xml/VOResource/v1.0
                              VOResource-v1.0.xsd
                              http://www.ivoa.net/xml/VODataService/v1.0
                              VODataService-v1.0.xsd
                              http://www.ivoa.net/xml/SIA/v1.0
                              SIA-v1.0.xsd
                              http://www.ivoa.net/xml/STC/stc-v1.30.xsd
                              stc-v1.30.xsd
                              http://www.w3.org/1999/xlink xlink.xsd">

    <validationLevel validatedBy="ivo://nvo.ncsa/registry"> 2 </validationLevel>

    <title>NCSA Astronomy Digital Image Library Simple Image Access</title>
    <shortName>ADIL</shortName>
    <identifier>ivo://adil.ncsa/sia</identifier>

    <curation>
      <publisher ivo-id="ivo://adil.ncsa/adil">
         NCSA Astronomy Digital Image Library (ADIL)
      </publisher>
      <creator>
        <name>Ramon Williamson</name>
        <logo>http://adil.ncsa.uiuc.edu/gifs/adilfooter.gif</logo>
      </creator>
      <contributor>Dr. Raymond Plante</contributor>
      <date role="created">2003-01-01</date>
      <contact>
        <name>ADIL Librarian</name>
	<email>adil@ncsa.uiuc.edu</email>
      </contact>
    </curation>

    <content>
      <subject>data repositories</subject>
      <subject>digital libraries</subject>
      <description>
         This Simple Image Access Protocol implementation allows clients to 
         progrommatically search for images in the ADIL that overlap with 
         the given region.  
      </description>
      <referenceURL>http://adil.ncsa.uiuc.edu/</referenceURL>
      <type>Archive</type>
      <contentLevel>University</contentLevel>
      <contentLevel>Research</contentLevel>
      <contentLevel>Community College</contentLevel>

      <relationship>
         <relationshipType>  service-for  </relationshipType>
         <relatedResource ivo-id="ivo://adil.ncsa/adil">
            NCSA Astronomy Digital Image Library
         </relatedResource>
      </relationship>
    </content>

    <capability xsi:type="sia:SimpleImageAccess" 
                standardID="ivo://ivoa.net/std/SIA">

      <validationLevel validatedBy="ivo://nvo.ncsa/registry">2</validationLevel>

       <interface xsi:type="vs:ParamHTTP" role="std">
          <accessURL>
             http://adil.ncsa.uiuc.edu/cgi-bin/voimquery?survey=f&amp;
          </accessURL>

          <!-- here is a site-specific parameter that this service supports -->
          <param use="optional" std="false">
            <name>FREQ</name>
            <description>Frequency of observation.</description>
            <unit>Hz</unit>
            <dataType>real</dataType>
          </param>
       </interface>

       <imageServiceType>Pointed</imageServiceType>
       <maxQueryRegionSize>
          <long>360.0</long>
          <lat>180.0</lat>
       </maxQueryRegionSize>
       <maxImageExtent>
          <long>360.0</long>
          <lat>180.0</lat>
       </maxImageExtent>
       <maxImageSize>
          <long>5000</long>
          <lat>5000</lat>
       </maxImageSize>
       <maxFileSize>100000000</maxFileSize>
       <maxRecords>5000</maxRecords>
       <testQuery>
          <pos>
             <long>120</long>
             <lat>20</lat>
          </pos>
          <size>
             <long>1</long>
             <lat>1</lat>
          </size>
       </testQuery>
    </capability>

    <coverage>
       <stc:STCResourceProfile
            xmlns="http://www.ivoa.net/xml/STC/stc-v1.30.xsd">

          <AstroCoordSystem xlink:type="simple"
                            xlink:href="ivo://STClib/CoordSys#UTC-FK5-TOPO" 
                            id="UTC-FK5-TOPO"/> 

          <AstroCoordArea coord_system_id="UTC-FK5-TOPO">
             <AllSky/>
          </AstroCoordArea>

       </stc:STCResourceProfile>

       <waveband>Radio</waveband>
       <waveband>Millimeter</waveband>
       <waveband>Infrared</waveband>
       <waveband>Optical</waveband>
       <waveband>UV</waveband>

    </coverage>

    <table>
       <column>
          <name>Codename</name>
          <description>
             ADIL Image Identifier - Unique identifier for image, as assigned 
             by the ADIL</description>
          <dataType arraysize="*">char</dataType>
       </column>
       <column>
          <name>Image Name</name>
          <description>Image Filename, as provide by author</description>
          <dataType arraysize="*">char</dataType>
       </column>
       <column>
          <name>Source Name</name>
          <description>Target Source of Image</description>
          <ucd>ID_MAIN</ucd>
          <dataType arraysize="*">char</dataType>
       </column>
       <column>
          <name>RA (Center)</name>
          <description>RA of Image Center (J2000)</description>
          <unit>degrees</unit>
          <ucd>POS_EQ_RA_MAIN</ucd>
          <dataType>float</dataType>
       </column>
       <column>
          <name>Dec (Center)</name>
          <description>Dec of Image Center (J2000)</description>
          <unit>degrees</unit>
          <ucd>POS_EQ_DEC_MAIN</ucd>
          <dataType>float</dataType>
       </column>
       <column>
          <name>Number of Axes</name>
          <description>Number of axes in the image</description>
          <ucd>VOX:Image_Naxes</ucd>
          <dataType>int</dataType>
       </column>
       <column>
          <name>Naxis</name>
          <description>Size of Image for each dimension</description>
          <ucd>VOX:Image_Naxis</ucd>
          <dataType>int</dataType>
       </column>
       <column>
          <name>Scale</name>
          <description>Scale of Image</description>
          <unit>degrees/pixel</unit>
          <ucd>VOX:Image_Scale</ucd>
          <dataType>double</dataType>
       </column>
       <column>
          <name>Image Format</name>
          <description>Format of Image</description>
          <ucd>VOX:Image_Format</ucd>
          <dataType arraysize="*">char</dataType>
       </column>
       <column>
          <name>Central Frequency</name>
          <description>Frequency at center of the image wavehand</description>
          <unit>Hz</unit>
          <ucd>VOX:BandPass_RefValue</ucd>
          <dataType>double</dataType>
       </column>
       <column>
          <name>Description</name>
          <description>Image Description</description>
          <ucd>VOX:Image_Title</ucd>
          <dataType>char</dataType>
       </column>
       <column>
          <name>Source Types</name>
          <description>a list of Source Types associated with this image</description>
          <dataType arraysize="*">char</dataType>
       </column>
       <column>
          <name>Telescopes</name>
          <description>a list of Telescopes used to create this image</description>
          <ucd>TEL_ID</ucd>
          <dataType arraysize="*">char</dataType>
       </column>
       <column>
          <name>Observation Epoch</name>
          <description>Upper bound on the epoch of the observations</description>
          <unit>years</unit>
          <ucd>NVOX:Image_Epoch</ucd>
          <dataType>double</dataType>
       </column>
       <column>
          <name>URL</name>
          <description>The URL for downloading image</description>
          <ucd>VOX:Image_AccessReference</ucd>
          <dataType arraysize="*">char</dataType>
       </column>
    </table>

</resource>
