IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 11, 2004, 3:10:19 PM (22 years ago)
Author:
harman
Message:

Updated truth

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astronomy/verified/tst_psMetadata_01.stdout

    r1459 r1495  
    77FITS file open status: OK - no error
    88
    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>
     9Contents 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
     15Contents 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>
    1320
    1421---> TESTPOINT PASSED (psMetadata{Test A - Read 1st hdr from simple FITS file} | tst_psMetadata_01.c)
     
    2229FITS file open status: OK - no error
    2330
    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>
     31Contents 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
     45Contents 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:
    3660
    3761---> TESTPOINT PASSED (psMetadata{Test B - Read 2nd hdr from complex FITS file} | tst_psMetadata_01.c)
     
    4569FITS file open status: OK - no error
    4670
    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>
     71Contents 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
     82Contents 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:
    5693
    5794---> TESTPOINT PASSED (psMetadata{Test C - Read named hdr from complex FITS file} | tst_psMetadata_01.c)
     
    5996/***************************** TESTPOINT ******************************************\
    6097*             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
     102Removed HISTORY from all metadata from prior test. Resulting metadata:
     103
     104Contents 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
     113Contents 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}   *
    62127*             TestType: Negative                                                   *
    63128*    ExpectedErrorText: Null FITS file descriptor not allowed                      *
     
    66131
    67132
    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)
    69134
    70135/***************************** TESTPOINT ******************************************\
    71136*             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}        *
    73138*             TestType: Negative                                                   *
    74139*    ExpectedErrorText: Null extName and extNum = 0 not allowed                    *
     
    77142
    78143
    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)
    80145
    81146/***************************** TESTPOINT ******************************************\
    82147*             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}             *
    84149*             TestType: Negative                                                   *
    85150*    ExpectedErrorText: FITS error while locating header 22: tried to move past end of file *
     
    88153
    89154
    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)
    91156
    92157/***************************** TESTPOINT ******************************************\
    93158*             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}            *
    95160*             TestType: Negative                                                   *
    96161*    ExpectedErrorText: FITS error while locating header AARGH: illegal HDU number *
     
    99164
    100165
    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)
    102167
    103168/***************************** TESTPOINT ******************************************\
    104169*             TestFile: tst_psMetadata_01.c                                        *
    105 *            TestPoint: psMetadata{Test H - Free psMetadata}                       *
     170*            TestPoint: psMetadata{Test I - Free psMetadata}                       *
    106171*             TestType: Positive                                                   *
    107172\**********************************************************************************/
    108173
    109174
    110 ---> TESTPOINT PASSED (psMetadata{Test H - Free psMetadata} | tst_psMetadata_01.c)
     175---> TESTPOINT PASSED (psMetadata{Test I - Free psMetadata} | tst_psMetadata_01.c)
    111176
Note: See TracChangeset for help on using the changeset viewer.