IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1395


Ignore:
Timestamp:
Aug 5, 2004, 10:57:53 AM (22 years ago)
Author:
harman
Message:

Added metadata tests

Location:
trunk/psLib/test/astronomy/verified
Files:
1 added
1 edited

Legend:

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

    r1390 r1395  
    77FITS file open status: OK - no error
    88
     9Key Name:   SIMPLE  Key Type:  1  Key Value:               1  Key Comment: file does conform to FITS standard
     10Key Name:   BITPIX  Key Type:  2  Key Value:               8  Key Comment: number of bits per data pixel
     11Key Name:    NAXIS  Key Type:  2  Key Value:               0  Key Comment: number of data axes
    912Key Name:  HISTORY  Key Type:  5  Key Value:                  Key Comment: File modified by user 'harman' with fv  on 2004-08-04T <DATE>
    10 Key Name:    NAXIS  Key Type:  2  Key Value:               0  Key Comment: number of data axes
    11 Key Name:   BITPIX  Key Type:  2  Key Value:               8  Key Comment: number of bits per data pixel
    12 Key Name:   SIMPLE  Key Type:  1  Key Value:               1  Key Comment: file does conform to FITS standard
    1313
    1414---> TESTPOINT PASSED (psMetadata{Test A - Read 1st hdr from simple FITS file} | tst_psMetadata_01.c)
     
    2424FITS file open status: OK - no error
    2525
     26Key Name: XTENSION  Key Type:  5  Key Value:      'IMAGE   '  Key Comment: IMAGE extension
     27Key Name:   BITPIX  Key Type:  2  Key Value:             -64  Key Comment: number of bits per data pixel
     28Key Name:    NAXIS  Key Type:  2  Key Value:               1  Key Comment: number of data axes
     29Key Name:   NAXIS1  Key Type:  2  Key Value:              64  Key Comment: length of data axis 1
     30Key Name:   PCOUNT  Key Type:  2  Key Value:               0  Key Comment: required keyword; must = 0
     31Key Name:   GCOUNT  Key Type:  2  Key Value:               1  Key Comment: required keyword; must = 1
     32Key Name:   BITPIX  Key Type:  2  Key Value:             -64  Key Comment: number of bits per data pixel
     33Key Name:  EXTNAME  Key Type:  5  Key Value:     'MY_DATA_1'  Key Comment:
    2634Key Name:  HISTORY  Key Type:  5  Key Value:                  Key Comment: File modified by user 'harman' with fv  on 2004-08-04T <DATE>
    2735Key Name:  HISTORY  Key Type:  5  Key Value:                  Key Comment: File modified by user 'harman' with fv  on 2004-08-04T <DATE>
    2836Key Name:  HISTORY  Key Type:  5  Key Value:                  Key Comment: File modified by user 'harman' with fv  on 2004-08-04T <DATE>
    2937Key Name:  HISTORY  Key Type:  5  Key Value:                  Key Comment: File modified by user 'harman' with fv  on 2004-08-04T <DATE>
    30 Key Name:  EXTNAME  Key Type:  5  Key Value:     'MY_DATA_1'  Key Comment:
    31 Key Name:   BITPIX  Key Type:  2  Key Value:             -64  Key Comment: number of bits per data pixel
    32 Key Name:   GCOUNT  Key Type:  2  Key Value:               1  Key Comment: required keyword; must = 1
    33 Key Name:   PCOUNT  Key Type:  2  Key Value:               0  Key Comment: required keyword; must = 0
    34 Key Name:   NAXIS1  Key Type:  2  Key Value:              64  Key Comment: length of data axis 1
    35 Key Name:    NAXIS  Key Type:  2  Key Value:               1  Key Comment: number of data axes
    36 Key Name:   BITPIX  Key Type:  2  Key Value:             -64  Key Comment: number of bits per data pixel
    37 Key Name: XTENSION  Key Type:  5  Key Value:      'IMAGE   '  Key Comment: IMAGE extension
    3838
    3939---> TESTPOINT PASSED (psMetadata{Test B - Read 2nd hdr from complex FITS file} | tst_psMetadata_01.c)
     
    4949FITS file open status: OK - no error
    5050
    51 Key Name:  COMMENT  Key Type:  5  Key Value:                  Key Comment:   and Astrophysics', volume 376, page 359; bibcode: 2001A&A...376..359H
    52 Key Name:  COMMENT  Key Type:  5  Key Value:                  Key Comment:   FITS (Flexible Image Transport System) format is defined in 'Astronomy
    53 Key Name:   EXTEND  Key Type:  1  Key Value:               1  Key Comment: FITS dataset may contain extensions
     51Key Name: XTENSION  Key Type:  5  Key Value:      'IMAGE   '  Key Comment: IMAGE extension
     52Key Name:   BITPIX  Key Type:  2  Key Value:             -64  Key Comment: number of bits per data pixel
     53Key Name:    NAXIS  Key Type:  2  Key Value:               1  Key Comment: number of data axes
    5454Key Name:   NAXIS1  Key Type:  2  Key Value:              64  Key Comment: length of data axis 1
    55 Key Name:    NAXIS  Key Type:  2  Key Value:               1  Key Comment: number of data axes
    56 Key Name:   BITPIX  Key Type:  2  Key Value:             -64  Key Comment: number of bits per data pixel
    57 Key Name:   SIMPLE  Key Type:  1  Key Value:               1  Key Comment: file does conform to FITS standard
     55Key Name:   PCOUNT  Key Type:  2  Key Value:               0  Key Comment: required keyword; must = 0
     56Key Name:   GCOUNT  Key Type:  2  Key Value:               1  Key Comment: required keyword; must = 1
     57Key Name:  EXTNAME  Key Type:  5  Key Value:     'MY_DATA_2'  Key Comment:
     58Key Name:  HISTORY  Key Type:  5  Key Value:                  Key Comment: File modified by user 'harman' with fv  on 2004-08-04T <DATE>
     59Key Name:  HISTORY  Key Type:  5  Key Value:                  Key Comment: File modified by user 'harman' with fv  on 2004-08-04T <DATE>
    5860
    5961---> TESTPOINT PASSED (psMetadata{Test C - Read named hdr from complex FITS file} | tst_psMetadata_01.c)
    6062
    6163
     64
     65/***************************** TESTPOINT ******************************************\
     66*             TestFile: tst_psMetadata_01.c                                        *
     67*            TestPoint: psMetadata{Test D - Attempt to use null file descriptor}   *
     68*             TestType: Negative                                                   *
     69*    ExpectedErrorText: Null FITS file descriptor not allowed                      *
     70*  ExpectedStatusValue: 0                                                          *
     71\**********************************************************************************/
     72
     73
     74---> TESTPOINT PASSED (psMetadata{Test D - Attempt to use null file descriptor} | tst_psMetadata_01.c)
     75
     76/***************************** TESTPOINT ******************************************\
     77*             TestFile: tst_psMetadata_01.c                                        *
     78*            TestPoint: psMetadata{Test E - Attempt to use two null inputs}        *
     79*             TestType: Negative                                                   *
     80*    ExpectedErrorText: Null extName and extNum = 0 not allowed                    *
     81*  ExpectedStatusValue: 0                                                          *
     82\**********************************************************************************/
     83
     84
     85---> TESTPOINT PASSED (psMetadata{Test E - Attempt to use two null inputs} | tst_psMetadata_01.c)
     86
     87/***************************** TESTPOINT ******************************************\
     88*             TestFile: tst_psMetadata_01.c                                        *
     89*            TestPoint: psMetadata{Test F - Attempt to use bad extNum}             *
     90*             TestType: Negative                                                   *
     91*    ExpectedErrorText: FITS error while locating header 22: tried to move past end of file *
     92*  ExpectedStatusValue: 0                                                          *
     93\**********************************************************************************/
     94
     95
     96---> TESTPOINT PASSED (psMetadata{Test F - Attempt to use bad extNum} | tst_psMetadata_01.c)
     97
     98/***************************** TESTPOINT ******************************************\
     99*             TestFile: tst_psMetadata_01.c                                        *
     100*            TestPoint: psMetadata{Test F - Attempt to use bad extName}            *
     101*             TestType: Negative                                                   *
     102*    ExpectedErrorText:                                                            *
     103*  ExpectedStatusValue: 0                                                          *
     104\**********************************************************************************/
     105
     106
     107---> TESTPOINT PASSED (psMetadata{Test F - Attempt to use bad extName} | tst_psMetadata_01.c)
    62108
    63109/***************************** TESTPOINT ******************************************\
Note: See TracChangeset for help on using the changeset viewer.