FORTRAN Generation
(/./ftp/cats/J/A_A/281/817)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/281/817 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-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/281/817         Model atmospheres for Vega                (Castelli+ 1994)
*================================================================================
*Model atmospheres for Vega
*     CASTELLI F., KURUCZ R.L.
*    <Astron. Astrophys. 281, 817 (1994)>
*    =1994A&A...281..817C
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1a'	! The 9550K, log g = 3.95, [M/H] = -0.5
                                  ATLAS9 model for solar He abundance

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

      real*4        Rhox        ! (g/cm2) Mass depth variable =
*                                             integral(0 to x)(rho(x)dx)
      real*8        T           ! (K) Temperature
      real*4        P           ! (0.1Pa) Gas pressure
      real*4        Ne          ! (cm-3) Electron number density
      real*4        AbRoss      ! (cm2/g) Rosseland mass absorption coefficient
      real*4        AccRad      ! (cm/s2) Radiative acceleration
      real*4        Vturb       ! (cm/s) Microturbulence velocity

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

C  Declarations for 'table1b'	! Abundance change for table1a

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

      integer*4     Nelem       ! Atomic number of the element
      real*8        AC          ! Abundance change (log(Nelem/Ntot)

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

C  Declarations for 'table2a'	! The 9600K, log g = 4.00, [M/H] = -0.5
                                  ATLAS9 model for N(He)/Ntot = 0.0634

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

      real*4        Rhox_1      ! (g/cm2) Mass depth variable =
*                                             integral(0 to x)(rho(x)dx)
      real*8        T_1         ! (K) Temperature
      real*4        P_1         ! (0.1Pa) Gas pressure
      real*4        Ne_1        ! (cm-3) Electron number density
      real*4        AbRoss_1    ! (cm2/g) Rosseland mass absorption coefficient
      real*4        AccRad_1    ! (cm/s2) Radiative acceleration
      real*4        Vturb_1     ! (cm/s) Microturbulence velocity

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

C  Declarations for 'table2b'	! Abundance change for table2a

      integer*4 nr__3
      parameter (nr__3=99)	! Number of records
      character*30 ar__3  	! Full-size record

      integer*4     Nelem_1     ! Atomic number of the element
      real*8        AC_1        ! Abundance change (log(Nelem/Ntot)

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

C  Declarations for 'table3a'	! The 9550K, log g = 3.95 ATLAS12 model
                                  for Vega abundances

      integer*4 nr__4
      parameter (nr__4=64)	! Number of records
      character*80 ar__4  	! Full-size record

      real*4        Rhox_2      ! (g/cm2) Mass depth variable =
*                                             integral(0 to x)(rho(x)dx)
      real*8        T_2         ! (K) Temperature
      real*4        P_2         ! (0.1Pa) Gas pressure
      real*4        Ne_2        ! (cm-3) Electron number density
      real*4        AbRoss_2    ! (cm2/g) Rosseland mass absorption coefficient
      real*4        AccRad_2    ! (cm/s2) Radiative acceleration
      real*4        Vturb_2     ! (cm/s) Microturbulence velocity

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

C  Declarations for 'table3b'	! Abundance change for table3a

      integer*4 nr__5
      parameter (nr__5=99)	! Number of records
      character*29 ar__5  	! Full-size record

      integer*4     Nelem_2     ! Atomic number of the element
      real*8        AC_2        ! Abundance change (log(Nelem/Ntot)

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

C  Declarations for 'table4a'	! The 9550K, log g = 3.98 ATLAS12 model
                                  for Vega abundances

      integer*4 nr__6
      parameter (nr__6=64)	! Number of records
      character*80 ar__6  	! Full-size record

      real*4        Rhox_3      ! (g/cm2) Mass depth variable =
*                                             integral(0 to x)(rho(x)dx)
      real*8        T_3         ! (K) Temperature
      real*4        P_3         ! (0.1Pa) Gas pressure
      real*4        Ne_3        ! (cm-3) Electron number density
      real*4        AbRoss_3    ! (cm2/g) Rosseland mass absorption coefficient
      real*4        AccRad_3    ! (cm/s2) Radiative acceleration
      real*4        Vturb_3     ! (cm/s) Microturbulence velocity

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

C  Declarations for 'table4b'	! Abundance change for table4a

      integer*4 nr__7
      parameter (nr__7=99)	! Number of records
      character*31 ar__7  	! Full-size record

      integer*4     Nelem_3     ! Atomic number of the element
      real*8        AC_3        ! Abundance change (log(Nelem/Ntot)

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

C  Declarations for 'table5a'	! The 9600K, log g = 4.00 ATLAS12 model
                                  for Vega abundances

      integer*4 nr__8
      parameter (nr__8=64)	! Number of records
      character*80 ar__8  	! Full-size record

      real*4        Rhox_4      ! (g/cm2) Mass depth variable =
*                                             integral(0 to x)(rho(x)dx)
      real*8        T_4         ! (K) Temperature
      real*4        P_4         ! (0.1Pa) Gas pressure
      real*4        Ne_4        ! (cm-3) Electron number density
      real*4        AbRoss_4    ! (cm2/g) Rosseland mass absorption coefficient
      real*4        AccRad_4    ! (cm/s2) Radiative acceleration
      real*4        Vturb_4     ! (cm/s) Microturbulence velocity

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

C  Declarations for 'table5b'	! Abundance change for table5a

      integer*4 nr__9
      parameter (nr__9=99)	! Number of records
      character*30 ar__9  	! Full-size record

      integer*4     Nelem_4     ! Atomic number of the element
      real*8        AC_4        ! Abundance change (log(Nelem/Ntot)

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

C  Loading file 'table1a'	! The 9550K, log g = 3.95, [M/H] = -0.5
*                                  ATLAS9 model for solar He abundance

C  Format for file interpretation

    1 format(E15.12,2X,F7.1,1X,E9.7,1X,E9.7,1X,E9.7,1X,E9.7,1X,E9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1a')
      write(6,*) '....Loading file: table1a'
      do i__=1,64
        read(1,'(A80)')ar__
        read(ar__,1)Rhox,T,P,Ne,AbRoss,AccRad,Vturb
c    ..............Just test output...........
        write(6,1)Rhox,T,P,Ne,AbRoss,AccRad,Vturb
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table1b'	! Abundance change for table1a

C  Format for file interpretation

    2 format(1X,I2,1X,F9.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1b')
      write(6,*) '....Loading file: table1b'
      do i__=1,99
        read(1,'(A66)')ar__1
        read(ar__1,2)Nelem,AC
c    ..............Just test output...........
        write(6,2)Nelem,AC
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2a'	! The 9600K, log g = 4.00, [M/H] = -0.5
*                                  ATLAS9 model for N(He)/Ntot = 0.0634

C  Format for file interpretation

    3 format(E15.12,2X,F7.1,1X,E9.7,1X,E9.7,1X,E9.7,1X,E9.7,1X,E9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2a')
      write(6,*) '....Loading file: table2a'
      do i__=1,64
        read(1,'(A80)')ar__2
        read(ar__2,3)Rhox_1,T_1,P_1,Ne_1,AbRoss_1,AccRad_1,Vturb_1
c    ..............Just test output...........
        write(6,3)Rhox_1,T_1,P_1,Ne_1,AbRoss_1,AccRad_1,Vturb_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2b'	! Abundance change for table2a

C  Format for file interpretation

    4 format(1X,I2,1X,F9.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2b')
      write(6,*) '....Loading file: table2b'
      do i__=1,99
        read(1,'(A30)')ar__3
        read(ar__3,4)Nelem_1,AC_1
c    ..............Just test output...........
        write(6,4)Nelem_1,AC_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3a'	! The 9550K, log g = 3.95 ATLAS12 model
*                                  for Vega abundances

C  Format for file interpretation

    5 format(E15.12,2X,F7.1,1X,E9.7,1X,E9.7,1X,E9.7,1X,E9.7,1X,E9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3a')
      write(6,*) '....Loading file: table3a'
      do i__=1,64
        read(1,'(A80)')ar__4
        read(ar__4,5)Rhox_2,T_2,P_2,Ne_2,AbRoss_2,AccRad_2,Vturb_2
c    ..............Just test output...........
        write(6,5)Rhox_2,T_2,P_2,Ne_2,AbRoss_2,AccRad_2,Vturb_2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3b'	! Abundance change for table3a

C  Format for file interpretation

    6 format(1X,I2,1X,F9.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3b')
      write(6,*) '....Loading file: table3b'
      do i__=1,99
        read(1,'(A29)')ar__5
        read(ar__5,6)Nelem_2,AC_2
c    ..............Just test output...........
        write(6,6)Nelem_2,AC_2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4a'	! The 9550K, log g = 3.98 ATLAS12 model
*                                  for Vega abundances

C  Format for file interpretation

    7 format(E15.12,2X,F7.1,1X,E9.7,1X,E9.7,1X,E9.7,1X,E9.7,1X,E9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4a')
      write(6,*) '....Loading file: table4a'
      do i__=1,64
        read(1,'(A80)')ar__6
        read(ar__6,7)Rhox_3,T_3,P_3,Ne_3,AbRoss_3,AccRad_3,Vturb_3
c    ..............Just test output...........
        write(6,7)Rhox_3,T_3,P_3,Ne_3,AbRoss_3,AccRad_3,Vturb_3
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4b'	! Abundance change for table4a

C  Format for file interpretation

    8 format(1X,I2,1X,F9.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4b')
      write(6,*) '....Loading file: table4b'
      do i__=1,99
        read(1,'(A31)')ar__7
        read(ar__7,8)Nelem_3,AC_3
c    ..............Just test output...........
        write(6,8)Nelem_3,AC_3
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5a'	! The 9600K, log g = 4.00 ATLAS12 model
*                                  for Vega abundances

C  Format for file interpretation

    9 format(E15.12,2X,F7.1,1X,E9.7,1X,E9.7,1X,E9.7,1X,E9.7,1X,E9.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5a')
      write(6,*) '....Loading file: table5a'
      do i__=1,64
        read(1,'(A80)')ar__8
        read(ar__8,9)Rhox_4,T_4,P_4,Ne_4,AbRoss_4,AccRad_4,Vturb_4
c    ..............Just test output...........
        write(6,9)Rhox_4,T_4,P_4,Ne_4,AbRoss_4,AccRad_4,Vturb_4
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5b'	! Abundance change for table5a

C  Format for file interpretation

   10 format(1X,I2,1X,F9.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5b')
      write(6,*) '....Loading file: table5b'
      do i__=1,99
        read(1,'(A30)')ar__9
        read(ar__9,10)Nelem_4,AC_4
c    ..............Just test output...........
        write(6,10)Nelem_4,AC_4
c    .......End.of.Just test output...........
      end do
      close(1)

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