Changeset 1495
- Timestamp:
- Aug 11, 2004, 3:10:19 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astronomy/verified/tst_psMetadata_01.stdout
r1459 r1495 7 7 FITS file open status: OK - no error 8 8 9 Key Name: SIMPLE Key Type: 1 Key Value: 1 Key Comment: file does conform to FITS standard 10 Key Name: BITPIX Key Type: 2 Key Value: 8 Key Comment: number of bits per data pixel 11 Key Name: NAXIS Key Type: 2 Key Value: 0 Key Comment: number of data axes 12 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 9 Contents of metadata list: 10 Key Name: SIMPLE Key Type: 1 Key Value: 1 Key Comment: file does conform to FITS standard 11 Key Name: BITPIX Key Type: 2 Key Value: 8 Key Comment: number of bits per data pixel 12 Key Name: NAXIS Key Type: 2 Key Value: 0 Key Comment: number of data axes 13 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 14 15 Contents of metadata table: 16 Key Name: NAXIS Key Type: 2 Key Value: 0 Key Comment: number of data axes 17 Key Name: SIMPLE Key Type: 1 Key Value: 1 Key Comment: file does conform to FITS standard 18 Key Name: BITPIX Key Type: 2 Key Value: 8 Key Comment: number of bits per data pixel 19 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 13 20 14 21 ---> TESTPOINT PASSED (psMetadata{Test A - Read 1st hdr from simple FITS file} | tst_psMetadata_01.c) … … 22 29 FITS file open status: OK - no error 23 30 24 Key Name: XTENSION Key Type: 5 Key Value: 'IMAGE ' Key Comment: IMAGE extension 25 Key Name: BITPIX Key Type: 2 Key Value: -64 Key Comment: number of bits per data pixel 26 Key Name: NAXIS Key Type: 2 Key Value: 1 Key Comment: number of data axes 27 Key Name: NAXIS1 Key Type: 2 Key Value: 64 Key Comment: length of data axis 1 28 Key Name: PCOUNT Key Type: 2 Key Value: 0 Key Comment: required keyword; must = 0 29 Key Name: GCOUNT Key Type: 2 Key Value: 1 Key Comment: required keyword; must = 1 30 Key Name: BITPIX Key Type: 2 Key Value: -64 Key Comment: number of bits per data pixel 31 Key Name: EXTNAME Key Type: 5 Key Value: 'MY_DATA_1' Key Comment: 32 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 33 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 34 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 35 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 31 Contents of metadata list: 32 Key Name: XTENSION Key Type: 5 Key Value: 'IMAGE ' Key Comment: IMAGE extension 33 Key Name: BITPIX Key Type: 2 Key Value: -64 Key Comment: number of bits per data pixel 34 Key Name: NAXIS Key Type: 2 Key Value: 1 Key Comment: number of data axes 35 Key Name: NAXIS1 Key Type: 2 Key Value: 64 Key Comment: length of data axis 1 36 Key Name: PCOUNT Key Type: 2 Key Value: 0 Key Comment: required keyword; must = 0 37 Key Name: GCOUNT Key Type: 2 Key Value: 1 Key Comment: required keyword; must = 1 38 Key Name: BITPIX Key Type: 2 Key Value: -64 Key Comment: number of bits per data pixel 39 Key Name: EXTNAME Key Type: 5 Key Value: 'MY_DATA_1' Key Comment: 40 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 41 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 42 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 43 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 44 45 Contents of metadata table: 46 Key Name: NAXIS Key Type: 2 Key Value: 1 Key Comment: number of data axes 47 Key Name: NAXIS1 Key Type: 2 Key Value: 64 Key Comment: length of data axis 1 48 Key Name: PCOUNT Key Type: 2 Key Value: 0 Key Comment: required keyword; must = 0 49 Key Name: XTENSION Key Type: 5 Key Value: 'IMAGE ' Key Comment: IMAGE extension 50 Key Name: BITPIX Key Type: 0 Key Value: Key Comment: 51 Key Name: BITPIX Key Type: 2 Key Value: -64 Key Comment: number of bits per data pixel 52 Key Name: BITPIX Key Type: 2 Key Value: -64 Key Comment: number of bits per data pixel 53 Key Name: GCOUNT Key Type: 2 Key Value: 1 Key Comment: required keyword; must = 1 54 Key Name: HISTORY Key Type: 0 Key Value: Key Comment: 55 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 56 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 57 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 58 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 59 Key Name: EXTNAME Key Type: 5 Key Value: 'MY_DATA_1' Key Comment: 36 60 37 61 ---> TESTPOINT PASSED (psMetadata{Test B - Read 2nd hdr from complex FITS file} | tst_psMetadata_01.c) … … 45 69 FITS file open status: OK - no error 46 70 47 Key Name: XTENSION Key Type: 5 Key Value: 'IMAGE ' Key Comment: IMAGE extension 48 Key Name: BITPIX Key Type: 2 Key Value: -64 Key Comment: number of bits per data pixel 49 Key Name: NAXIS Key Type: 2 Key Value: 1 Key Comment: number of data axes 50 Key Name: NAXIS1 Key Type: 2 Key Value: 64 Key Comment: length of data axis 1 51 Key Name: PCOUNT Key Type: 2 Key Value: 0 Key Comment: required keyword; must = 0 52 Key Name: GCOUNT Key Type: 2 Key Value: 1 Key Comment: required keyword; must = 1 53 Key Name: EXTNAME Key Type: 5 Key Value: 'MY_DATA_2' Key Comment: 54 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 55 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 71 Contents of metadata list: 72 Key Name: XTENSION Key Type: 5 Key Value: 'IMAGE ' Key Comment: IMAGE extension 73 Key Name: BITPIX Key Type: 2 Key Value: -64 Key Comment: number of bits per data pixel 74 Key Name: NAXIS Key Type: 2 Key Value: 1 Key Comment: number of data axes 75 Key Name: NAXIS1 Key Type: 2 Key Value: 64 Key Comment: length of data axis 1 76 Key Name: PCOUNT Key Type: 2 Key Value: 0 Key Comment: required keyword; must = 0 77 Key Name: GCOUNT Key Type: 2 Key Value: 1 Key Comment: required keyword; must = 1 78 Key Name: EXTNAME Key Type: 5 Key Value: 'MY_DATA_2' Key Comment: 79 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 80 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 81 82 Contents of metadata table: 83 Key Name: NAXIS Key Type: 2 Key Value: 1 Key Comment: number of data axes 84 Key Name: NAXIS1 Key Type: 2 Key Value: 64 Key Comment: length of data axis 1 85 Key Name: PCOUNT Key Type: 2 Key Value: 0 Key Comment: required keyword; must = 0 86 Key Name: XTENSION Key Type: 5 Key Value: 'IMAGE ' Key Comment: IMAGE extension 87 Key Name: GCOUNT Key Type: 2 Key Value: 1 Key Comment: required keyword; must = 1 88 Key Name: BITPIX Key Type: 2 Key Value: -64 Key Comment: number of bits per data pixel 89 Key Name: HISTORY Key Type: 0 Key Value: Key Comment: 90 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 91 Key Name: HISTORY Key Type: 5 Key Value: Key Comment: File modified by user 'harman' with fv on 2004-08-04T<DATE> 92 Key Name: EXTNAME Key Type: 5 Key Value: 'MY_DATA_2' Key Comment: 56 93 57 94 ---> TESTPOINT PASSED (psMetadata{Test C - Read named hdr from complex FITS file} | tst_psMetadata_01.c) … … 59 96 /***************************** TESTPOINT ******************************************\ 60 97 * TestFile: tst_psMetadata_01.c * 61 * TestPoint: psMetadata{Test D - Attempt to use null file descriptor} * 98 * TestPoint: psMetadata{Test D - Remove items with same name from all metadata} * 99 * TestType: Positive * 100 \**********************************************************************************/ 101 102 Removed HISTORY from all metadata from prior test. Resulting metadata: 103 104 Contents of metadata list: 105 Key Name: XTENSION Key Type: 5 Key Value: 'IMAGE ' Key Comment: IMAGE extension 106 Key Name: BITPIX Key Type: 2 Key Value: -64 Key Comment: number of bits per data pixel 107 Key Name: NAXIS Key Type: 2 Key Value: 1 Key Comment: number of data axes 108 Key Name: NAXIS1 Key Type: 2 Key Value: 64 Key Comment: length of data axis 1 109 Key Name: PCOUNT Key Type: 2 Key Value: 0 Key Comment: required keyword; must = 0 110 Key Name: GCOUNT Key Type: 2 Key Value: 1 Key Comment: required keyword; must = 1 111 Key Name: EXTNAME Key Type: 5 Key Value: 'MY_DATA_2' Key Comment: 112 113 Contents of metadata table: 114 Key Name: NAXIS Key Type: 2 Key Value: 1 Key Comment: number of data axes 115 Key Name: NAXIS1 Key Type: 2 Key Value: 64 Key Comment: length of data axis 1 116 Key Name: PCOUNT Key Type: 2 Key Value: 0 Key Comment: required keyword; must = 0 117 Key Name: XTENSION Key Type: 5 Key Value: 'IMAGE ' Key Comment: IMAGE extension 118 Key Name: GCOUNT Key Type: 2 Key Value: 1 Key Comment: required keyword; must = 1 119 Key Name: BITPIX Key Type: 2 Key Value: -64 Key Comment: number of bits per data pixel 120 Key Name: EXTNAME Key Type: 5 Key Value: 'MY_DATA_2' Key Comment: 121 122 ---> TESTPOINT PASSED (psMetadata{Test D - Remove items with same name from all metadata} | tst_psMetadata_01.c) 123 124 /***************************** TESTPOINT ******************************************\ 125 * TestFile: tst_psMetadata_01.c * 126 * TestPoint: psMetadata{Test E - Attempt to use null file descriptor} * 62 127 * TestType: Negative * 63 128 * ExpectedErrorText: Null FITS file descriptor not allowed * … … 66 131 67 132 68 ---> TESTPOINT PASSED (psMetadata{Test D- Attempt to use null file descriptor} | tst_psMetadata_01.c)133 ---> TESTPOINT PASSED (psMetadata{Test E - Attempt to use null file descriptor} | tst_psMetadata_01.c) 69 134 70 135 /***************************** TESTPOINT ******************************************\ 71 136 * TestFile: tst_psMetadata_01.c * 72 * TestPoint: psMetadata{Test E- Attempt to use two null inputs} *137 * TestPoint: psMetadata{Test F - Attempt to use two null inputs} * 73 138 * TestType: Negative * 74 139 * ExpectedErrorText: Null extName and extNum = 0 not allowed * … … 77 142 78 143 79 ---> TESTPOINT PASSED (psMetadata{Test E- Attempt to use two null inputs} | tst_psMetadata_01.c)144 ---> TESTPOINT PASSED (psMetadata{Test F - Attempt to use two null inputs} | tst_psMetadata_01.c) 80 145 81 146 /***************************** TESTPOINT ******************************************\ 82 147 * TestFile: tst_psMetadata_01.c * 83 * TestPoint: psMetadata{Test F- Attempt to use bad extNum} *148 * TestPoint: psMetadata{Test G - Attempt to use bad extNum} * 84 149 * TestType: Negative * 85 150 * ExpectedErrorText: FITS error while locating header 22: tried to move past end of file * … … 88 153 89 154 90 ---> TESTPOINT PASSED (psMetadata{Test F- Attempt to use bad extNum} | tst_psMetadata_01.c)155 ---> TESTPOINT PASSED (psMetadata{Test G - Attempt to use bad extNum} | tst_psMetadata_01.c) 91 156 92 157 /***************************** TESTPOINT ******************************************\ 93 158 * TestFile: tst_psMetadata_01.c * 94 * TestPoint: psMetadata{Test F- Attempt to use bad extName} *159 * TestPoint: psMetadata{Test H - Attempt to use bad extName} * 95 160 * TestType: Negative * 96 161 * ExpectedErrorText: FITS error while locating header AARGH: illegal HDU number * … … 99 164 100 165 101 ---> TESTPOINT PASSED (psMetadata{Test F- Attempt to use bad extName} | tst_psMetadata_01.c)166 ---> TESTPOINT PASSED (psMetadata{Test H - Attempt to use bad extName} | tst_psMetadata_01.c) 102 167 103 168 /***************************** TESTPOINT ******************************************\ 104 169 * TestFile: tst_psMetadata_01.c * 105 * TestPoint: psMetadata{Test H- Free psMetadata} *170 * TestPoint: psMetadata{Test I - Free psMetadata} * 106 171 * TestType: Positive * 107 172 \**********************************************************************************/ 108 173 109 174 110 ---> TESTPOINT PASSED (psMetadata{Test H- Free psMetadata} | tst_psMetadata_01.c)175 ---> TESTPOINT PASSED (psMetadata{Test I - Free psMetadata} | tst_psMetadata_01.c) 111 176
Note:
See TracChangeset
for help on using the changeset viewer.
