<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE VOTABLE SYSTEM "http://cdsweb.u-strasbg.fr/xml/VOTable.dtd">
<VOTABLE version="1.1">
<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.  (This parameter is
        unlikely to be useful to scripts since getting a file to
        the server is not easy.)
      </DESCRIPTION>
    </PARAM>
    <PARAM datatype="double" name="INPUT:SIZE" value="0.0" 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" value="image/fits" arraysize="*">
      <DESCRIPTION>
        Type of image(s) to return: one of image/fits (default),
        image/jpeg, image/png, application/tar, text/html,
        ALL, GRAPHIC, METADATA.
        Data for STIS, FOS &amp; GHRS are returned as tar files, and
        links to proprietary data (and other data accessible only
        through the HST DADS archive) are text/html links.  Specify
        format=image/fits,application/tar,text/html to get all
        HLA data products.
      </DESCRIPTION>
      <VALUES>
        <OPTION value="image/fits"></OPTION>
        <OPTION value="image/jpeg"></OPTION>
        <OPTION value="image/png"></OPTION>
        <OPTION value="application/tar"></OPTION>
        <OPTION value="text/html"></OPTION>
        <OPTION value="ALL"></OPTION>
        <OPTION value="GRAPHIC"></OPTION>
        <OPTION value="METADATA"></OPTION>
      </VALUES>
    </PARAM>
    <PARAM datatype="char" name="INPUT:imagetype" value="best" 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" value="ACS,WFPC2,NICGRISM,ACSGRISM,STIS,FOS,GHRS,NICMOS,COS,WFC3,FOC" arraysize="*">
      <DESCRIPTION>
        Instruments desired: one or more comma-separated
        choices from ACS, WFC3, WFPC2, WFPC2-PC, NICMOS, COS, STIS,
        NICGRISM, ACSGRISM, FOS, GHRS, FOC.
      </DESCRIPTION>
    </PARAM>
    <PARAM datatype="int" name="INPUT:hrcmatch" value="0">
      <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" value="99.5" 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" value="1">
      <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" value="0">
      <DESCRIPTION>
        If set, draws compass arrows showing north and east.
      </DESCRIPTION>
      <VALUES>
        <OPTION value="0"></OPTION>
        <OPTION value="1"></OPTION>
      </VALUES>
    </PARAM>
    <PARAM datatype="char" name="INPUT:palette" value="gray" 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="char" name="INPUT:MinDate" arraysize="*">
      <DESCRIPTION>
        Return datasets that were added to the HLA database after the
        specified date (using the DBCreationDate).  The date format is
        yyyy-mm-dd hh:mm:ss where the time is optional.  Default is
        to return all matching datasets regardless of the date they
        were added.
      </DESCRIPTION>
    </PARAM>
    <PARAM datatype="char" name="INPUT:MaxDate" arraysize="*">
      <DESCRIPTION>
        Return datasets that were added to the HLA database before the
        specified date (using the DBCreationDate).  The date format is
        yyyy-mm-dd hh:mm:ss where the time is optional.  Default is
        to return all matching datasets regardless of the date they
        were added.
      </DESCRIPTION>
    </PARAM>
    <PARAM datatype="char" name="INPUT:Visit" arraysize="*">
      <DESCRIPTION>
        Return datasets matching the specified visit prefix.  The
        value should look like the beginning of a HLA dataset name
        (e.g., hst_10188_10_acs_wfc).  All datasets that match the
        prefix are returned.  A list of visits may also be specified
        either using a comma-separated value or by specifying
        multiple Visit parameters.
      </DESCRIPTION>
    </PARAM>
    <PARAM datatype="int" name="INPUT:TextErrors" value="0">
      <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" name="URL" datatype="char" ucd="VOX:Image_AccessReference" arraysize="*">
      <DESCRIPTION>Link to data</DESCRIPTION>
      </FIELD>
      <FIELD ID="RA" name="RA" datatype="double" unit="deg" ucd="POS_EQ_RA_MAIN">
      <DESCRIPTION>RA (J2000)</DESCRIPTION>
      </FIELD>
      <FIELD ID="DEC" name="DEC" datatype="double" unit="deg" ucd="POS_EQ_DEC_MAIN">
      <DESCRIPTION>Dec (J2000)</DESCRIPTION>
      </FIELD>
      <FIELD ID="Level" name="Level" datatype="int" ucd="PRODUCT_LEVEL">
      <DESCRIPTION>Processing level: 1=exposure 2=combined 3=mosaic 4=color 5=HLSP</DESCRIPTION>
      </FIELD>
      <FIELD ID="Target" name="Target" datatype="char" ucd="TARGET_NAME" arraysize="*">
      <DESCRIPTION>Proposal target name</DESCRIPTION>
      </FIELD>
      <FIELD ID="Detector" name="Detector" datatype="char" ucd="INST_ID" arraysize="*">
      <DESCRIPTION>Detector</DESCRIPTION>
      </FIELD>
      <FIELD ID="Aperture" name="Aperture" datatype="char" ucd="INST_APERT" arraysize="*">
      <DESCRIPTION>Instrument aperture or slit</DESCRIPTION>
      </FIELD>
      <FIELD ID="Spectral_Elt" name="Spectral_Elt" datatype="char" ucd="MAIN_FILTER" arraysize="*">
      <DESCRIPTION>Filter or spectral element name</DESCRIPTION>
      </FIELD>
      <FIELD ID="NExposures" name="NExposures" datatype="int" ucd="NUM_EXPOSURES">
      <DESCRIPTION>Number of exposures combined in this image</DESCRIPTION>
      </FIELD>
      <FIELD ID="ExpTime" name="ExpTime" datatype="double" unit="s" ucd="EXPOSURE_TIME">
      <DESCRIPTION>Total exposure time</DESCRIPTION>
      </FIELD>
      <FIELD ID="StartTime" name="StartTime" datatype="char" arraysize="*" ucd="TIME_EPOCH">
      <DESCRIPTION>Start time of first exposure</DESCRIPTION>
      </FIELD>
      <FIELD ID="Dataset" name="Dataset" datatype="char" arraysize="*" ucd="ID_MAIN">
      <DESCRIPTION>Name of image: HST_propid_visit_detector_spectralelt_exposure</DESCRIPTION>
      </FIELD>
      <FIELD ID="PropID" name="PropID" datatype="char" arraysize="*" ucd="ID_SET">
      <DESCRIPTION>HST proposal number (or "multi" for combined images)</DESCRIPTION>
      </FIELD>
      <FIELD ID="VisitNum" name="VisitNum" datatype="char" arraysize="*" ucd="ID_SET">
      <DESCRIPTION>Visit number within proposal</DESCRIPTION>
      </FIELD>
      <FIELD ID="PI_Name" name="PI_Name" datatype="char" arraysize="*" ucd="NAME_PI">
      <DESCRIPTION>PI last name</DESCRIPTION>
      </FIELD>
      <FIELD ID="DAOCat" name="DAOCat" datatype="char" arraysize="*">
      <DESCRIPTION>Processing status for DAOphot catalog</DESCRIPTION>
      </FIELD>
      <FIELD ID="SEXCat" name="SEXCat" datatype="char" arraysize="*">
      <DESCRIPTION>Processing status for SExtractor catalog</DESCRIPTION>
      </FIELD>
      <FIELD ID="Mode" name="Mode" datatype="char" arraysize="*">
      <DESCRIPTION>Data collection mode</DESCRIPTION>
      </FIELD>
      <FIELD ID="DBCreationDate" name="DBCreationDate" datatype="char" arraysize="*" ucd="TIME_EPOCH">
      <DESCRIPTION>Date when this dataset was added to database</DESCRIPTION>
      </FIELD>
      <FIELD ID="Source" name="Source" datatype="char" arraysize="*">
      <DESCRIPTION>Source for this dataset (one of HLA, ECF, CADC, DADS, HLSP, HSTCACHE)</DESCRIPTION>
      </FIELD>
      <FIELD ID="Wavelength" name="Wavelength" datatype="double" unit="0.1nm" ucd="INST_WAVELENGTH">
      <DESCRIPTION>Characteristic wavelength for bandpass</DESCRIPTION>
      </FIELD>
      <FIELD ID="Format" name="Format" datatype="char" ucd="VOX:Image_Format" arraysize="*">
      <DESCRIPTION>Format of image</DESCRIPTION>
      </FIELD>
      <FIELD ID="ReleaseDate" name="ReleaseDate" datatype="char" ucd="TIME_EPOCH" arraysize="*">
      <DESCRIPTION>Date when these data are made public (GMT)</DESCRIPTION>
      </FIELD>
      <FIELD ID="NReleaseDate" name="NReleaseDate" datatype="long" ucd="TIME_EPOCH">
      <DESCRIPTION>Date when these data are made public (seconds since 1970)</DESCRIPTION>
      </FIELD>
      <FIELD ID="Title" name="Title" datatype="char" ucd="VOX:Image_Title" arraysize="*">
      <DESCRIPTION>Summary title</DESCRIPTION>
      </FIELD>
      <FIELD ID="naxis" name="naxis" datatype="int" ucd="VOX:Image_Naxis" arraysize="*">
      <DESCRIPTION>Image size (pixels)</DESCRIPTION>
      </FIELD>
      <FIELD ID="scale" name="scale" datatype="double" unit="deg/pix" ucd="VOX:Image_Scale" arraysize="*">
      <DESCRIPTION>Pixel scale</DESCRIPTION>
      </FIELD>
      <FIELD ID="naxes" name="naxes" datatype="int" ucd="VOX:Image_Naxes">
      <DESCRIPTION>WCS info</DESCRIPTION>
      </FIELD>
      <FIELD ID="crpix" name="crpix" datatype="double" unit="pix" ucd="VOX:WCS_CoordRefPixel" arraysize="*">
      <DESCRIPTION>WCS info</DESCRIPTION>
      </FIELD>
      <FIELD ID="crval" name="crval" datatype="double" unit="deg" ucd="VOX:WCS_CoordRefValue" arraysize="*">
      <DESCRIPTION>WCS info</DESCRIPTION>
      </FIELD>
      <FIELD ID="cd_matrix" name="cd_matrix" datatype="double" unit="deg/pix" ucd="VOX:WCS_CDMatrix" arraysize="*">
      <DESCRIPTION>WCS info</DESCRIPTION>
      </FIELD>
      <FIELD ID="filename" name="filename" datatype="char" arraysize="*">
      <DESCRIPTION>Filename (comma-separated list for color)</DESCRIPTION>
      </FIELD>
      <FIELD ID="regionSTCS" name="regionSTCS" datatype="char" arraysize="*">
      <DESCRIPTION>STC/S footprint region description</DESCRIPTION>
      </FIELD>
    </TABLE>
  </RESOURCE>
</VOTABLE>

