"Fossies" - the Fresh Open Source Software Archive

Member "cfitsio-4.0.0/testf77.out" (20 May 2021, 33427 Bytes) of package /linux/misc/cfitsio-4.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1  FITSIO TESTPROG
    2   
    3  Try opening then closing a nonexistent file: 
    4    ftopen iunit, status (expect an error) =  15 104
    5    ftclos status =  104
    6   
    7  ftinit create new file status =    0
    8   
    9  test writing of long string keywords: 
   10  123456789012345678901234567890123456789012345678901234567890123456789012345   
   11  '12345678901234567890123456789012345678901234567890123456789012345678'        
   12  1234567890123456789012345678901234567890123456789012345678901234'6789012345   
   13  '1234567890123456789012345678901234567890123456789012345678901234''67'        
   14  1234567890123456789012345678901234567890123456789012345678901234''789012345   
   15  '1234567890123456789012345678901234567890123456789012345678901234'''''        
   16  1234567890123456789012345678901234567890123456789012345678901234567'9012345   
   17  '1234567890123456789012345678901234567890123456789012345678901234567'         
   18  Wrote all Keywords successfully 
   19  ftflus status =    0
   20   
   21  HDU number =    1
   22  Values read back from primary array (99 = null pixel)
   23  The 1st, and every 4th pixel should be undefined: 
   24   99  2  3 99  5  6  7 99  9 10 11 99 13 14 15 99 17 18 19 99  T (ftgpvb) 
   25   99  2  3 99  5  6  7 99  9 10 11 99 13 14 15 99 17 18 19 99  T (ftgpvi) 
   26   99  2  3 99  5  6  7 99  9 10 11 99 13 14 15 99 17 18 19 99  T (ftgpvj) 
   27   99. 2. 3.99. 5. 6. 7.99. 9.10.11.99.13.14.15.99.17.18.19.99. T (ftgpve) 
   28   99. 2. 3.99. 5. 6. 7.99. 9.10.11.99.13.14.15.99.17.18.19.99. T (ftgpvd) 
   29    0  2  3  0  5  6  7  0  9 10 11  0 13 14 15  0 17 18 19  0  T (ftgpfb)
   30    0  2  3  0  5  6  7  0  9 10 11  0 13 14 15  0 17 18 19  0  T (ftgpfi)
   31    0  2  3  0  5  6  7  0  9 10 11  0 13 14 15  0 17 18 19  0  T (ftgpfj)
   32    0. 2. 3. 0. 5. 6. 7. 0. 9.10.11. 0.13.14.15. 0.17.18.19. 0. T (ftgpfe)
   33    0. 2. 3. 0. 5. 6. 7. 0. 9.10.11. 0.13.14.15. 0.17.18.19. 0. T (ftgpfd)
   34   
   35  Closed then reopened the FITS file 10 times.
   36   
   37  HDU number =    1
   38  Read back keywords: 
   39  simple, bitpix, naxis, naxes =    T  32   2  10   2
   40    pcount, gcount, extend =    0   1   T
   41  KEY_PREC= 'This keyword was written by fxprec' / comment goes here            
   42  KEY_PREC 'This keyword was written by fxprec comment goes here   
   43  KEY_PREC= 'This keyword was written by fxprec' / comment goes here            
   44  KY_PKNS1 :'first string' :fxpkns comment  
   45  KEY_PKYS :value_string         :fxpkys comment     0
   46  KEY_PKYL :   T:fxpkyl comment     0
   47  KEY_PKYJ :  11:fxpkyj comment     0
   48  KEY_PKYE :    11.00000:fxpkyj comment     0
   49  KEY_PKYD :    11.00000:fxpkyj comment     0
   50  KEY_PKYS :value_string         :fxpkys comment     0
   51  KEY_PKYL :   T:fxpkyl comment     0
   52  KEY_PKYJ :  11:fxpkyj comment     0
   53  KEY_PKYE :    13.13131:fxpkye comment     0
   54  KEY_PKYD :    15.15152:fxpkyd comment     0
   55  KEY_PKYF :    12.12121:fxpkyf comment     0
   56  KEY_PKYE :    13.13131:fxpkye comment     0
   57  KEY_PKYG : 14.141414141414:fxpkyg comment     0
   58  KEY_PKYD : 15.151515151515:fxpkyd comment     0
   59  KEY_PKYT  :  12345678:0.12345678901235fxpkyt comment     0
   60  KEY_PKYJ :  11:[km/s/Mpc] fxpkyj comment                0
   61  keyword unit=km/s/Mpc          
   62  KEY_PKYJ :  11:fxpkyj comment                           0
   63  keyword unit=                  
   64  KEY_PKYJ :  11:[feet/second/second] fxpkyj comment      0
   65  keyword unit=feet/second/second
   66  KEY_PKLS long string value = This is a very long string value that is continued
   67   over more than one keyword.                                          
   68  header contains   61 keywords; located at keyword   23
   69  ftgkns: first string  second string               
   70  ftgknl:    T   F   T
   71  ftgknj:   11  12  13
   72  ftgkne:   13.13131  14.14141  15.15152
   73  ftgknd:   15.15152  16.16162  17.17172
   74   
   75  Before deleting the HISTORY and DATE keywords...
   76  COMMENT 
   77  HISTORY 
   78  DATE    
   79  KY_PKNS1
   80   
   81  After deleting the keywords... 
   82  COMMENT This keyword was written by fxpcom.                                   
   83  KY_PKNS1= 'first string'       / fxpkns comment                               
   84   
   85  After inserting the keywords... 
   86  COMMENT   continued over multiple keywords.  The HEASARC convention uses the &
   87  KY_IREC = 'This keyword inserted by fxirec'                                   
   88  KY_IKYS = 'insert_value_string' / ikys comment                                
   89  KY_IKYJ =                   49 / ikyj comment                                 
   90  KY_IKYL =                    T / ikyl comment                                 
   91  KY_IKYE =           1.2346E+01 / ikye comment                                 
   92  KY_IKYD = 1.23456789012346E+01 / ikyd comment                                 
   93  KY_IKYF =              12.3456 / ikyf comment                                 
   94  KY_IKYG =     12.3456789012346 / ikyg comment                                 
   95  COMMENT   character at the end of each substring which is then continued      
   96   
   97  After modifying the keywords... 
   98  COMMENT   This keyword was modified by fxmrec                                 
   99  KY_MREC = 'This keyword was modified by fxmcrd'                               
  100  NEWIKYS = 'modified_string'    / ikys comment                                 
  101  KY_IKYJ =                   50 / This is a modified comment                   
  102  KY_IKYL =                    F / ikyl comment                                 
  103  KY_IKYE =          -1.2346E+01 / ikye comment                                 
  104  KY_IKYD = -1.23456789012346E+01 / modified comment                            
  105  KY_IKYF =             -12.3456 / ikyf comment                                 
  106  KY_IKYG =    -12.3456789012346 / ikyg comment                                 
  107  COMMENT   character at the end of each substring which is then continued      
  108   
  109  After updating the keywords... 
  110  COMMENT   This keyword was modified by fxmrec                                 
  111  KY_UCRD = 'This keyword was updated by fxucrd'                                
  112  NEWIKYS = 'updated_string'     / ikys comment                                 
  113  KY_IKYJ =                   51 / This is a modified comment                   
  114  KY_IKYL =                    T / ikyl comment                                 
  115  KY_IKYE =          -1.3346E+01 / ikye comment                                 
  116  KY_IKYD = -1.33456789012346E+01 / modified comment                            
  117  KY_IKYF =             -13.3456 / ikyf comment                                 
  118  KY_IKYG =    -13.3456789012346 / ikyg comment                                 
  119  COMMENT   character at the end of each substring which is then continued      
  120   
  121  Keywords found using wildcard search (should be 9)...
  122  KEY_PKYS= 'value_string'       / fxpkys comment                               
  123  KEY_PKYL=                    T / fxpkyl comment                               
  124  KEY_PKYJ=                   11 / [feet/second/second] fxpkyj comment          
  125  KEY_PKYF=             12.12121 / fxpkyf comment                               
  126  KEY_PKYE=         1.313131E+01 / fxpkye comment                               
  127  KEY_PKYG=    14.14141414141414 / fxpkyg comment                               
  128  KEY_PKYD= 1.51515151515152E+01 / fxpkyd comment                               
  129  NEWIKYS = 'updated_string'     / ikys comment                                 
  130  KEY_PKYT= 12345678.1234567890123456 / fxpkyt comment                          
  131   
  132  ftibin status =    0
  133  HDU number =    2
  134  header contains   33 keywords located at keyword    1
  135  header contains   33 keywords with room for   74 more
  136  TDIM3 = (1,2,8)                 3   1   2   8
  137  ftpcl_ status =    0
  138   
  139  Find the column numbers a returned status value of 237 is
  140  expected and indicates that more than one column name matches
  141  the input column name template.  Status = 219 indicates that
  142  there was no matching column name.
  143  Column Xvalue is number   3 status =   0
  144  Column Avalue is number   1 status =  237
  145  Column Lvalue is number   2 status =  237
  146  Column Xvalue is number   3 status =  237
  147  Column Bvalue is number   4 status =  237
  148  Column Ivalue is number   5 status =  237
  149  Column Jvalue is number   6 status =  237
  150  Column Evalue is number   7 status =  237
  151  Column Dvalue is number   8 status =  237
  152  Column Cvalue is number   9 status =  237
  153  Column Mvalue is number  10 status =  237
  154  Column        is number   0 status =  219
  155   
  156  Information about each column: 
  157  15A  16  15  15 Avalue       A      1.00    0.00  1234554321        
  158  1L   14   1   1 Lvalue m**2  L      1.00    0.00  1234554321        
  159  16X   1  16   1 Xvalue cm    X      1.00    0.00  1234554321        
  160  1B   11   1   1 Bvalue erg/s B      1.00    0.00          99        
  161  1I   21   1   2 Ivalue km/s  I      1.00    0.00          99        
  162  1J   41   1   4 Jvalue       J      1.00    0.00          99        
  163  1E   42   1   4 Evalue       E      1.00    0.00  1234554321        
  164  1D   82   1   8 Dvalue       D      1.00    0.00  1234554321        
  165  1C   83   1   8 Cvalue       C      1.00    0.00  1234554321        
  166  1M  163   1  16 Mvalue       M      1.00    0.00  1234554321        
  167   
  168  ftitab status =    0
  169  HDU number =    2
  170  ftpcl_ status =    0
  171   
  172  ASCII table: rowlen, nrows, tfields, extname: 76 11  5 Test-ASCII     
  173  Name      1 A15           
  174  Ivalue   17 I10    m**2   
  175  Fvalue   28 F14.6  cm     
  176  Evalue   43 E12.5  erg/s  
  177  Dvalue   56 D21.14 km/s   
  178   
  179  Data values read from ASCII table: 
  180  first string     1  1  1  1. 1.
  181  second string    2  2  2  2. 2.
  182                   3  3  3  3. 3.
  183  UNDEFINED        4  4  4  4. 4.
  184                   5  5  5  5. 5.
  185                   6  6  6  6. 6.
  186                   7  7  7  7. 7.
  187                   8  8  8  8. 8.
  188                   9  9  9  9. 9.
  189                  10 10 10 10.10.
  190                  99 99 99 99.99.
  191   
  192        1       1.000000  1.00000E+00  1.00000000000000E+00second string        
  193   
  194  Column name is number   1 status =    0
  195  Column Ivalue is number   2 status =  237
  196  Column Fvalue is number   3 status =  237
  197  Column Evalue is number   4 status =  237
  198  Column Dvalue is number   5 status =  237
  199  Column        is number   0 status =  219
  200  A15      16   1  15 Name     1            1.00      0.00 null1   
  201  I10      41   1  10 Ivalue  17 m**2       1.00      0.00 null2   
  202  F14.6    82   1  14 Fvalue  28 cm         1.00      0.00 null3   
  203  E12.5    42   1  12 Evalue  43 erg/s      1.00      0.00 null4   
  204  D21.14   82   1  21 Dvalue  56 km/s       1.00      0.00 null5   
  205   
  206   
  207  Data values after inserting 3 rows after row 2:
  208  first string     1  1  1  1. 1.
  209  second string    2  2  2  2. 2.
  210                   0  0  0  0. 0.
  211                   0  0  0  0. 0.
  212                   0  0  0  0. 0.
  213                   3  3  3  3. 3.
  214  UNDEFINED        4  4  4  4. 4.
  215                   5  5  5  5. 5.
  216                   6  6  6  6. 6.
  217                   7  7  7  7. 7.
  218                   8  8  8  8. 8.
  219                   9  9  9  9. 9.
  220                  10 10 10 10.10.
  221                  99 99 99 99.99.
  222   
  223  Data values after deleting 2 rows at row 10: 
  224  first string     1  1  1  1. 1.
  225  second string    2  2  2  2. 2.
  226                   0  0  0  0. 0.
  227                   0  0  0  0. 0.
  228                   0  0  0  0. 0.
  229                   3  3  3  3. 3.
  230  UNDEFINED        4  4  4  4. 4.
  231                   5  5  5  5. 5.
  232                   6  6  6  6. 6.
  233                   9  9  9  9. 9.
  234                  10 10 10 10.10.
  235                  99 99 99 99.99.
  236   
  237  Data values after deleting column 3: 
  238  first string     1  1  1. 1.
  239  second string    2  2  2. 2.
  240                   0  0  0. 0.
  241                   0  0  0. 0.
  242                   0  0  0. 0.
  243                   3  3  3. 3.
  244  UNDEFINED        4  4  4. 4.
  245                   5  5  5. 5.
  246                   6  6  6. 6.
  247                   9  9  9. 9.
  248                  10 10 10.10.
  249                  99 99 99.99.
  250   
  251   Data values after inserting column 5: 
  252  first string     1  1  1. 1. 0
  253  second string    2  2  2. 2. 0
  254                   0  0  0. 0. 0
  255                   0  0  0. 0. 0
  256                   0  0  0. 0. 0
  257                   3  3  3. 3. 0
  258  UNDEFINED        4  4  4. 4. 0
  259                   5  5  5. 5. 0
  260                   6  6  6. 6. 0
  261                   9  9  9. 9. 0
  262                  10 10 10.10. 0
  263                  99 99 99.99. 0
  264  HDU number =    3
  265   
  266  Moved to binary table
  267  header contains   37 keywords with room for   70 more 
  268   
  269  Binary table: nrows, tfields, extname, pcount:  21  10Test-BINTABLE     0
  270  Avalue         15A                           
  271  Lvalue         1L             m**2           
  272  Xvalue         16X            cm             
  273  Bvalue         1B             erg/s          
  274  Ivalue         1I             km/s           
  275  Jvalue         1J                            
  276  Evalue         1E                            
  277  Dvalue         1D                            
  278  Cvalue         1C                            
  279  Mvalue         1M                            
  280   
  281  Data values read from binary table: 
  282   Bit column (X) data values:   
  283  FTFFTTFF FTTTFFFF TTTTFFFF FTTTTTFF FFFFFFFF
  284    
  285  null string column value (should be blank):                              
  286   
  287  Read columns with ftgcv_: 
  288  first string     F  76   1   1   1   1.   1.   1.  -2.   1.  -2.
  289  second string    T 112   2   2   2   2.   2.   3.  -4.   3.  -4.
  290                   F 240   3   3   3   3.   3.   5.  -6.   5.  -6.
  291  NOT DEFINED      F 124   0  -4  -4  -4.  -4.   7.  -8.   7.  -8.
  292  NOT DEFINED      T   0   5   5   5   5.   5.   9. -10.   9. -10.
  293  NOT DEFINED      T   0   0  -6  -6  -6.  -6.  11. -12.  11. -12.
  294  NOT DEFINED      F   0   7   7   7   7.   7.  13. -14.  13. -14.
  295  NOT DEFINED      F   0   0  -8  -8  -8.  -8.  15. -16.  15. -16.
  296  NOT DEFINED      F   0   9   9   9   9.   9.  17. -18.  17. -18.
  297  NOT DEFINED      T   0   0 -10 -10 -10. -10.  19. -20.  19. -20.
  298  NOT DEFINED      F   0  98  98  98  98.  98.   0.   0.   0.   0.
  299  NOT DEFINED      T   0  12  12  12  12.  12.   0.   0.   0.   0.
  300  NOT DEFINED      F   0  98  98  98  98.  98.   0.   0.   0.   0.
  301  NOT DEFINED      F   0   0 -14 -14 -14. -14.   0.   0.   0.   0.
  302  NOT DEFINED      F   0  98  98  98  98.  98.   0.   0.   0.   0.
  303  NOT DEFINED      F   0   0 -16 -16 -16. -16.   0.   0.   0.   0.
  304  NOT DEFINED      T   0  98  98  98  98.  98.   0.   0.   0.   0.
  305  NOT DEFINED      T   0   0 -18 -18 -18. -18.   0.   0.   0.   0.
  306  NOT DEFINED      T   0  98  98  98  98.  98.   0.   0.   0.   0.
  307  NOT DEFINED      T   0   0 -20 -20 -20. -20.   0.   0.   0.   0.
  308  NOT DEFINED      F   0  98  98  98  98.  98.   0.   0.   0.   0.
  309   
  310   Read columns with ftgcf_: 
  311  first string     F  76   1   1   1   1.   1.   1.  -2.   1.  -2.
  312  second string    T 112   2   2   2   2.   2.   3.  -4.   3.  -4.
  313                   F 240   3   3   3   3.   3.   5.  -6.   5.  -6.
  314                   F 124   0  -4  -4  -4.  -4.   7.  -8.   7.  -8.
  315                   T   0   5   5   5   5.   5.   9. -10.   9. -10.
  316                   T   0   0  -6  -6  -6.  -6.  11. -12.  11. -12.
  317                   F   0   7   7   7   7.   7.  13. -14.  13. -14.
  318                   F   0   0  -8  -8  -8.  -8.  15. -16.  15. -16.
  319                   F   0   9   9   9   9.   9.  17. -18.  17. -18.
  320                   T   0   0 -10 -10 -10. -10.  19. -20.  19. -20.
  321                   F   0  99  99
  322                   T   0  12  12
  323                   F   0  99  99
  324                   F   0   0 -14
  325                   F   0  99  99
  326                   F   0   0 -16
  327                   T   0  99  99
  328                   T   0   0 -18
  329                   T   0  99  99
  330                   T   0   0 -20
  331                   F   0  99  99
  332   
  333  Data values after inserting 3 rows after row 2:
  334  first string     1   1   1   1.   1.
  335  second string    2   2   2   2.   2.
  336  NOT DEFINED      0   0   0   0.   0.
  337  NOT DEFINED      0   0   0   0.   0.
  338  NOT DEFINED      0   0   0   0.   0.
  339                   3   3   3   3.   3.
  340  NOT DEFINED      0  -4  -4  -4.  -4.
  341  NOT DEFINED      5   5   5   5.   5.
  342  NOT DEFINED      0  -6  -6  -6.  -6.
  343  NOT DEFINED      7   7   7   7.   7.
  344  NOT DEFINED      0  -8  -8  -8.  -8.
  345  NOT DEFINED      9   9   9   9.   9.
  346  NOT DEFINED      0 -10 -10 -10. -10.
  347  NOT DEFINED     98  98  98  98.  98.
  348   
  349  Data values after deleting 2 rows at row 10: 
  350  first string     1   1   1   1.   1.
  351  second string    2   2   2   2.   2.
  352  NOT DEFINED      0   0   0   0.   0.
  353  NOT DEFINED      0   0   0   0.   0.
  354  NOT DEFINED      0   0   0   0.   0.
  355                   3   3   3   3.   3.
  356  NOT DEFINED      0  -4  -4  -4.  -4.
  357  NOT DEFINED      5   5   5   5.   5.
  358  NOT DEFINED      0  -6  -6  -6.  -6.
  359  NOT DEFINED      9   9   9   9.   9.
  360  NOT DEFINED      0 -10 -10 -10. -10.
  361  NOT DEFINED     98  98  98  98.  98.
  362   
  363  Data values after deleting column 6: 
  364  first string     1   1   1.   1.
  365  second string    2   2   2.   2.
  366  NOT DEFINED      0   0   0.   0.
  367  NOT DEFINED      0   0   0.   0.
  368  NOT DEFINED      0   0   0.   0.
  369                   3   3   3.   3.
  370  NOT DEFINED      0  -4  -4.  -4.
  371  NOT DEFINED      5   5   5.   5.
  372  NOT DEFINED      0  -6  -6.  -6.
  373  NOT DEFINED      9   9   9.   9.
  374  NOT DEFINED      0 -10 -10. -10.
  375  NOT DEFINED     98  98  98.  98.
  376   
  377  Data values after inserting column 8: 
  378  first string     1   1   1.   1.  0
  379  second string    2   2   2.   2.  0
  380  NOT DEFINED      0   0   0.   0.  0
  381  NOT DEFINED      0   0   0.   0.  0
  382  NOT DEFINED      0   0   0.   0.  0
  383                   3   3   3.   3.  0
  384  NOT DEFINED      0  -4  -4.  -4.  0
  385  NOT DEFINED      5   5   5.   5.  0
  386  NOT DEFINED      0  -6  -6.  -6.  0
  387  NOT DEFINED      9   9   9.   9.  0
  388  NOT DEFINED      0 -10 -10. -10.  0
  389  NOT DEFINED     98  98  98.  98.  0
  390   
  391  Values after setting 1st 10 elements in column 8 = null: 
  392  first string     1   1   1.   1. 98
  393  second string    2   2   2.   2. 98
  394  NOT DEFINED      0   0   0.   0. 98
  395  NOT DEFINED      0   0   0.   0. 98
  396  NOT DEFINED      0   0   0.   0. 98
  397                   3   3   3.   3. 98
  398  NOT DEFINED      0  -4  -4.  -4. 98
  399  NOT DEFINED      5   5   5.   5. 98
  400  NOT DEFINED      0  -6  -6.  -6. 98
  401  NOT DEFINED      9   9   9.   9. 98
  402  NOT DEFINED      0 -10 -10. -10.  0
  403  NOT DEFINED     98  98  98.  98.  0
  404   
  405  ftibin status =    0
  406  HDU number =    2
  407       0  1000 10000 33000 66000  -999
  408       0  1000 10000 32768 65535  -999
  409       0  1000 10000 32800 65500  -999
  410   
  411       0     1    10    33    66  -999
  412  -32768-31768-22768     0 32767  -999
  413      -1     9    99   327   654  -999
  414   
  415   Create image extension: ftiimg status =    0
  416  HDU number =    3
  417   
  418  Wrote whole 2D array: ftp2di status =   0
  419   
  420  Read whole 2D array: ftg2di status =   0
  421     0   1   2   3   4   5   6   7   8   9  10  11  12  13  14   0   0   0   0
  422    10  11  12  13  14  15  16  17  18  19  20  21  22  23  24   0   0   0   0
  423    20  21  22  23  24  25  26  27  28  29  30  31  32  33  34   0   0   0   0
  424    30  31  32  33  34  35  36  37  38  39  40  41  42  43  44   0   0   0   0
  425    40  41  42  43  44  45  46  47  48  49  50  51  52  53  54   0   0   0   0
  426    50  51  52  53  54  55  56  57  58  59  60  61  62  63  64   0   0   0   0
  427    60  61  62  63  64  65  66  67  68  69  70  71  72  73  74   0   0   0   0
  428    70  71  72  73  74  75  76  77  78  79  80  81  82  83  84   0   0   0   0
  429    80  81  82  83  84  85  86  87  88  89  90  91  92  93  94   0   0   0   0
  430    90  91  92  93  94  95  96  97  98  99 100 101 102 103 104   0   0   0   0
  431   100 101 102 103 104 105 106 107 108 109 110 111 112 113 114   0   0   0   0
  432   110 111 112 113 114 115 116 117 118 119 120 121 122 123 124   0   0   0   0
  433   120 121 122 123 124 125 126 127 128 129 130 131 132 133 134   0   0   0   0
  434   130 131 132 133 134 135 136 137 138 139 140 141 142 143 144   0   0   0   0
  435   140 141 142 143 144 145 146 147 148 149 150 151 152 153 154   0   0   0   0
  436   150 151 152 153 154 155 156 157 158 159 160 161 162 163 164   0   0   0   0
  437   160 161 162 163 164 165 166 167 168 169 170 171 172 173 174   0   0   0   0
  438   170 171 172 173 174 175 176 177 178 179 180 181 182 183 184   0   0   0   0
  439   180 181 182 183 184 185 186 187 188 189 190 191 192 193 194   0   0   0   0
  440   190 191 192 193 194 195 196 197 198 199 200 201 202 203 204   0   0   0   0
  441   200 201 202 203 204 205 206 207 208 209 210 211 212 213 214   0   0   0   0
  442   210 211 212 213 214 215 216 217 218 219 220 221 222 223 224   0   0   0   0
  443   220 221 222 223 224 225 226 227 228 229 230 231 232 233 234   0   0   0   0
  444   230 231 232 233 234 235 236 237 238 239 240 241 242 243 244   0   0   0   0
  445   240 241 242 243 244 245 246 247 248 249 250 251 252 253 254   0   0   0   0
  446     0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  447     0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  448     0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  449     0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  450     0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  451   
  452   
  453  Wrote subset 2D array: ftpssi status =   0
  454   
  455  Read whole 2D array: ftg2di status =   0
  456     0   1   2   3   4   5   6   7   8   9  10  11  12  13  14   0   0   0   0
  457    10  11  12  13  14  15  16  17  18  19  20  21  22  23  24   0   0   0   0
  458    20  21  22  23  24  25  26  27  28  29  30  31  32  33  34   0   0   0   0
  459    30  31  32  33  34  35  36  37  38  39  40  41  42  43  44   0   0   0   0
  460    40  41  42  43   0  -1  -2  -3  -4  -5  -6  -7  -8  -9  54   0   0   0   0
  461    50  51  52  53 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19  64   0   0   0   0
  462    60  61  62  63 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29  74   0   0   0   0
  463    70  71  72  73 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39  84   0   0   0   0
  464    80  81  82  83 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49  94   0   0   0   0
  465    90  91  92  93 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 104   0   0   0   0
  466   100 101 102 103 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 114   0   0   0   0
  467   110 111 112 113 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 124   0   0   0   0
  468   120 121 122 123 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 134   0   0   0   0
  469   130 131 132 133 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 144   0   0   0   0
  470   140 141 142 143 144 145 146 147 148 149 150 151 152 153 154   0   0   0   0
  471   150 151 152 153 154 155 156 157 158 159 160 161 162 163 164   0   0   0   0
  472   160 161 162 163 164 165 166 167 168 169 170 171 172 173 174   0   0   0   0
  473   170 171 172 173 174 175 176 177 178 179 180 181 182 183 184   0   0   0   0
  474   180 181 182 183 184 185 186 187 188 189 190 191 192 193 194   0   0   0   0
  475   190 191 192 193 194 195 196 197 198 199 200 201 202 203 204   0   0   0   0
  476   200 201 202 203 204 205 206 207 208 209 210 211 212 213 214   0   0   0   0
  477   210 211 212 213 214 215 216 217 218 219 220 221 222 223 224   0   0   0   0
  478   220 221 222 223 224 225 226 227 228 229 230 231 232 233 234   0   0   0   0
  479   230 231 232 233 234 235 236 237 238 239 240 241 242 243 244   0   0   0   0
  480   240 241 242 243 244 245 246 247 248 249 250 251 252 253 254   0   0   0   0
  481     0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  482     0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  483     0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  484     0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  485     0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  486   
  487   
  488  Read subset of 2D array: ftgsvi status =    0
  489     41   43   -1   -3   -5   71   73  -31  -33  -35
  490   
  491  Create image extension: ftiimg status =   0
  492  HDU number =    4
  493  Create temporary file: ftinit status =    0
  494  Copy image extension to primary array of tmp file.
  495  ftcopy status =    0
  496  SIMPLE  =                    T / file does conform to FITS standard           
  497  BITPIX  =                   16 / number of bits per data pixel                
  498  NAXIS   =                    2 / number of data axes                          
  499  NAXIS1  =                   15 / length of data axis 1                        
  500  NAXIS2  =                   25 / length of data axis 2                        
  501  EXTEND  =                    T / FITS dataset may contain extensions          
  502  Delete the tmp file: ftdelt status =   0
  503  Delete the image extension hdutype, status =   1   0
  504  HDU number =    4
  505  ftcrhd status =    0
  506  Variable length arrays: ftphbn status =   0
  507  ftpcl_ status =    0
  508  PCOUNT = 4446
  509  HDU number =    6
  510  A                                   0
  511  L  0  F
  512  X  0  F
  513  B  1  0
  514  I  1  0
  515  J  1  0
  516  E  1. 0.
  517  D  1. 0.
  518  Column 8 repeat and offset =    1   14
  519  A  ab                               0
  520  L  0  F  T
  521  X  0  F  T
  522  B 99  2  0
  523  I 99  2  0
  524  J 99  2  0
  525  E 99. 2. 0.
  526  D 99. 2. 0.
  527  Column 8 repeat and offset =    2   49
  528  A  abc                              0
  529  L  0  F  F  F
  530  X  0  F  T  F
  531  B  1 99  3  0
  532  I  1 99  3  0
  533  J  1 99  3  0
  534  E  1.99. 3. 0.
  535  D  1.99. 3. 0.
  536  Column 8 repeat and offset =    3  105
  537  A  abcd                             0
  538  L  0  F  T  F  F
  539  X  0  F  T  F  F
  540  B  1  2 99  4  0
  541  I  1  2 99  4  0
  542  J  1  2 99  4  0
  543  E  1. 2.99. 4. 0.
  544  D  1. 2.99. 4. 0.
  545  Column 8 repeat and offset =    4  182
  546  A  abcde                            0
  547  L  0  F  T  F  F  T
  548  X  0  F  T  F  F  T
  549  B  1  2  3 99  5  0
  550  I  1  2  3 99  5  0
  551  J  1  2  3 99  5  0
  552  E  1. 2. 3.99. 5. 0.
  553  D  1. 2. 3.99. 5. 0.
  554  Column 8 repeat and offset =    5  280
  555  A  abcdef                           0
  556  L  0  F  T  F  F  F  T
  557  X  0  F  T  F  F  T  T
  558  B  1  2  3  4 99  6  0
  559  I  1  2  3  4 99  6  0
  560  J  1  2  3  4 99  6  0
  561  E  1. 2. 3. 4.99. 6. 0.
  562  D  1. 2. 3. 4.99. 6. 0.
  563  Column 8 repeat and offset =    6  399
  564  A  abcdefg                          0
  565  L  0  F  T  F  F  T  F  F
  566  X  0  F  T  F  F  T  T  F
  567  B  1  2  3  4  5 99  7  0
  568  I  1  2  3  4  5 99  7  0
  569  J  1  2  3  4  5 99  7  0
  570  E  1. 2. 3. 4. 5.99. 7. 0.
  571  D  1. 2. 3. 4. 5.99. 7. 0.
  572  Column 8 repeat and offset =    7  539
  573  A  abcdefgh                         0
  574  L  0  F  T  F  F  T  T  F  F
  575  X  0  F  T  F  F  T  T  F  F
  576  B  1  2  3  4  5  6 99  8  0
  577  I  1  2  3  4  5  6 99  8  0
  578  J  1  2  3  4  5  6 99  8  0
  579  E  1. 2. 3. 4. 5. 6.99. 8. 0.
  580  D  1. 2. 3. 4. 5. 6.99. 8. 0.
  581  Column 8 repeat and offset =    8  700
  582  A  abcdefghi                        0
  583  L  0  F  T  F  F  T  T  F  F  F
  584  X  0  F  T  F  F  T  T  F  F  F
  585  B  1  2  3  4  5  6  7 99  9  0
  586  I  1  2  3  4  5  6  7 99  9  0
  587  J  1  2  3  4  5  6  7 99  9  0
  588  E  1. 2. 3. 4. 5. 6. 7.99. 9. 0.
  589  D  1. 2. 3. 4. 5. 6. 7.99. 9. 0.
  590  Column 8 repeat and offset =    9  883
  591  A  abcdefghij                       0
  592  L  0  F  T  F  F  T  T  F  F  F  T
  593  X  0  F  T  F  F  T  T  F  F  F  T
  594  B  1  2  3  4  5  6  7  8 99 10  0
  595  I  1  2  3  4  5  6  7  8 99 10  0
  596  J  1  2  3  4  5  6  7  8 99 10  0
  597  E  1. 2. 3. 4. 5. 6. 7. 8.99.10. 0.
  598  D  1. 2. 3. 4. 5. 6. 7. 8.99.10. 0.
  599  Column 8 repeat and offset =   10 1087
  600  A  abcdefghijk                      0
  601  L  0  F  T  F  F  T  T  F  F  F  F  T
  602  X  0  F  T  F  F  T  T  F  F  F  T  T
  603  B  1  2  3  4  5  6  7  8  9 99 11  0
  604  I  1  2  3  4  5  6  7  8  9 99 11  0
  605  J  1  2  3  4  5  6  7  8  9 99 11  0
  606  E  1. 2. 3. 4. 5. 6. 7. 8. 9.99.11. 0.
  607  D  1. 2. 3. 4. 5. 6. 7. 8. 9.99.11. 0.
  608  Column 8 repeat and offset =   11 1312
  609  A  abcdefghijkl                     0
  610  L  0  F  T  F  F  T  T  F  F  F  T  F  T
  611  X  0  F  T  F  F  T  T  F  F  F  T  T  T
  612  B  1  2  3  4  5  6  7  8  9 10 99 12  0
  613  I  1  2  3  4  5  6  7  8  9 10 99 12  0
  614  J  1  2  3  4  5  6  7  8  9 10 99 12  0
  615  E  1. 2. 3. 4. 5. 6. 7. 8. 9.10.99.12. 0.
  616  D  1. 2. 3. 4. 5. 6. 7. 8. 9.10.99.12. 0.
  617  Column 8 repeat and offset =   12 1558
  618  A  abcdefghijklm                    0
  619  L  0  F  T  F  F  T  T  F  F  F  T  T  F  F
  620  X  0  F  T  F  F  T  T  F  F  F  T  T  T  F
  621  B  1  2  3  4  5  6  7  8  9 10 11 99 13  0
  622  I  1  2  3  4  5  6  7  8  9 10 11 99 13  0
  623  J  1  2  3  4  5  6  7  8  9 10 11 99 13  0
  624  E  1. 2. 3. 4. 5. 6. 7. 8. 9.10.11.99.13. 0.
  625  D  1. 2. 3. 4. 5. 6. 7. 8. 9.10.11.99.13. 0.
  626  Column 8 repeat and offset =   13 1825
  627  A  abcdefghijklmn                   0
  628  L  0  F  T  F  F  T  T  F  F  F  T  T  T  F  F
  629  X  0  F  T  F  F  T  T  F  F  F  T  T  T  F  F
  630  B  1  2  3  4  5  6  7  8  9 10 11 12 99 14  0
  631  I  1  2  3  4  5  6  7  8  9 10 11 12 99 14  0
  632  J  1  2  3  4  5  6  7  8  9 10 11 12 99 14  0
  633  E  1. 2. 3. 4. 5. 6. 7. 8. 9.10.11.12.99.14. 0.
  634  D  1. 2. 3. 4. 5. 6. 7. 8. 9.10.11.12.99.14. 0.
  635  Column 8 repeat and offset =   14 2113
  636  A  abcdefghijklmno                  0
  637  L  0  F  T  F  F  T  T  F  F  F  T  T  T  F  F  F
  638  X  0  F  T  F  F  T  T  F  F  F  T  T  T  F  F  F
  639  B  1  2  3  4  5  6  7  8  9 10 11 12 13 99 15  0
  640  I  1  2  3  4  5  6  7  8  9 10 11 12 13 99 15  0
  641  J  1  2  3  4  5  6  7  8  9 10 11 12 13 99 15  0
  642  E  1. 2. 3. 4. 5. 6. 7. 8. 9.10.11.12.13.99.15. 0.
  643  D  1. 2. 3. 4. 5. 6. 7. 8. 9.10.11.12.13.99.15. 0.
  644  Column 8 repeat and offset =   15 2422
  645  A  abcdefghijklmnop                 0
  646  L  0  F  T  F  F  T  T  F  F  F  T  T  T  F  F  F  F
  647  X  0  F  T  F  F  T  T  F  F  F  T  T  T  F  F  F  F
  648  B  1  2  3  4  5  6  7  8  9 10 11 12 13 14 99 16  0
  649  I  1  2  3  4  5  6  7  8  9 10 11 12 13 14 99 16  0
  650  J  1  2  3  4  5  6  7  8  9 10 11 12 13 14 99 16  0
  651  E  1. 2. 3. 4. 5. 6. 7. 8. 9.10.11.12.13.14.99.16. 0.
  652  D  1. 2. 3. 4. 5. 6. 7. 8. 9.10.11.12.13.14.99.16. 0.
  653  Column 8 repeat and offset =   16 2752
  654  A  abcdefghijklmnopq                0
  655  L  0  F  T  F  F  T  T  F  F  F  T  T  T  F  F  F  F  T
  656  X  0  F  T  F  F  T  T  F  F  F  T  T  T  F  F  F  F  T
  657  B  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 99 17  0
  658  I  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 99 17  0
  659  J  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 99 17  0
  660  E  1. 2. 3. 4. 5. 6. 7. 8. 9.10.11.12.13.14.15.99.17. 0.
  661  D  1. 2. 3. 4. 5. 6. 7. 8. 9.10.11.12.13.14.15.99.17. 0.
  662  Column 8 repeat and offset =   17 3104
  663  A  abcdefghijklmnopqr               0
  664  L  0  F  T  F  F  T  T  F  F  F  T  T  T  F  F  F  F  F  T
  665  X  0  F  T  F  F  T  T  F  F  F  T  T  T  F  F  F  F  T  T
  666  B  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 99 18  0
  667  I  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 99 18  0
  668  J  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 99 18  0
  669  E  1. 2. 3. 4. 5. 6. 7. 8. 9.10.11.12.13.14.15.16.99.18. 0.
  670  D  1. 2. 3. 4. 5. 6. 7. 8. 9.10.11.12.13.14.15.16.99.18. 0.
  671  Column 8 repeat and offset =   18 3477
  672  A  abcdefghijklmnopqrs              0
  673  L  0  F  T  F  F  T  T  F  F  F  T  T  T  F  F  F  F  T  F  T
  674  X  0  F  T  F  F  T  T  F  F  F  T  T  T  F  F  F  F  T  T  T
  675  B  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 99 19  0
  676  I  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 99 19  0
  677  J  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 99 19  0
  678  E  1. 2. 3. 4. 5. 6. 7. 8. 9.10.11.12.13.14.15.16.17.99.19. 0.
  679  D  1. 2. 3. 4. 5. 6. 7. 8. 9.10.11.12.13.14.15.16.17.99.19. 0.
  680  Column 8 repeat and offset =   19 3871
  681  A  abcdefghijklmnopqrst             0
  682  L  0  F  T  F  F  T  T  F  F  F  T  T  T  F  F  F  F  T  T  F  T
  683  X  0  F  T  F  F  T  T  F  F  F  T  T  T  F  F  F  F  T  T  T  T
  684  B  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 99 20  0
  685  I  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 99 20  0
  686  J  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 99 20  0
  687  E  1. 2. 3. 4. 5. 6. 7. 8. 9.10.11.12.13.14.15.16.17.18.99.20. 0.
  688  D  1. 2. 3. 4. 5. 6. 7. 8. 9.10.11.12.13.14.15.16.17.18.99.20. 0.
  689  Column 8 repeat and offset =   20 4286
  690   
  691  Create image extension: ftiimg status =   0
  692  ftppr status =    0
  693   
  694  Image values written with ftppr and read with ftgpv:
  695    0  2  4  6  8 10 12 14 16 18 20 22 24 26  F (byte)
  696    0  2  4  6  8 10 12 14 16 18 20 22 24 26  F (short)
  697    0  2  4  6  8 10 12 14 16 18 20 22 24 26  F (int)
  698    0  2  4  6  8 10 12 14 16 18 20 22 24 26  F (long)
  699    0. 2. 4. 6. 8.10.12.14.16.18.20.22.24.26. F (float)
  700    0. 2. 4. 6. 8.10.12.14.16.18.20.22.24.26. F (double)
  701   
  702  Wrote WCS keywords status =   0
  703  Read WCS keywords with ftgics status =   0
  704    CRVAL1, CRVAL2 =  45.830  63.570
  705    CRPIX1, CRPIX2 = 256.000 257.000
  706    CDELT1, CDELT2 = -0.00277777  0.00277777
  707    Rotation =   0.000 CTYPE =-TAN    
  708  Calculated sky coord. with ftwldp status =   0
  709   Pixels (  0.500000  0.500000) --> ( 47.385204 62.848968) Sky
  710  Calculated pixel coord. with ftxypx status =   0
  711   Sky ( 47.385204 62.848968) --> (  0.500000  0.500000) Pixels
  712   
  713  ftitab status =    0
  714  ftpcl status =    0
  715  Column values written with ftpcl and read with ftgcl: 
  716    0  3  6  9 12 15 18 21 24 27  F (byte) 
  717    0  3  6  9 12 15 18 21 24 27  F (short) 
  718    0  3  6  9 12 15 18 21 24 27  F (int) 
  719    0  3  6  9 12 15 18 21 24 27  F (long) 
  720    0. 3. 6. 9.12.15.18.21.24.27. F (float) 
  721    0. 3. 6. 9.12.15.18.21.24.27. F (double) 
  722   
  723  Repeatedly move to the 1st 4 HDUs of the file: 
  724   
  725  Encode checksum:  1234567890.0 -> dCW2fBU0dBU0dBU0 
  726  Decode checksum: dCW2fBU0dBU0dBU0  ->  1234567890.0
  727  DATASUM = '2338390162'
  728  ftgcks data checksum, status =  2338390162.0   0
  729  ftvcks datastatus, hdustatus, status =     1   1   0
  730  ftupck status =    0
  731  DATASUM = '2338390162'
  732  ftvcks datastatus, hdustatus, status =     1   1   0
  733  ftclos status =    0
  734   
  735  Normally, there should be 8 error messages on the
  736  stack all regarding 'numerical overflows':
  737  Numerical overflow during type conversion while writing FITS data.         
  738  Numerical overflow during type conversion while writing FITS data.         
  739  Numerical overflow during type conversion while writing FITS data.         
  740  Numerical overflow during type conversion while writing FITS data.         
  741  Numerical overflow during type conversion while writing FITS data.         
  742  Numerical overflow during type conversion while writing FITS data.         
  743  Numerical overflow during type conversion while writing FITS data.         
  744  Numerical overflow during type conversion while writing FITS data.         
  745   
  746  Status =   0: OK - no error