Changeset 27882 for trunk/ippToPsps/config/test
- Timestamp:
- May 7, 2010, 2:01:16 PM (16 years ago)
- Location:
- trunk/ippToPsps/config/test
- Files:
-
- 2 edited
-
map.xml (modified) (2 diffs)
-
tables.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/config/test/map.xml
r27877 r27882 8 8 <map ippName="EXPREQ" ippType="TFLOAT" pspsName="expTime" /> 9 9 <map ippName="AIRMASS" ippType="TFLOAT" pspsName="airmass" /> 10 <map ippName="RA" ippType="T FLOAT" pspsName="raBore" />11 <map ippName="DEC" ippType="T FLOAT" pspsName="decBore" />10 <map ippName="RA" ippType="TDOUBLE" pspsName="raBore" /> 11 <map ippName="DEC" ippType="TDOUBLE" pspsName="decBore" /> 12 12 <map ippName="CTYPE1" ippType="TSTRING" pspsName="ctype1" /> 13 13 <map ippName="CTYPE2" ippType="TSTRING" pspsName="ctype2" /> 14 <map ippName="CRVAL1" ippType="T FLOAT" pspsName="crval1" />15 <map ippName="CRVAL2" ippType="T FLOAT" pspsName="crval2" />16 <map ippName="CRPIX1" ippType="T FLOAT" pspsName="crpix1" />17 <map ippName="CRPIX2" ippType="T FLOAT" pspsName="crpix2" />18 <map ippName="CDELT1" ippType="T FLOAT" pspsName="cdelt1" />19 <map ippName="CDELT2" ippType="T FLOAT" pspsName="cdelt2" />20 <map ippName="PC001001" ippType="T FLOAT" pspsName="pc001001" />21 <map ippName="PC001002" ippType="T FLOAT" pspsName="pc001002" />22 <map ippName="PC002001" ippType="T FLOAT" pspsName="pc002001" />23 <map ippName="PC002002" ippType="T FLOAT" pspsName="pc002002" />14 <map ippName="CRVAL1" ippType="TDOUBLE" pspsName="crval1" /> 15 <map ippName="CRVAL2" ippType="TDOUBLE" pspsName="crval2" /> 16 <map ippName="CRPIX1" ippType="TDOUBLE" pspsName="crpix1" /> 17 <map ippName="CRPIX2" ippType="TDOUBLE" pspsName="crpix2" /> 18 <map ippName="CDELT1" ippType="TDOUBLE" pspsName="cdelt1" /> 19 <map ippName="CDELT2" ippType="TDOUBLE" pspsName="cdelt2" /> 20 <map ippName="PC001001" ippType="TDOUBLE" pspsName="pc001001" /> 21 <map ippName="PC001002" ippType="TDOUBLE" pspsName="pc001002" /> 22 <map ippName="PC002001" ippType="TDOUBLE" pspsName="pc002001" /> 23 <map ippName="PC002002" ippType="TDOUBLE" pspsName="pc002002" /> 24 24 <map ippName="NPLYTERM" ippType="TBYTE" pspsName="polyOrder" /> 25 <map ippName="PCA1X3Y0" ippType="T FLOAT" pspsName="pca1x3y0" />26 <map ippName="PCA1X2Y1" ippType="T FLOAT" pspsName="pca1x2y1" />27 <map ippName="PCA1X1Y2" ippType="T FLOAT" pspsName="pca1x1y2" />28 <map ippName="PCA1X0Y3" ippType="T FLOAT" pspsName="pca1x0y3" />29 <map ippName="PCA1X2Y0" ippType="T FLOAT" pspsName="pca1x2y0" />30 <map ippName="PCA1X1Y1" ippType="T FLOAT" pspsName="pca1x1y1" />31 <map ippName="PCA1X0Y2" ippType="T FLOAT" pspsName="pca1x0y2" />32 <map ippName="PCA2X3Y0" ippType="T FLOAT" pspsName="pca2x3y0" />33 <map ippName="PCA2X2Y1" ippType="T FLOAT" pspsName="pca2x2y1" />34 <map ippName="PCA2X1Y2" ippType="T FLOAT" pspsName="pca2x1y2" />35 <map ippName="PCA2X0Y3" ippType="T FLOAT" pspsName="pca2x0y3" />36 <map ippName="PCA2X2Y0" ippType="T FLOAT" pspsName="pca2x2y0" />37 <map ippName="PCA2X1Y1" ippType="T FLOAT" pspsName="pca2x1y1" />38 <map ippName="PCA2X0Y2" ippType="T FLOAT" pspsName="pca2x0y2" />25 <map ippName="PCA1X3Y0" ippType="TDOUBLE" pspsName="pca1x3y0" /> 26 <map ippName="PCA1X2Y1" ippType="TDOUBLE" pspsName="pca1x2y1" /> 27 <map ippName="PCA1X1Y2" ippType="TDOUBLE" pspsName="pca1x1y2" /> 28 <map ippName="PCA1X0Y3" ippType="TDOUBLE" pspsName="pca1x0y3" /> 29 <map ippName="PCA1X2Y0" ippType="TDOUBLE" pspsName="pca1x2y0" /> 30 <map ippName="PCA1X1Y1" ippType="TDOUBLE" pspsName="pca1x1y1" /> 31 <map ippName="PCA1X0Y2" ippType="TDOUBLE" pspsName="pca1x0y2" /> 32 <map ippName="PCA2X3Y0" ippType="TDOUBLE" pspsName="pca2x3y0" /> 33 <map ippName="PCA2X2Y1" ippType="TDOUBLE" pspsName="pca2x2y1" /> 34 <map ippName="PCA2X1Y2" ippType="TDOUBLE" pspsName="pca2x1y2" /> 35 <map ippName="PCA2X0Y3" ippType="TDOUBLE" pspsName="pca2x0y3" /> 36 <map ippName="PCA2X2Y0" ippType="TDOUBLE" pspsName="pca2x2y0" /> 37 <map ippName="PCA2X1Y1" ippType="TDOUBLE" pspsName="pca2x1y1" /> 38 <map ippName="PCA2X0Y2" ippType="TDOUBLE" pspsName="pca2x0y2" /> 39 39 </table> 40 40 … … 55 55 <map ippName="CTYPE1" ippType="TSTRING" pspsName="ctype1" /> 56 56 <map ippName="CTYPE2" ippType="TSTRING" pspsName="ctype2" /> 57 <map ippName="CRVAL1" ippType="T FLOAT" pspsName="crval1" />58 <map ippName="CRVAL2" ippType="T FLOAT" pspsName="crval2" />59 <map ippName="CRPIX1" ippType="T FLOAT" pspsName="crpix1" />60 <map ippName="CRPIX2" ippType="T FLOAT" pspsName="crpix2" />61 <map ippName="CDELT1" ippType="T FLOAT" pspsName="cdelt1" />62 <map ippName="CDELT2" ippType="T FLOAT" pspsName="cdelt2" />63 <map ippName="PC001001" ippType="T FLOAT" pspsName="pc001001" />64 <map ippName="PC001002" ippType="T FLOAT" pspsName="pc001002" />65 <map ippName="PC002001" ippType="T FLOAT" pspsName="pc002001" />66 <map ippName="PC002002" ippType="T FLOAT" pspsName="pc002002" />57 <map ippName="CRVAL1" ippType="TDOUBLE" pspsName="crval1" /> 58 <map ippName="CRVAL2" ippType="TDOUBLE" pspsName="crval2" /> 59 <map ippName="CRPIX1" ippType="TDOUBLE" pspsName="crpix1" /> 60 <map ippName="CRPIX2" ippType="TDOUBLE" pspsName="crpix2" /> 61 <map ippName="CDELT1" ippType="TDOUBLE" pspsName="cdelt1" /> 62 <map ippName="CDELT2" ippType="TDOUBLE" pspsName="cdelt2" /> 63 <map ippName="PC001001" ippType="TDOUBLE" pspsName="pc001001" /> 64 <map ippName="PC001002" ippType="TDOUBLE" pspsName="pc001002" /> 65 <map ippName="PC002001" ippType="TDOUBLE" pspsName="pc002001" /> 66 <map ippName="PC002002" ippType="TDOUBLE" pspsName="pc002002" /> 67 67 <map ippName="NPLYTERM" ippType="TBYTE" pspsName="polyOrder" /> 68 <map ippName="PCA1X3Y0" ippType="T FLOAT" pspsName="pca1x3y0" />69 <map ippName="PCA1X2Y1" ippType="T FLOAT" pspsName="pca1x2y1" />70 <map ippName="PCA1X1Y2" ippType="T FLOAT" pspsName="pca1x1y2" />71 <map ippName="PCA1X0Y3" ippType="T FLOAT" pspsName="pca1x0y3" />72 <map ippName="PCA1X2Y0" ippType="T FLOAT" pspsName="pca1x2y0" />73 <map ippName="PCA1X1Y1" ippType="T FLOAT" pspsName="pca1x1y1" />74 <map ippName="PCA1X0Y2" ippType="T FLOAT" pspsName="pca1x0y2" />75 <map ippName="PCA2X3Y0" ippType="T FLOAT" pspsName="pca2x3y0" />76 <map ippName="PCA2X2Y1" ippType="T FLOAT" pspsName="pca2x2y1" />77 <map ippName="PCA2X1Y2" ippType="T FLOAT" pspsName="pca2x1y2" />78 <map ippName="PCA2X0Y3" ippType="T FLOAT" pspsName="pca2x0y3" />79 <map ippName="PCA2X2Y0" ippType="T FLOAT" pspsName="pca2x2y0" />80 <map ippName="PCA2X1Y1" ippType="T FLOAT" pspsName="pca2x1y1" />81 <map ippName="PCA2X0Y2" ippType="T FLOAT" pspsName="pca2x0y2" />68 <map ippName="PCA1X3Y0" ippType="TDOUBLE" pspsName="pca1x3y0" /> 69 <map ippName="PCA1X2Y1" ippType="TDOUBLE" pspsName="pca1x2y1" /> 70 <map ippName="PCA1X1Y2" ippType="TDOUBLE" pspsName="pca1x1y2" /> 71 <map ippName="PCA1X0Y3" ippType="TDOUBLE" pspsName="pca1x0y3" /> 72 <map ippName="PCA1X2Y0" ippType="TDOUBLE" pspsName="pca1x2y0" /> 73 <map ippName="PCA1X1Y1" ippType="TDOUBLE" pspsName="pca1x1y1" /> 74 <map ippName="PCA1X0Y2" ippType="TDOUBLE" pspsName="pca1x0y2" /> 75 <map ippName="PCA2X3Y0" ippType="TDOUBLE" pspsName="pca2x3y0" /> 76 <map ippName="PCA2X2Y1" ippType="TDOUBLE" pspsName="pca2x2y1" /> 77 <map ippName="PCA2X1Y2" ippType="TDOUBLE" pspsName="pca2x1y2" /> 78 <map ippName="PCA2X0Y3" ippType="TDOUBLE" pspsName="pca2x0y3" /> 79 <map ippName="PCA2X2Y0" ippType="TDOUBLE" pspsName="pca2x2y0" /> 80 <map ippName="PCA2X1Y1" ippType="TDOUBLE" pspsName="pca2x1y1" /> 81 <map ippName="PCA2X0Y2" ippType="TDOUBLE" pspsName="pca2x0y2" /> 82 82 </table> 83 83 -
trunk/ippToPsps/config/test/tables.xml
r27877 r27882 7 7 <column name="nOTA" type="TSHORT" default="-999" comment="number of valid OTA/CCD images in this exposure"></column> 8 8 <column name="photoScat" type="TFLOAT" default="-999" comment=" global photometric scatter (unit = mag)"></column> 9 <column name="expStart" type="T FLOAT" default="-999" comment=" exposure start time in MJD (unit = day)"></column>9 <column name="expStart" type="TDOUBLE" default="-999" comment=" exposure start time in MJD (unit = day)"></column> 10 10 <column name="expTime" type="TFLOAT" default="-999" comment=" exposure time (unit = s)"></column> 11 11 <column name="airmass" type="TFLOAT" default="-999" comment="airmass at mid-exposure"></column> 12 <column name="raBore" type="T FLOAT" default="-999" comment=" RA of telescope boresight (unit = deg)"></column>13 <column name="decBore" type="T FLOAT" default="-999" comment=" DEC of telescope boresight (unit = deg)"></column>12 <column name="raBore" type="TDOUBLE" default="-999" comment=" RA of telescope boresight (unit = deg)"></column> 13 <column name="decBore" type="TDOUBLE" default="-999" comment=" DEC of telescope boresight (unit = deg)"></column> 14 14 <column name="ctype1" type="TSTRING" default=" " comment="name of astrometric projection in RA"></column> 15 15 <column name="ctype2" type="TSTRING" default=" " comment="name of astrometric projection in DEC"></column> 16 <column name="crval1" type="T FLOAT" default="-999" comment=" RA corresponding to reference pixel (unit = deg)"></column>17 <column name="crval2" type="T FLOAT" default="-999" comment=" DEC corresponding to reference pixel (unit = deg)"></column>18 <column name="crpix1" type="T FLOAT" default="-999" comment="reference pixel value for RA"></column>19 <column name="crpix2" type="T FLOAT" default="-999" comment="reference pixel value for DEC"></column>20 <column name="cdelt1" type="T FLOAT" default="-999" comment=""></column>21 <column name="cdelt2" type="T FLOAT" default="-999" comment=""></column>22 <column name="pc001001" type="T FLOAT" default="-999" comment="elements of rotation/Dcale matrix"></column>23 <column name="pc001002" type="T FLOAT" default="-999" comment="elements of rotation/Dcale matrix"></column>24 <column name="pc002001" type="T FLOAT" default="-999" comment="elements of rotation/Dcale matrix"></column>25 <column name="pc002002" type="T FLOAT" default="-999" comment="elements of rotation/Dcale matrix"></column>16 <column name="crval1" type="TDOUBLE" default="-999" comment=" RA corresponding to reference pixel (unit = deg)"></column> 17 <column name="crval2" type="TDOUBLE" default="-999" comment=" DEC corresponding to reference pixel (unit = deg)"></column> 18 <column name="crpix1" type="TDOUBLE" default="-999" comment="reference pixel value for RA"></column> 19 <column name="crpix2" type="TDOUBLE" default="-999" comment="reference pixel value for DEC"></column> 20 <column name="cdelt1" type="TDOUBLE" default="-999" comment=""></column> 21 <column name="cdelt2" type="TDOUBLE" default="-999" comment=""></column> 22 <column name="pc001001" type="TDOUBLE" default="-999" comment="elements of rotation/Dcale matrix"></column> 23 <column name="pc001002" type="TDOUBLE" default="-999" comment="elements of rotation/Dcale matrix"></column> 24 <column name="pc002001" type="TDOUBLE" default="-999" comment="elements of rotation/Dcale matrix"></column> 25 <column name="pc002002" type="TDOUBLE" default="-999" comment="elements of rotation/Dcale matrix"></column> 26 26 <column name="polyOrder" type="TBYTE" default="255" comment="polynomial order of astrometry fit"></column> 27 <column name="pca1x3y0" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>28 <column name="pca1x2y1" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>29 <column name="pca1x1y2" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>30 <column name="pca1x0y3" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>31 <column name="pca1x2y0" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>32 <column name="pca1x1y1" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>33 <column name="pca1x0y2" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>34 <column name="pca2x3y0" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>35 <column name="pca2x2y1" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>36 <column name="pca2x1y2" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>37 <column name="pca2x0y3" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>38 <column name="pca2x2y0" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>39 <column name="pca2x1y1" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>40 <column name="pca2x0y2" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>27 <column name="pca1x3y0" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 28 <column name="pca1x2y1" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 29 <column name="pca1x1y2" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 30 <column name="pca1x0y3" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 31 <column name="pca1x2y0" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 32 <column name="pca1x1y1" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 33 <column name="pca1x0y2" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 34 <column name="pca2x3y0" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 35 <column name="pca2x2y1" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 36 <column name="pca2x1y2" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 37 <column name="pca2x0y3" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 38 <column name="pca2x2y0" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 39 <column name="pca2x1y1" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 40 <column name="pca2x0y2" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 41 41 </table> 42 42 <table name="ImageMeta"> … … 63 63 <column name="ctype1" type="TSTRING" default=" " comment="name of astrometric projection in RA"></column> 64 64 <column name="ctype2" type="TSTRING" default=" " comment="name of astrometric projection in DEC"></column> 65 <column name="crval1" type="T FLOAT" default="-999" comment=" RA corresponding to reference pixel (unit = deg)"></column>66 <column name="crval2" type="T FLOAT" default="-999" comment=" DEC corresponding to reference pixel (unit = deg)"></column>67 <column name="crpix1" type="T FLOAT" default="-999" comment=" reference pixel value for RA (unit = pix)"></column>68 <column name="crpix2" type="T FLOAT" default="-999" comment=" reference pixel value for DEC (unit = pix)"></column>69 <column name="cdelt1" type="T FLOAT" default="-999" comment=""></column>70 <column name="cdelt2" type="T FLOAT" default="-999" comment=""></column>71 <column name="pc001001" type="T FLOAT" default="-999" comment="elements of rotation/Dcale matrix"></column>72 <column name="pc001002" type="T FLOAT" default="-999" comment="elements of rotation/Dcale matrix"></column>73 <column name="pc002001" type="T FLOAT" default="-999" comment="elements of rotation/Dcale matrix"></column>74 <column name="pc002002" type="T FLOAT" default="-999" comment="elements of rotation/Dcale matrix"></column>65 <column name="crval1" type="TDOUBLE" default="-999" comment=" RA corresponding to reference pixel (unit = deg)"></column> 66 <column name="crval2" type="TDOUBLE" default="-999" comment=" DEC corresponding to reference pixel (unit = deg)"></column> 67 <column name="crpix1" type="TDOUBLE" default="-999" comment=" reference pixel value for RA (unit = pix)"></column> 68 <column name="crpix2" type="TDOUBLE" default="-999" comment=" reference pixel value for DEC (unit = pix)"></column> 69 <column name="cdelt1" type="TDOUBLE" default="-999" comment=""></column> 70 <column name="cdelt2" type="TDOUBLE" default="-999" comment=""></column> 71 <column name="pc001001" type="TDOUBLE" default="-999" comment="elements of rotation/Dcale matrix"></column> 72 <column name="pc001002" type="TDOUBLE" default="-999" comment="elements of rotation/Dcale matrix"></column> 73 <column name="pc002001" type="TDOUBLE" default="-999" comment="elements of rotation/Dcale matrix"></column> 74 <column name="pc002002" type="TDOUBLE" default="-999" comment="elements of rotation/Dcale matrix"></column> 75 75 <column name="polyOrder" type="TBYTE" default="255" comment="polynomial order of astrometry fit"></column> 76 <column name="pca1x3y0" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>77 <column name="pca1x2y1" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>78 <column name="pca1x1y2" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>79 <column name="pca1x0y3" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>80 <column name="pca1x2y0" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>81 <column name="pca1x1y1" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>82 <column name="pca1x0y2" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>83 <column name="pca2x3y0" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>84 <column name="pca2x2y1" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>85 <column name="pca2x1y2" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>86 <column name="pca2x0y3" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>87 <column name="pca2x2y0" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>88 <column name="pca2x1y1" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>89 <column name="pca2x0y2" type="T FLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>76 <column name="pca1x3y0" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 77 <column name="pca1x2y1" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 78 <column name="pca1x1y2" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 79 <column name="pca1x0y3" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 80 <column name="pca1x2y0" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 81 <column name="pca1x1y1" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 82 <column name="pca1x0y2" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 83 <column name="pca2x3y0" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 84 <column name="pca2x2y1" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 85 <column name="pca2x1y2" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 86 <column name="pca2x0y3" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 87 <column name="pca2x2y0" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 88 <column name="pca2x1y1" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 89 <column name="pca2x0y2" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column> 90 90 </table> 91 91 <table name="Detection">
Note:
See TracChangeset
for help on using the changeset viewer.
