FORTRAN Generation
(/./ftp/cats/J/A_A/609/A108)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/609/A108 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 2026-Aug-11
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/609/A108     Stellar parameters of Be stars with X-shooter (Shokry+, 2018)
*================================================================================
*Stellar parameters of Be stars observed with X-shooter.
*    Shokry A., Rivinius T., Mehner A., Martayan C., Hummel W., Townsend R.H.D.,
*    Merand A., Mota B., Faes D.M., Hamdy M.A., Beheary M.M., Gadallah K.A.K.,
*    Abo-Elazm M.S.
*    <Astron. Astrophys. 609, A108 (2018)>
*    =2018A&A...609A.108S        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table6.dat'	! Parameters of stellar models used to measure the
                               theoretical values of the Balmer discontinuity
                               parameters used in the BCD method, D_star and
                               lambda_1

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

      character*30  Ident      (nr__) ! Approximate spectral type (ident)
      real*4        Lstar      (nr__) ! ([Lsun]) log of the stellar luminosity (L_star)
      real*4        Mstar      (nr__) ! (Msun) Stellar mass (M_star)
      real*4        Rpole      (nr__) ! Polar radius (R_pole)
      integer*4     Teff       (nr__) ! (K) Stellar effective temperature (T_eff)
      real*4        loggpole   (nr__) ! ([cm/s2]) log of polar gravity (logg_pole)
      real*4        omega      (nr__) ! Critical fraction in linear velocity (omega)(1)
      integer*4     vsini      (nr__) ! (km/s) Stellar projected rotational velocity (vsini)
      real*4        Dstar      (nr__) ! BCD parameter D_star (D_star)
      real*4        lambda1    (nr__) ! (0.1nm) BCD parameter lambda_1 (lambda1)
      integer*4     respow     (nr__) ! Spectral resolving power for which the BCD
*                                  parameters were measured (respow)
*Note (1): note that the values in the paper are given as fraction of angular
* velocity. See epns. 7 and 8 of 2013A&ARv..21...69R for conversion)

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

C  Loading file 'table6.dat'	! Parameters of stellar models used to measure the
*                               theoretical values of the Balmer discontinuity
*                               parameters used in the BCD method, D_star and
*                               lambda_1

C  Format for file interpretation

    1 format(
     +  A30,1X,F5.3,1X,F5.2,1X,F4.2,1X,I5,1X,F5.3,1X,F5.3,1X,I3,1X,
     +  F4.3,1X,F4.1,1X,I4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,3450
        read(1,'(A84)')ar__
        read(ar__,1)
     +  Ident(i__),Lstar(i__),Mstar(i__),Rpole(i__),Teff(i__),
     +  loggpole(i__),omega(i__),vsini(i__),Dstar(i__),lambda1(i__),
     +  respow(i__)
c    ..............Just test output...........
        write(6,1)
     +  Ident(i__),Lstar(i__),Mstar(i__),Rpole(i__),Teff(i__),
     +  loggpole(i__),omega(i__),vsini(i__),Dstar(i__),lambda1(i__),
     +  respow(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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