FORTRAN Generation
(/./ftp/cats/J/A_A/346/586)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/346/586 into FORTRAN code for reading data files line by line.

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-18
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/346/586       Rotating models of A and F stars   (Perez Hernandez+, 1999)
*================================================================================
*Photometric parameters for rotating models of A- and F-type stars
*       Perez Hernandez F., Claret A., Hernandez M.M., Michel E.
*      <Astron. Astrophys. 346, 586 (1999)>
*      =1999A&A...346..586P      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Geneva photometry

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

      real*4        logTe       ! ([K]) Electron temperature atmospheric parameter (1)
      real*4        logge       ! ([cm/s2]) Electron surface gravity atmospheric parameter
      real*4        w_bar       ! Dimensionless angular velocity
      real*4        i           ! (deg) Angle of inclination
      real*8        DBmag       ! (mag) Magnitude difference in filter B
      real*8        DUmag       ! (mag) Magnitude difference in filter U
      real*8        DVmag       ! (mag) Magnitude difference in filter V
      real*8        DB1mag      ! (mag) Magnitude difference in filter B1
      real*8        DB2mag      ! (mag) Magnitude difference in filter B2
      real*8        DV1mag      ! (mag) Magnitude difference in filter V1
      real*8        DGmag       ! (mag) Magnitude difference in filter G
*Note (1): Te {prop.to} L/(4{pi}{sigma}R^2^_p_) = Eq (22).

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

C  Declarations for 'table2.dat'	! Johnson and Stroemgren photometry

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

      real*4        logTe_1     ! ([K]) Electron temperature atmospheric parameter (1)
      real*4        logge_1     ! ([cm/s2]) Electron surface gravity atmospheric parameter
      real*4        w_bar_1     ! Dimensionless angular velocity
      real*4        i_1         ! (deg) Angle of inclination
      real*8        DUmag_1     ! (mag) Magnitude difference in filter U
      real*8        DBmag_1     ! (mag) Magnitude difference in filter B
      real*8        DVmag_1     ! (mag) Magnitude difference in filter V
      real*8        Dumag_2     ! (mag) Magnitude difference in filter u
      real*8        Dvmag_2     ! (mag) Magnitude difference in filter v
      real*8        Dbmag_2     ! (mag) Magnitude difference in filter b
      real*8        Dymag       ! (mag) Magnitude difference in filter y
*Note (1): Te{prop.to}L/(4{pi}{sigma}R^2^_p_) = Eq (22).

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

C  Loading file 'table1.dat'	! Geneva photometry

C  Format for file interpretation

    1 format(
     +  F4.2,1X,F4.2,1X,F4.2,1X,F3.0,1X,F7.4,1X,F7.4,1X,F7.4,1X,F7.4,
     +  1X,F7.4,1X,F7.4,1X,F7.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,16470
        read(1,'(A74)')ar__
        read(ar__,1)
     +  logTe,logge,w_bar,i,DBmag,DUmag,DVmag,DB1mag,DB2mag,DV1mag,
     +  DGmag
c    ..............Just test output...........
        write(6,1)
     +  logTe,logge,w_bar,i,DBmag,DUmag,DVmag,DB1mag,DB2mag,DV1mag,
     +  DGmag
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Johnson and Stroemgren photometry

C  Format for file interpretation

    2 format(
     +  F4.2,1X,F4.2,1X,F4.2,1X,F3.0,1X,F7.4,1X,F7.4,1X,F7.4,1X,F7.4,
     +  1X,F7.4,1X,F7.4,1X,F7.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,16470
        read(1,'(A74)')ar__1
        read(ar__1,2)
     +  logTe_1,logge_1,w_bar_1,i_1,DUmag_1,DBmag_1,DVmag_1,Dumag_2,
     +  Dvmag_2,Dbmag_2,Dymag
c    ..............Just test output...........
        write(6,2)
     +  logTe_1,logge_1,w_bar_1,i_1,DUmag_1,DBmag_1,DVmag_1,Dumag_2,
     +  Dvmag_2,Dbmag_2,Dymag
c    .......End.of.Just test output...........
      end do
      close(1)

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