FORTRAN Generation
()

Conversion of standardized ReadMe file for catalog into FORTRAN code for loading all data files into arrays.

Note that special values are assigned to unknown or unspecified numbers (also called NULL numbers); when necessary, the coordinate components making up the right ascension and declination are converted into floating-point numbers representing these angles in degrees.



      program load_ReadMe
C=============================================================================
C  F77-compliant program generated by readme2f_1.5, on 2013-May-24
C=============================================================================
*  This code was generated from the ReadMe file documenting a catalogue
*  according to the "Standard for Documentation of Astronomical Catalogues"
*  currently in use by the Astronomical Data Centers (CDS, ADC, A&A)
*  (see full documentation at URL http://vizier.u-strasbg.fr/doc/catstd.htx)
*  Please report problems or questions to   
C=============================================================================

      implicit none
*  Unspecified or NULL values, generally corresponding to blank columns,
*  are assigned one of the following special values:
*     rNULL__    for unknown or NULL floating-point values
*     iNULL__    for unknown or NULL   integer      values
      real*4     rNULL__
      integer*4  iNULL__
      parameter  (rNULL__=-1.e37)     	! NULL real number
      parameter  (iNULL__=-2147483647)	! NULL int  number

C=============================================================================
Cat. J/A+A/449/305   Geneva photometry time series of HD 203664      (Aerts+, 2006)
*================================================================================
*Multiperiodicity in the large-amplitude rapidly-rotating beta Cephei star
*HD 203664.
*    Aerts C., De  Cat P., De  Ridder J., Van  Winckel H., Raskin G.,
*    Davignon G., Uytterhoeven K.
*   <Astron. Astrophys. 449, 305 (2006)>
*   =2006A&A...449..305A
C=============================================================================

C  Internal variables

      integer*4 i__

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table1.dat'	! Time series

      integer*4 nr__
      parameter (nr__=328)	! Number of records
      character*68 ar__   	! Full-size record

      real*8        HJD        (nr__) ! (d) Heliocentric Julian Date of mid exposure
      real*4        Umag       (nr__) ! (mag) Geneva U magnitude
      real*4        B1mag      (nr__) ! (mag) Geneva B1 magnitude
      real*4        Bmag       (nr__) ! (mag) Geneva B magnitude
      real*4        B2mag      (nr__) ! (mag) Geneva B2 magnitude
      real*4        V1mag      (nr__) ! (mag) Geneva V1 magnitude
      real*4        Vmag       (nr__) ! (mag) Geneva V magnitude
      real*4        Gmag       (nr__) ! (mag) Geneva G magnitude

C=============================================================================

C  Loading file 'table1.dat'	! Time series

C  Format for file interpretation

    1 format(
     +  F13.5,2X,F5.3,3X,F5.3,3X,F5.3,3X,F5.3,3X,F5.3,3X,F5.3,3X,F5.3)

C  Effective file loading

      open(unit=1,file='table1.dat', status='old')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,328
        read(1,'(A68)')ar__
        read(ar__,1)
     +  HJD(i__),Umag(i__),B1mag(i__),Bmag(i__),B2mag(i__),V1mag(i__),
     +  Vmag(i__),Gmag(i__)
c    ..............Just test output...........
        write(6,1)
     +  HJD(i__),Umag(i__),B1mag(i__),Bmag(i__),B2mag(i__),V1mag(i__),
     +  Vmag(i__),Gmag(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================
      stop
      end