IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 11, 2005, 10:38:56 AM (21 years ago)
Author:
desonia
Message:

made adjustments to psMetadata and added psFitsUpdateTable.

File:
1 edited

Legend:

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

    r3381 r3407  
    77Failed lines: 6 Expected: 6
    88Contents of metadata list:
    9  Key Name:       pi  Key mdType: 2 Key Value:           3.142  Key Comment: Definition of pi
    10  Key Name: altitude  Key mdType: 0  Key Value:           10000  Key Comment:
    11  Key Name:     time  Key mdType: 1 Key Value:        1234.568  Key Comment:
    12  Key Name:   myBool  Key mdType: 3 Key Value:               0  Key Comment: F, f, 0, T, t, 1 are also acceptable
    13  Key Name:   title1  Key mdType: 5 Key Value:     Hello world  Key Comment: This is a comment for the string value
    14  Key Name:   title2  Key mdType: 5 Key Value:  Good bye world  Key Comment: STRING or STR may be used as the string type
    15  Key Name:   primes  Key mdType: 6  Bad type: 6 Key Comment: These are prime numbers
    16  Key Name: negatives  Key mdType: 6  Bad type: 6 Key Comment:
    17  Key Name:  comment  Key mdType: 5 Key Value:            This  Key Comment:
    18  Key Name:  comment  Key mdType: 5 Key Value:              is  Key Comment:
    19  Key Name:  comment  Key mdType: 5 Key Value:              an  Key Comment:
    20  Key Name:  comment  Key mdType: 5 Key Value:            ugly  Key Comment:
    21  Key Name:  comment  Key mdType: 5 Key Value:         comment  Key Comment:
    22  Key Name:  comment  Key mdType: 5 Key Value:             but  Key Comment:
    23  Key Name:  comment  Key mdType: 5 Key Value:           still  Key Comment:
    24  Key Name:  comment  Key mdType: 5 Key Value:           valid  Key Comment:
    25  Key Name:    speed  Key mdType: 1 Key Value:          66.660  Key Comment:
     9 Key Name:       pi  Key mdType: 0x00000408 Key Value:           3.142  Key Comment: Definition of pi
     10 Key Name: altitude  Key mdType: 0x00000104 Key Value:           10000  Key Comment:
     11 Key Name:     time  Key mdType: 0x00000404 Key Value:        1234.568  Key Comment:
     12 Key Name:   myBool  Key mdType: 0x00001301 Key Value:               0  Key Comment: F, f, 0, T, t, 1 are also acceptable
     13 Key Name:   title1  Key mdType: 0x00010001 Key Value:     Hello world  Key Comment: This is a comment for the string value
     14 Key Name:   title2  Key mdType: 0x00010001 Key Value:  Good bye world  Key Comment: STRING or STR may be used as the string type
     15 Key Name:   primes  Key mdType: 0x00010002 Key Value:   [2,3,5,7,...] Key Comment: These are prime numbers
     16 Key Name: negatives  Key mdType: 0x00010002 Key Value:  [-1,-2,-3,...] Key Comment:
     17 Key Name:  comment  Key mdType: 0x00010001 Key Value:            This  Key Comment:
     18 Key Name:  comment  Key mdType: 0x00010001 Key Value:              is  Key Comment:
     19 Key Name:  comment  Key mdType: 0x00010001 Key Value:              an  Key Comment:
     20 Key Name:  comment  Key mdType: 0x00010001 Key Value:            ugly  Key Comment:
     21 Key Name:  comment  Key mdType: 0x00010001 Key Value:         comment  Key Comment:
     22 Key Name:  comment  Key mdType: 0x00010001 Key Value:             but  Key Comment:
     23 Key Name:  comment  Key mdType: 0x00010001 Key Value:           still  Key Comment:
     24 Key Name:  comment  Key mdType: 0x00010001 Key Value:           valid  Key Comment:
     25 Key Name:    speed  Key mdType: 0x00000404 Key Value:          66.660  Key Comment:
    2626
    2727Contents of metadata table:
    28  Key Name:  comment  Key mdType: 14 Key Value:                  Key Comment:
    29     Key Name:  comment  Key mdType: 5 Key Value:            This  Key Comment:
    30     Key Name:  comment  Key mdType: 5 Key Value:              is  Key Comment:
    31     Key Name:  comment  Key mdType: 5 Key Value:              an  Key Comment:
    32     Key Name:  comment  Key mdType: 5 Key Value:            ugly  Key Comment:
    33     Key Name:  comment  Key mdType: 5 Key Value:         comment  Key Comment:
    34     Key Name:  comment  Key mdType: 5 Key Value:             but  Key Comment:
    35     Key Name:  comment  Key mdType: 5 Key Value:           still  Key Comment:
    36     Key Name:  comment  Key mdType: 5 Key Value:           valid  Key Comment:
    37  Key Name:   title2  Key mdType: 5 Key Value:  Good bye world  Key Comment: STRING or STR may be used as the string type
    38  Key Name:     time  Key mdType: 1 Key Value:        1234.568  Key Comment:
    39  Key Name: negatives  Key mdType: 6  Bad type: 6 Key Comment:
    40  Key Name:       pi  Key mdType: 2 Key Value:           3.142  Key Comment: Definition of pi
    41  Key Name:   myBool  Key mdType: 3 Key Value:               0  Key Comment: F, f, 0, T, t, 1 are also acceptable
    42  Key Name:   primes  Key mdType: 6  Bad type: 6 Key Comment: These are prime numbers
    43  Key Name: altitude  Key mdType: 0  Key Value:           10000  Key Comment:
    44  Key Name:    speed  Key mdType: 1 Key Value:          66.660  Key Comment:
    45  Key Name:   title1  Key mdType: 5 Key Value:     Hello world  Key Comment: This is a comment for the string value
     28 Key Name:  comment  Key mdType: 0x0001000a Key Value:                  Key Comment:
     29    Key Name:  comment  Key mdType: 0x00010001 Key Value:            This  Key Comment:
     30    Key Name:  comment  Key mdType: 0x00010001 Key Value:              is  Key Comment:
     31    Key Name:  comment  Key mdType: 0x00010001 Key Value:              an  Key Comment:
     32    Key Name:  comment  Key mdType: 0x00010001 Key Value:            ugly  Key Comment:
     33    Key Name:  comment  Key mdType: 0x00010001 Key Value:         comment  Key Comment:
     34    Key Name:  comment  Key mdType: 0x00010001 Key Value:             but  Key Comment:
     35    Key Name:  comment  Key mdType: 0x00010001 Key Value:           still  Key Comment:
     36    Key Name:  comment  Key mdType: 0x00010001 Key Value:           valid  Key Comment:
     37 Key Name:   title2  Key mdType: 0x00010001 Key Value:  Good bye world  Key Comment: STRING or STR may be used as the string type
     38 Key Name:     time  Key mdType: 0x00000404 Key Value:        1234.568  Key Comment:
     39 Key Name: negatives  Key mdType: 0x00010002 Key Value:  [-1,-2,-3,...] Key Comment:
     40 Key Name:       pi  Key mdType: 0x00000408 Key Value:           3.142  Key Comment: Definition of pi
     41 Key Name:   myBool  Key mdType: 0x00001301 Key Value:               0  Key Comment: F, f, 0, T, t, 1 are also acceptable
     42 Key Name:   primes  Key mdType: 0x00010002 Key Value:   [2,3,5,7,...] Key Comment: These are prime numbers
     43 Key Name: altitude  Key mdType: 0x00000104 Key Value:           10000  Key Comment:
     44 Key Name:    speed  Key mdType: 0x00000404 Key Value:          66.660  Key Comment:
     45 Key Name:   title1  Key mdType: 0x00010001 Key Value:     Hello world  Key Comment: This is a comment for the string value
    4646
    4747---> TESTPOINT PASSED (psMetadata{Test A - Read config file with overwrite set true} | tst_psMetadataIO.c)
     
    5454
    5555Failed lines: 7 Expected: 7 Contents of metadata list:
    56  Key Name:       pi  Key mdType: 2 Key Value:           3.142  Key Comment: Definition of pi
    57  Key Name: altitude  Key mdType: 0  Key Value:           10000  Key Comment:
    58  Key Name:     time  Key mdType: 1 Key Value:        1234.568  Key Comment:
    59  Key Name:   myBool  Key mdType: 3 Key Value:               0  Key Comment: F, f, 0, T, t, 1 are also acceptable
    60  Key Name:   title1  Key mdType: 5 Key Value:     Hello world  Key Comment: This is a comment for the string value
    61  Key Name:   title2  Key mdType: 5 Key Value:  Good bye world  Key Comment: STRING or STR may be used as the string type
    62  Key Name:   primes  Key mdType: 6  Bad type: 6 Key Comment: These are prime numbers
    63  Key Name: negatives  Key mdType: 6  Bad type: 6 Key Comment:
    64  Key Name:  comment  Key mdType: 5 Key Value:            This  Key Comment:
    65  Key Name:  comment  Key mdType: 5 Key Value:              is  Key Comment:
    66  Key Name:  comment  Key mdType: 5 Key Value:              an  Key Comment:
    67  Key Name:  comment  Key mdType: 5 Key Value:            ugly  Key Comment:
    68  Key Name:  comment  Key mdType: 5 Key Value:         comment  Key Comment:
    69  Key Name:  comment  Key mdType: 5 Key Value:             but  Key Comment:
    70  Key Name:  comment  Key mdType: 5 Key Value:           still  Key Comment:
    71  Key Name:  comment  Key mdType: 5 Key Value:           valid  Key Comment:
    72  Key Name:    speed  Key mdType: 1 Key Value:          55.550  Key Comment:
     56 Key Name:       pi  Key mdType: 0x00000408 Key Value:           3.142  Key Comment: Definition of pi
     57 Key Name: altitude  Key mdType: 0x00000104 Key Value:           10000  Key Comment:
     58 Key Name:     time  Key mdType: 0x00000404 Key Value:        1234.568  Key Comment:
     59 Key Name:   myBool  Key mdType: 0x00001301 Key Value:               0  Key Comment: F, f, 0, T, t, 1 are also acceptable
     60 Key Name:   title1  Key mdType: 0x00010001 Key Value:     Hello world  Key Comment: This is a comment for the string value
     61 Key Name:   title2  Key mdType: 0x00010001 Key Value:  Good bye world  Key Comment: STRING or STR may be used as the string type
     62 Key Name:   primes  Key mdType: 0x00010002 Key Value:   [2,3,5,7,...] Key Comment: These are prime numbers
     63 Key Name: negatives  Key mdType: 0x00010002 Key Value:  [-1,-2,-3,...] Key Comment:
     64 Key Name:  comment  Key mdType: 0x00010001 Key Value:            This  Key Comment:
     65 Key Name:  comment  Key mdType: 0x00010001 Key Value:              is  Key Comment:
     66 Key Name:  comment  Key mdType: 0x00010001 Key Value:              an  Key Comment:
     67 Key Name:  comment  Key mdType: 0x00010001 Key Value:            ugly  Key Comment:
     68 Key Name:  comment  Key mdType: 0x00010001 Key Value:         comment  Key Comment:
     69 Key Name:  comment  Key mdType: 0x00010001 Key Value:             but  Key Comment:
     70 Key Name:  comment  Key mdType: 0x00010001 Key Value:           still  Key Comment:
     71 Key Name:  comment  Key mdType: 0x00010001 Key Value:           valid  Key Comment:
     72 Key Name:    speed  Key mdType: 0x00000404 Key Value:          55.550  Key Comment:
    7373
    7474Contents of metadata table:
    75  Key Name:  comment  Key mdType: 14 Key Value:                  Key Comment:
    76     Key Name:  comment  Key mdType: 5 Key Value:            This  Key Comment:
    77     Key Name:  comment  Key mdType: 5 Key Value:              is  Key Comment:
    78     Key Name:  comment  Key mdType: 5 Key Value:              an  Key Comment:
    79     Key Name:  comment  Key mdType: 5 Key Value:            ugly  Key Comment:
    80     Key Name:  comment  Key mdType: 5 Key Value:         comment  Key Comment:
    81     Key Name:  comment  Key mdType: 5 Key Value:             but  Key Comment:
    82     Key Name:  comment  Key mdType: 5 Key Value:           still  Key Comment:
    83     Key Name:  comment  Key mdType: 5 Key Value:           valid  Key Comment:
    84  Key Name:   title2  Key mdType: 5 Key Value:  Good bye world  Key Comment: STRING or STR may be used as the string type
    85  Key Name:     time  Key mdType: 1 Key Value:        1234.568  Key Comment:
    86  Key Name: negatives  Key mdType: 6  Bad type: 6 Key Comment:
    87  Key Name:       pi  Key mdType: 2 Key Value:           3.142  Key Comment: Definition of pi
    88  Key Name:   myBool  Key mdType: 3 Key Value:               0  Key Comment: F, f, 0, T, t, 1 are also acceptable
    89  Key Name:   primes  Key mdType: 6  Bad type: 6 Key Comment: These are prime numbers
    90  Key Name: altitude  Key mdType: 0  Key Value:           10000  Key Comment:
    91  Key Name:    speed  Key mdType: 1 Key Value:          55.550  Key Comment:
    92  Key Name:   title1  Key mdType: 5 Key Value:     Hello world  Key Comment: This is a comment for the string value
     75 Key Name:  comment  Key mdType: 0x0001000a Key Value:                  Key Comment:
     76    Key Name:  comment  Key mdType: 0x00010001 Key Value:            This  Key Comment:
     77    Key Name:  comment  Key mdType: 0x00010001 Key Value:              is  Key Comment:
     78    Key Name:  comment  Key mdType: 0x00010001 Key Value:              an  Key Comment:
     79    Key Name:  comment  Key mdType: 0x00010001 Key Value:            ugly  Key Comment:
     80    Key Name:  comment  Key mdType: 0x00010001 Key Value:         comment  Key Comment:
     81    Key Name:  comment  Key mdType: 0x00010001 Key Value:             but  Key Comment:
     82    Key Name:  comment  Key mdType: 0x00010001 Key Value:           still  Key Comment:
     83    Key Name:  comment  Key mdType: 0x00010001 Key Value:           valid  Key Comment:
     84 Key Name:   title2  Key mdType: 0x00010001 Key Value:  Good bye world  Key Comment: STRING or STR may be used as the string type
     85 Key Name:     time  Key mdType: 0x00000404 Key Value:        1234.568  Key Comment:
     86 Key Name: negatives  Key mdType: 0x00010002 Key Value:  [-1,-2,-3,...] Key Comment:
     87 Key Name:       pi  Key mdType: 0x00000408 Key Value:           3.142  Key Comment: Definition of pi
     88 Key Name:   myBool  Key mdType: 0x00001301 Key Value:               0  Key Comment: F, f, 0, T, t, 1 are also acceptable
     89 Key Name:   primes  Key mdType: 0x00010002 Key Value:   [2,3,5,7,...] Key Comment: These are prime numbers
     90 Key Name: altitude  Key mdType: 0x00000104 Key Value:           10000  Key Comment:
     91 Key Name:    speed  Key mdType: 0x00000404 Key Value:          55.550  Key Comment:
     92 Key Name:   title1  Key mdType: 0x00010001 Key Value:     Hello world  Key Comment: This is a comment for the string value
    9393
    9494---> TESTPOINT PASSED (psMetadata{Test B - Read config file with overwrite set false} | tst_psMetadataIO.c)
     
    101101
    102102Failed lines: 6 Expected: 6 Contents of metadata list:
    103  Key Name:       pi  Key mdType: 2 Key Value:           3.142  Key Comment: Definition of pi
    104  Key Name: altitude  Key mdType: 0  Key Value:           10000  Key Comment:
    105  Key Name:     time  Key mdType: 1 Key Value:        1234.568  Key Comment:
    106  Key Name:   myBool  Key mdType: 3 Key Value:               0  Key Comment: F, f, 0, T, t, 1 are also acceptable
    107  Key Name:   title1  Key mdType: 5 Key Value:     Hello world  Key Comment: This is a comment for the string value
    108  Key Name:   title2  Key mdType: 5 Key Value:  Good bye world  Key Comment: STRING or STR may be used as the string type
    109  Key Name:   primes  Key mdType: 6  Bad type: 6 Key Comment: These are prime numbers
    110  Key Name: negatives  Key mdType: 6  Bad type: 6 Key Comment:
    111  Key Name:  comment  Key mdType: 5 Key Value:            This  Key Comment:
    112  Key Name:  comment  Key mdType: 5 Key Value:              is  Key Comment:
    113  Key Name:  comment  Key mdType: 5 Key Value:              an  Key Comment:
    114  Key Name:  comment  Key mdType: 5 Key Value:            ugly  Key Comment:
    115  Key Name:  comment  Key mdType: 5 Key Value:         comment  Key Comment:
    116  Key Name:  comment  Key mdType: 5 Key Value:             but  Key Comment:
    117  Key Name:  comment  Key mdType: 5 Key Value:           still  Key Comment:
    118  Key Name:  comment  Key mdType: 5 Key Value:           valid  Key Comment:
    119  Key Name:    speed  Key mdType: 1 Key Value:          66.660  Key Comment:
     103 Key Name:       pi  Key mdType: 0x00000408 Key Value:           3.142  Key Comment: Definition of pi
     104 Key Name: altitude  Key mdType: 0x00000104 Key Value:           10000  Key Comment:
     105 Key Name:     time  Key mdType: 0x00000404 Key Value:        1234.568  Key Comment:
     106 Key Name:   myBool  Key mdType: 0x00001301 Key Value:               0  Key Comment: F, f, 0, T, t, 1 are also acceptable
     107 Key Name:   title1  Key mdType: 0x00010001 Key Value:     Hello world  Key Comment: This is a comment for the string value
     108 Key Name:   title2  Key mdType: 0x00010001 Key Value:  Good bye world  Key Comment: STRING or STR may be used as the string type
     109 Key Name:   primes  Key mdType: 0x00010002 Key Value:   [2,3,5,7,...] Key Comment: These are prime numbers
     110 Key Name: negatives  Key mdType: 0x00010002 Key Value:  [-1,-2,-3,...] Key Comment:
     111 Key Name:  comment  Key mdType: 0x00010001 Key Value:            This  Key Comment:
     112 Key Name:  comment  Key mdType: 0x00010001 Key Value:              is  Key Comment:
     113 Key Name:  comment  Key mdType: 0x00010001 Key Value:              an  Key Comment:
     114 Key Name:  comment  Key mdType: 0x00010001 Key Value:            ugly  Key Comment:
     115 Key Name:  comment  Key mdType: 0x00010001 Key Value:         comment  Key Comment:
     116 Key Name:  comment  Key mdType: 0x00010001 Key Value:             but  Key Comment:
     117 Key Name:  comment  Key mdType: 0x00010001 Key Value:           still  Key Comment:
     118 Key Name:  comment  Key mdType: 0x00010001 Key Value:           valid  Key Comment:
     119 Key Name:    speed  Key mdType: 0x00000404 Key Value:          66.660  Key Comment:
    120120
    121121Contents of metadata table:
    122  Key Name:  comment  Key mdType: 14 Key Value:                  Key Comment:
    123     Key Name:  comment  Key mdType: 5 Key Value:            This  Key Comment:
    124     Key Name:  comment  Key mdType: 5 Key Value:              is  Key Comment:
    125     Key Name:  comment  Key mdType: 5 Key Value:              an  Key Comment:
    126     Key Name:  comment  Key mdType: 5 Key Value:            ugly  Key Comment:
    127     Key Name:  comment  Key mdType: 5 Key Value:         comment  Key Comment:
    128     Key Name:  comment  Key mdType: 5 Key Value:             but  Key Comment:
    129     Key Name:  comment  Key mdType: 5 Key Value:           still  Key Comment:
    130     Key Name:  comment  Key mdType: 5 Key Value:           valid  Key Comment:
    131  Key Name:   title2  Key mdType: 5 Key Value:  Good bye world  Key Comment: STRING or STR may be used as the string type
    132  Key Name:     time  Key mdType: 1 Key Value:        1234.568  Key Comment:
    133  Key Name: negatives  Key mdType: 6  Bad type: 6 Key Comment:
    134  Key Name:       pi  Key mdType: 2 Key Value:           3.142  Key Comment: Definition of pi
    135  Key Name:   myBool  Key mdType: 3 Key Value:               0  Key Comment: F, f, 0, T, t, 1 are also acceptable
    136  Key Name:   primes  Key mdType: 6  Bad type: 6 Key Comment: These are prime numbers
    137  Key Name: altitude  Key mdType: 0  Key Value:           10000  Key Comment:
    138  Key Name:    speed  Key mdType: 1 Key Value:          66.660  Key Comment:
    139  Key Name:   title1  Key mdType: 5 Key Value:     Hello world  Key Comment: This is a comment for the string value
     122 Key Name:  comment  Key mdType: 0x0001000a Key Value:                  Key Comment:
     123    Key Name:  comment  Key mdType: 0x00010001 Key Value:            This  Key Comment:
     124    Key Name:  comment  Key mdType: 0x00010001 Key Value:              is  Key Comment:
     125    Key Name:  comment  Key mdType: 0x00010001 Key Value:              an  Key Comment:
     126    Key Name:  comment  Key mdType: 0x00010001 Key Value:            ugly  Key Comment:
     127    Key Name:  comment  Key mdType: 0x00010001 Key Value:         comment  Key Comment:
     128    Key Name:  comment  Key mdType: 0x00010001 Key Value:             but  Key Comment:
     129    Key Name:  comment  Key mdType: 0x00010001 Key Value:           still  Key Comment:
     130    Key Name:  comment  Key mdType: 0x00010001 Key Value:           valid  Key Comment:
     131 Key Name:   title2  Key mdType: 0x00010001 Key Value:  Good bye world  Key Comment: STRING or STR may be used as the string type
     132 Key Name:     time  Key mdType: 0x00000404 Key Value:        1234.568  Key Comment:
     133 Key Name: negatives  Key mdType: 0x00010002 Key Value:  [-1,-2,-3,...] Key Comment:
     134 Key Name:       pi  Key mdType: 0x00000408 Key Value:           3.142  Key Comment: Definition of pi
     135 Key Name:   myBool  Key mdType: 0x00001301 Key Value:               0  Key Comment: F, f, 0, T, t, 1 are also acceptable
     136 Key Name:   primes  Key mdType: 0x00010002 Key Value:   [2,3,5,7,...] Key Comment: These are prime numbers
     137 Key Name: altitude  Key mdType: 0x00000104 Key Value:           10000  Key Comment:
     138 Key Name:    speed  Key mdType: 0x00000404 Key Value:          66.660  Key Comment:
     139 Key Name:   title1  Key mdType: 0x00010001 Key Value:     Hello world  Key Comment: This is a comment for the string value
    140140
    141141---> TESTPOINT PASSED (psMetadata{Test C - Read config file without auto-allocation of metadata} | tst_psMetadataIO.c)
Note: See TracChangeset for help on using the changeset viewer.