FORTRAN Generation
(/./ftp/cats/J/A_A/591/A140)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/591/A140 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-Sep-06
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/591/A140      IPHAS-selected classical Be stars         (Gkouvelis+, 2016)
*================================================================================
*Physical parameters of IPHAS-selected classical Be stars.
*I. Determination procedure and evaluation of the results.
*    Gkouvelis L., Fabregat J., Zorec J., Steeghs D., Drew J.E., Raddi R.,
*    Wright N.J., Drake J.J.
*    <Astron. Astrophys. 591, A140 (2016)>
*    =2016A&A...591A.140G        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table5.dat'	! Physical Parameters of CBe stars

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

C  Position composed of: GLON GLAT
      integer*4     ID         (nr__) ! ID number for each star on this work
      character*19  IPHAS      (nr__) ! IPHAS name of each star (JHHMMSS.ss+DDMMSS.s)
      real*4        GLON       (nr__) ! (deg) Galactic longitude (J2000.0)
      real*4        GLAT       (nr__) ! (deg) Galactic latitude (J2000.0)
      real*4        rmag       (nr__) ! (mag) Photometric magnitude in the r filter
      real*4        EWHa       (nr__) ! (0.1nm) Equivalent width of the H{alpha} line
      real*4        D          (nr__) ! Balmer Jump depth (BCD parameter D)
      real*4        Lambda1    (nr__) ! (0.1nm) Balmer jump average position
*                                   (BCD parameter Lambda1)
      integer*4     Teff       (nr__) ! (K) Effective temperature
      character*8   SpType     (nr__) ! BCD spectral classification

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

C  Declarations for 'table6.dat'	! Physical Parameters of CBe stars

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

      integer*4     ID_1       (nr__1) ! ID number for each star on this work
      real*4        Phib       (nr__1) ! (mag) Paschen continuum energy gradient
      real*4        Phib0      (nr__1) ! (mag) Intrinsic Paschen continuum energy gradient
      real*4        VMAG       (nr__1) ! (mag) Absolute magnitude in V band
      real*4        E_B_V      (nr__1) ! (mag) Colour excess
      real*4        AV         (nr__1) ! (mag) Interstellar reddening in the V band
      real*4        Ar         (nr__1) ! (mag) Interstellar reddening in the r band
      real*4        fD         (nr__1) ! Circumstellar emission indicator
      real*4        Ecs_B_V    (nr__1) ! (mag) Circumstellar excess
      real*4        Deltar     (nr__1) ! (mag) Circumstellar correction in the r band
      real*4        d_1        (nr__1) ! (kpc) Distance of each CBe star

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

C  Loading file 'table5.dat'	! Physical Parameters of CBe stars

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,257
        read(1,'(A74)')ar__
        read(ar__,1)
     +  ID(i__),IPHAS(i__),GLON(i__),GLAT(i__),rmag(i__),EWHa(i__),
     +  D(i__),Lambda1(i__),Teff(i__),SpType(i__)
c    ..............Just test output...........
        write(6,1)
     +  ID(i__),IPHAS(i__),GLON(i__),GLAT(i__),rmag(i__),EWHa(i__),
     +  D(i__),Lambda1(i__),Teff(i__),SpType(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! Physical Parameters of CBe stars

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,257
        read(1,'(A62)')ar__1
        read(ar__1,2)
     +  ID_1(i__),Phib(i__),Phib0(i__),VMAG(i__),E_B_V(i__),AV(i__),
     +  Ar(i__),fD(i__),Ecs_B_V(i__),Deltar(i__),d_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  ID_1(i__),Phib(i__),Phib0(i__),VMAG(i__),E_B_V(i__),AV(i__),
     +  Ar(i__),fD(i__),Ecs_B_V(i__),Deltar(i__),d_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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