<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE VOTABLE SYSTEM "http://us-vo.org/xml/VOTable.dtd">
<VOTABLE>
<DESCRIPTION>STScI Hubble Legacy Archive SIAP</DESCRIPTION>
  <RESOURCE type="results">
    <INFO name="QUERY_STATUS" value="OK"></INFO>
	<PARAM datatype="char" name="INPUT:POS" arraysize="*" unit="deg">
      <DESCRIPTION>
         Search position in decimal degrees in the form "ra,dec"
      </DESCRIPTION>
    </PARAM>
    <PARAM datatype="char" name="INPUT:POSFILENAME" arraysize="*">
      <DESCRIPTION>
        Name of a file on the server with a list of input positions.
        Each line should have space-delimited RA and Dec in degrees
        as the first two columns on the line.  Note that this file
        must already exist on the server.
      </DESCRIPTION>
    </PARAM>
    <PARAM datatype="double" name="INPUT:SIZE" unit="deg">
      <DESCRIPTION>
        SIZE to search in degrees (double)
      </DESCRIPTION>
    </PARAM>
    <PARAM datatype="char" name="INPUT:NAXIS" arraysize="*">
      <DESCRIPTION>
        Size of output cutout image in pixels (int,int or int)
        If value is blank or omitted, the entire image is returned.
      </DESCRIPTION>
    </PARAM>
    <PARAM datatype="char" name="INPUT:FORMAT" arraysize="*">
      <DESCRIPTION>
        Type of image(s) to return: one of ALL (default), METADATA, image/fits,
        GRAPHIC, image/jpeg, image/png
      </DESCRIPTION>
      <VALUES>
        <OPTION value="ALL"></OPTION>
        <OPTION value="METADATA"></OPTION>
        <OPTION value="image/fits"></OPTION>
        <OPTION value="GRAPHIC"></OPTION>
        <OPTION value="image/jpeg"></OPTION>
        <OPTION value="image/png"></OPTION>
      </VALUES>
    </PARAM>
    <PARAM datatype="char" name="INPUT:imagetype" arraysize="*">
      <DESCRIPTION>
        Type of images to return: one of best (default), combined, hlsp,
        mosaic, exposure, color, all.
        Combined &amp; mosaic images are drizzled and have cosmic rays removed.
        HLSP images are community-contributed high-level products.
        Exposure images are individual exposures that still have CRs.
        Color images are composed of 3-band combined images.
      </DESCRIPTION>
      <VALUES>
        <OPTION value="best"></OPTION>
        <OPTION value="combined"></OPTION>
        <OPTION value="hlsp"></OPTION>
        <OPTION value="exposure"></OPTION>
        <OPTION value="color"></OPTION>
        <OPTION value="all"></OPTION>
      </VALUES>
    </PARAM>
    <PARAM datatype="char" name="INPUT:inst" arraysize="*">
      <DESCRIPTION>
        Instruments desired: one or more comma-separated
        choices from ACS, WFPC2, WFPC2-PC, NICGRISM, ACSGRISM, STIS, FOS, GHRS, NICMOS
        (default is 'ACS,WFPC2,NICGRISM,ACSGRISM,STIS,FOS,GRHS,NICMOS')
      </DESCRIPTION>
    </PARAM>
    <PARAM datatype="int" name="INPUT:hrcmatch">
      <DESCRIPTION>
        If true, extracts HRC cutouts that are twice the size (in pixels)
        of the WFC cutouts and bins them down by a factor of 2 for display.
        Then the HRC cutouts match the WFC cutouts in angular size and scale.
        Similarly, extracts WFPC2 cutouts that are half the size of WFC so
        they also match in scale.
        If false (default), then the HRC/WFPC2 cutouts are the same size in pixels as the WFC
        cutouts and are not rebinned.
      </DESCRIPTION>
      <VALUES>
        <OPTION value="1"></OPTION>
        <OPTION value="0"></OPTION>
      </VALUES>
    </PARAM>
    <PARAM datatype="double" name="INPUT:autoscale" unit="%">
      <DESCRIPTION>
        Contrast adjustment (double): Percentage of image histogram to retain
        (default 99.5). Smaller values turn up the contrast.  Applies to
        graphic format images (JPEG, PNG).
      </DESCRIPTION>
    </PARAM>
    <PARAM datatype="int" name="INPUT:asinh">
      <DESCRIPTION>
        If set (non-zero), use the Lupton asinh contrast algorithm. Default is on.
      </DESCRIPTION>
      <VALUES>
        <OPTION value="1"></OPTION>
        <OPTION value="0"></OPTION>
      </VALUES>
    </PARAM>
    <PARAM datatype="int" name="INPUT:compass">
      <DESCRIPTION>
        If set, draws compass arrows showing north and east. Applies only
        to image/png format.
      </DESCRIPTION>
      <VALUES>
        <OPTION value="0"></OPTION>
        <OPTION value="1"></OPTION>
      </VALUES>
    </PARAM>
    <PARAM datatype="char" name="INPUT:palette" arraysize="*">
      <DESCRIPTION>
        Color palette used for display.  Applies only to image/png format.
        Options are gray, heat, cool, rainbow, red, green, blue.
      </DESCRIPTION>
      <VALUES>
        <OPTION value="gray"></OPTION>
        <OPTION value="heat"></OPTION>
        <OPTION value="cool"></OPTION>
        <OPTION value="rainbow"></OPTION>
        <OPTION value="red"></OPTION>
        <OPTION value="green"></OPTION>
        <OPTION value="blue"></OPTION>
      </VALUES>
    </PARAM>
    <PARAM datatype="int" name="INPUT:Prop_ID">
      <DESCRIPTION>
        If set, includes only observations from the given HST proposal.
      </DESCRIPTION>
    </PARAM>
    <PARAM datatype="char" name="INPUT:Spectral_Elt" arraysize="*">
      <DESCRIPTION>
        Optional comma-separated list of up to 5 spectral elements to include in results.
        An example is 'f555w,f435w'.
      </DESCRIPTION>
    </PARAM>
    <PARAM datatype="char" name="INPUT:Moving_Target" arraysize="*">
      <DESCRIPTION>
        Boolean value indicating that only moving targets are to be
        returned.  Default is to return all targets.  There are various
        forms of the boolean accepted.
      </DESCRIPTION>
      <VALUES>
        <OPTION value="True"></OPTION>
        <OPTION value="False"></OPTION>
        <OPTION value="T"></OPTION>
        <OPTION value="F"></OPTION>
        <OPTION value="Yes"></OPTION>
        <OPTION value="No"></OPTION>
        <OPTION value="1"></OPTION>
        <OPTION value="0"></OPTION>
      </VALUES>
    </PARAM>
    <PARAM datatype="int" name="INPUT:Strict">
      <DESCRIPTION>
        If set, returned results confirm strictly to SIAP requirements.
        If not set, return table includes links to various non-image data
        products (e.g., tar files and DADS access pages).  This should be
        set when using software that assumes all URLs link to FITS images.
      </DESCRIPTION>
      <VALUES>
        <OPTION value="0"></OPTION>
        <OPTION value="1"></OPTION>
      </VALUES>
    </PARAM>
    <PARAM datatype="int" name="INPUT:TextErrors">
      <DESCRIPTION>
        If set, error messages are returned in plain text format rather than as
        standard VO XML error messages.  This is included because Aladin requires
        text errors.
      </DESCRIPTION>
      <VALUES>
        <OPTION value="0"></OPTION>
        <OPTION value="1"></OPTION>
      </VALUES>
    </PARAM>
    <TABLE>
      <FIELD ID="URL" datatype="char" ucd="VOX:Image_AccessReference" arraysize="*">
      <DESCRIPTION>Link to data</DESCRIPTION>
      </FIELD>
      <FIELD ID="RA" datatype="double" unit="deg" ucd="POS_EQ_RA_MAIN">
      <DESCRIPTION>RA (J2000)</DESCRIPTION>
      </FIELD>
      <FIELD ID="DEC" datatype="double" unit="deg" ucd="POS_EQ_DEC_MAIN">
      <DESCRIPTION>Dec (J2000)</DESCRIPTION>
      </FIELD>
      <FIELD ID="Level" datatype="int" ucd="PRODUCT_LEVEL">
      <DESCRIPTION>Processing level: 1=exposure 2=combined 3=mosaic 4=color 5=HLSP</DESCRIPTION>
      </FIELD>
      <FIELD ID="Target" datatype="char" ucd="TARGET_NAME" arraysize="*">
      <DESCRIPTION>Proposal target name</DESCRIPTION>
      </FIELD>
      <FIELD ID="Detector" datatype="char" ucd="INST_ID" arraysize="*">
      <DESCRIPTION>Detector</DESCRIPTION>
      </FIELD>
      <FIELD ID="Aperture" datatype="char" ucd="INST_APERT" arraysize="*">
      <DESCRIPTION>Instrument aperture or slit</DESCRIPTION>
      </FIELD>
      <FIELD ID="Spectral_Elt" datatype="char" ucd="MAIN_FILTER" arraysize="*">
      <DESCRIPTION>Filter or spectral element name</DESCRIPTION>
      </FIELD>
      <FIELD ID="NExposures" datatype="int" ucd="NUM_EXPOSURES">
      <DESCRIPTION>Number of exposures combined in this image</DESCRIPTION>
      </FIELD>
      <FIELD ID="ExpTime" datatype="double" unit="s" ucd="EXPOSURE_TIME">
      <DESCRIPTION>Total exposure time</DESCRIPTION>
      </FIELD>
      <FIELD ID="StartTime" datatype="char" arraysize="*" ucd="TIME_EPOCH">
      <DESCRIPTION>Start time of first exposure</DESCRIPTION>
      </FIELD>
      <FIELD ID="Dataset" datatype="char" arraysize="*" ucd="ID_MAIN">
      <DESCRIPTION>Name of image: HST_propid_visit_detector_spectralelt_exposure</DESCRIPTION>
      </FIELD>
      <FIELD ID="PropID" datatype="int" ucd="ID_SET">
      <DESCRIPTION>HST proposal number</DESCRIPTION>
      </FIELD>
      <FIELD ID="VisitNum" datatype="char" arraysize="*" ucd="ID_SET">
      <DESCRIPTION>Visit number within proposal</DESCRIPTION>
      </FIELD>
      <FIELD ID="PI_Name" datatype="char" arraysize="*" ucd="NAME_PI">
      <DESCRIPTION>PI last name</DESCRIPTION>
      </FIELD>
      <FIELD ID="Mode" datatype="char" arraysize="*">
      <DESCRIPTION>Data collection mode</DESCRIPTION>
      </FIELD>
      <FIELD ID="DBCreationDate" datatype="char" arraysize="*" ucd="TIME_EPOCH">
      <DESCRIPTION>Date when this dataset was added to database</DESCRIPTION>
      </FIELD>
      <FIELD ID="Wavelength" datatype="double" unit="0.1nm" ucd="INST_WAVELENGTH">
      <DESCRIPTION>Characteristic wavelength for bandpass</DESCRIPTION>
      </FIELD>
      <FIELD ID="Format" datatype="char" ucd="VOX:Image_Format" arraysize="*">
      <DESCRIPTION>Format of image</DESCRIPTION>
      </FIELD>
      <FIELD ID="Title" datatype="char" ucd="VOX:Image_Title" arraysize="*">
      <DESCRIPTION>Summary title</DESCRIPTION>
      </FIELD>
      <FIELD ID="naxis" datatype="int" ucd="VOX:Image_Naxis" arraysize="*">
      <DESCRIPTION>Image size (pixels)</DESCRIPTION>
      </FIELD>
      <FIELD ID="scale" datatype="double" unit="deg/pix" ucd="VOX:Image_Scale" arraysize="*">
      <DESCRIPTION>Pixel scale</DESCRIPTION>
      </FIELD>
      <FIELD ID="naxes" datatype="int" ucd="VOX:Image_Naxes">
      <DESCRIPTION>WCS info</DESCRIPTION>
      </FIELD>
      <FIELD ID="crpix" datatype="double" unit="pix" ucd="VOX:WCS_CoordRefPixel" arraysize="*">
      <DESCRIPTION>WCS info</DESCRIPTION>
      </FIELD>
      <FIELD ID="crval" datatype="double" unit="deg" ucd="VOX:WCS_CoordRefValue" arraysize="*">
      <DESCRIPTION>WCS info</DESCRIPTION>
      </FIELD>
      <FIELD ID="cd_matrix" datatype="double" unit="deg/pix" ucd="VOX:WCS_CDMatrix" arraysize="*">
      <DESCRIPTION>WCS info</DESCRIPTION>
      </FIELD>
      <FIELD ID="filename" datatype="char" arraysize="*">
      <DESCRIPTION>Filename (comma-separated list for color)</DESCRIPTION>
      </FIELD>
    </TABLE>
  </RESOURCE>
</VOTABLE>
