FORTRAN Generation
(/./ftp/cats/J/A_A/333/L35)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/333/L35 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.81 (2015-09-23), on 2024-Apr-20
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__=--2147483648.)  	! NULL real number
      parameter  (iNULL__=(-2147483647-1))	! NULL int  number
      integer    idig			! testing NULL number

C=============================================================================
Cat. J/A+A/333/L35  Magellanic Clouds Cepheids Fourier decomposition (Antonello 1998)
*================================================================================
*The possible effects of an unusual resonance in very long period Cepheids
*       Antonello E.
*      <Astron. Astrophys. 333, L35 (1998)>
*      =1998A&A...333..L35A      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! List of 24 Cepheids in the Magellanic Clouds,
                               with period in the range 30-134 d, whose radial
                               velocity and light curves were Fourier decomposed

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

      integer*4     HV         (nr__) ! Star name (Harvard Variable number)
*                                  SV* HV NNNNN in Simbad Database
      character*1   n_HV       (nr__) ! [LS] L: LMC; S: SMC
      real*8        LCPer      (nr__) ! (d) ? Light curves: period
      integer*4     n_LC       (nr__) ! ? Light curves: data points
      character*8   r_LC       (nr__) ! Light curves: references of data sources (1)
      integer*4     LCorder    (nr__) ! ? Light curves: order of Fourier fit
      real*4        e_LC       (nr__) ! (mag) ? Light curves: standard deviation of the fit
      real*8        RVCPer     (nr__) ! (d) ? Radial velocity curves: period (days)
      integer*4     n_RVC      (nr__) ! ? Radial velocity curves: data points
      integer*4     r_RVC      (nr__) ! ? Radial velocity curves: references of data
*                                    sources (1)
      integer*4     RVCorder   (nr__) ! ? Radial velocity curves: order of Fourier fit
      real*4        e_RVC      (nr__) ! (km/s) ? Radial velocity curves: standard deviation of
*                                    the fit
*Note (1): 1 = Gascoigne & Kron (1965MNRAS.130..333G)
*          2 = Madore (1975ApJS...29..219M)
*          3 = VanGenderen (1977A&A....54..737V, 1983A&AS...52..423V)
*          4 = Martin & Warren (1979SAAOC...1...98M)
*          5 = Eggen (1977ApJS...34....1E)
*          6 = Freedman et al. (1985ApJS...59..311F)
*          7 = Imbert et al. (1985A&AS...61..259I)
*          8 = Imbert et al. (1989A&AS...81..339I)
*          9 = Imbert (1994A&AS..105....1I)
*         10 = Sebo & Wood (1995ApJ...449..164S, Cat. <J/ApJ/449/164>)

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

C  Declarations for 'table2.dat'	! Phase differences and amplitude ratios of the
                               light curves of 20 Cepheids

      integer*4 nr__1
      parameter (nr__1=20)	! Number of records
      character*80 ar__1  	! Full-size record

      integer*4     HV_1       (nr__1) ! Star Name (Harvard Variable number)
*                                   SV* HV NNNNN in Simbad Database
      real*4        phi21      (nr__1) ! (rad) Phase difference phi_21  (rad)
      real*4        R21        (nr__1) ! Amplitude ratio R_21
      real*4        phi31      (nr__1) ! (rad) ? Phase difference phi_31
      real*4        R31        (nr__1) ! ? Amplitude ratio R_31
      real*4        phi41      (nr__1) ! (rad) ? Phase difference phi_41
      real*4        R41        (nr__1) ! ? Amplitude ratio R_41
      real*4        phi51      (nr__1) ! (rad) ? Phase difference phi_51
      real*4        R51        (nr__1) ! ? Amplitude ratio R_51
      real*4        phi61      (nr__1) ! (rad) ? Phase difference phi_61
      real*4        R61        (nr__1) ! ? Amplitude ratio R_61
      real*4        phi71      (nr__1) ! (rad) ? Phase difference phi_71
      real*4        R71        (nr__1) ! ? Amplitude ratio R_71
      real*4        phi81      (nr__1) ! (rad) ? Phase difference phi_81
      real*4        R81        (nr__1) ! ? Amplitude ratio R_81

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

C  Declarations for 'table3.dat'	! Phase differences and amplitude ratios of the
                               radial velocity curves of 17 Cepheids

      integer*4 nr__2
      parameter (nr__2=17)	! Number of records
      character*80 ar__2  	! Full-size record

      integer*4     HV_2       (nr__2) ! Star Name (Harvard Variable number)
*                                   SV* HV NNNNN in Simbad Database
      real*4        phi21_1    (nr__2) ! (rad) Phase difference phi_21  (rad)
      real*4        R21_1      (nr__2) ! Amplitude ratio R_21
      real*4        phi31_1    (nr__2) ! (rad) ? Phase difference phi_31
      real*4        R31_1      (nr__2) ! ? Amplitude ratio R_31
      real*4        phi41_1    (nr__2) ! (rad) ? Phase difference phi_41
      real*4        R41_1      (nr__2) ! ? Amplitude ratio R_41
      real*4        phi51_1    (nr__2) ! (rad) ? Phase difference phi_51
      real*4        R51_1      (nr__2) ! ? Amplitude ratio R_51
      real*4        phi61_1    (nr__2) ! (rad) ? Phase difference phi_61
      real*4        R61_1      (nr__2) ! ? Amplitude ratio R_61
      real*4        phi71_1    (nr__2) ! (rad) ? Phase difference phi_71
      real*4        R71_1      (nr__2) ! ? Amplitude ratio R_71
      real*4        phi81_1    (nr__2) ! (rad) ? Phase difference phi_81
      real*4        R81_1      (nr__2) ! ? Amplitude ratio R_81

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

C  Loading file 'table1.dat'	! List of 24 Cepheids in the Magellanic Clouds,
*                               with period in the range 30-134 d, whose radial
*                               velocity and light curves were Fourier decomposed

C  Format for file interpretation

    1 format(
     +  I5,1X,A1,1X,F8.4,1X,I3,1X,A8,1X,I1,1X,F4.3,1X,F7.3,1X,I2,1X,
     +  I1,1X,I2,1X,F3.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,24
        read(1,'(A56)')ar__
        read(ar__,1)
     +  HV(i__),n_HV(i__),LCPer(i__),n_LC(i__),r_LC(i__),LCorder(i__),
     +  e_LC(i__),RVCPer(i__),n_RVC(i__),r_RVC(i__),RVCorder(i__),
     +  e_RVC(i__)
        if(ar__(9:16) .EQ. '') LCPer(i__) = rNULL__
        if(ar__(18:20) .EQ. '') n_LC(i__) = iNULL__
        if(ar__(31:31) .EQ. '') LCorder(i__) = iNULL__
        if(ar__(33:36) .EQ. '') e_LC(i__) = rNULL__
        if(ar__(38:44) .EQ. '') RVCPer(i__) = rNULL__
        if(ar__(46:47) .EQ. '') n_RVC(i__) = iNULL__
        if(ar__(49:49) .EQ. '') r_RVC(i__) = iNULL__
        if(ar__(51:52) .EQ. '') RVCorder(i__) = iNULL__
        if(ar__(54:56) .EQ. '') e_RVC(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  HV(i__),n_HV(i__),LCPer(i__),n_LC(i__),r_LC(i__),LCorder(i__),
     +  e_LC(i__),RVCPer(i__),n_RVC(i__),r_RVC(i__),RVCorder(i__),
     +  e_RVC(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Phase differences and amplitude ratios of the
*                               light curves of 20 Cepheids

C  Format for file interpretation

    2 format(
     +  I5,1X,F4.2,1X,F4.3,1X,F5.2,1X,F4.3,1X,F5.2,1X,F4.3,1X,F5.3,1X,
     +  F4.3,1X,F6.3,1X,F4.3,1X,F4.2,1X,F4.3,1X,F4.2,1X,F4.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,20
        read(1,'(A80)')ar__1
        read(ar__1,2)
     +  HV_1(i__),phi21(i__),R21(i__),phi31(i__),R31(i__),phi41(i__),
     +  R41(i__),phi51(i__),R51(i__),phi61(i__),R61(i__),phi71(i__),
     +  R71(i__),phi81(i__),R81(i__)
        if(ar__1(17:21) .EQ. '') phi31(i__) = rNULL__
        if(ar__1(23:26) .EQ. '') R31(i__) = rNULL__
        if(ar__1(28:32) .EQ. '') phi41(i__) = rNULL__
        if(ar__1(34:37) .EQ. '') R41(i__) = rNULL__
        if(ar__1(39:43) .EQ. '') phi51(i__) = rNULL__
        if(ar__1(45:48) .EQ. '') R51(i__) = rNULL__
        if(ar__1(50:55) .EQ. '') phi61(i__) = rNULL__
        if(ar__1(57:60) .EQ. '') R61(i__) = rNULL__
        if(ar__1(62:65) .EQ. '') phi71(i__) = rNULL__
        if(ar__1(67:70) .EQ. '') R71(i__) = rNULL__
        if(ar__1(72:75) .EQ. '') phi81(i__) = rNULL__
        if(ar__1(77:80) .EQ. '') R81(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  HV_1(i__),phi21(i__),R21(i__),phi31(i__),R31(i__),phi41(i__),
     +  R41(i__),phi51(i__),R51(i__),phi61(i__),R61(i__),phi71(i__),
     +  R71(i__),phi81(i__),R81(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Phase differences and amplitude ratios of the
*                               radial velocity curves of 17 Cepheids

C  Format for file interpretation

    3 format(
     +  I5,1X,F4.2,1X,F4.3,1X,F5.2,1X,F4.3,1X,F5.2,1X,F4.3,1X,F5.3,1X,
     +  F4.3,1X,F6.3,1X,F4.3,1X,F4.2,1X,F4.3,1X,F4.2,1X,F4.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,17
        read(1,'(A80)')ar__2
        read(ar__2,3)
     +  HV_2(i__),phi21_1(i__),R21_1(i__),phi31_1(i__),R31_1(i__),
     +  phi41_1(i__),R41_1(i__),phi51_1(i__),R51_1(i__),phi61_1(i__),
     +  R61_1(i__),phi71_1(i__),R71_1(i__),phi81_1(i__),R81_1(i__)
        if(ar__2(17:21) .EQ. '') phi31_1(i__) = rNULL__
        if(ar__2(23:26) .EQ. '') R31_1(i__) = rNULL__
        if(ar__2(28:32) .EQ. '') phi41_1(i__) = rNULL__
        if(ar__2(34:37) .EQ. '') R41_1(i__) = rNULL__
        if(ar__2(39:43) .EQ. '') phi51_1(i__) = rNULL__
        if(ar__2(45:48) .EQ. '') R51_1(i__) = rNULL__
        if(ar__2(50:55) .EQ. '') phi61_1(i__) = rNULL__
        if(ar__2(57:60) .EQ. '') R61_1(i__) = rNULL__
        if(ar__2(62:65) .EQ. '') phi71_1(i__) = rNULL__
        if(ar__2(67:70) .EQ. '') R71_1(i__) = rNULL__
        if(ar__2(72:75) .EQ. '') phi81_1(i__) = rNULL__
        if(ar__2(77:80) .EQ. '') R81_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  HV_2(i__),phi21_1(i__),R21_1(i__),phi31_1(i__),R31_1(i__),
     +  phi41_1(i__),R41_1(i__),phi51_1(i__),R51_1(i__),phi61_1(i__),
     +  R61_1(i__),phi71_1(i__),R71_1(i__),phi81_1(i__),R81_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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