FORTRAN Generation
(/./ftp/cats/J/other/RAA/15.1325)

Conversion of standardized ReadMe file for file /./ftp/cats/J/other/RAA/15.1325 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 2026-Apr-23
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/other/RAA/15.1325   Be stars in LAMOST DR1                 (Lin+, 2015)
*================================================================================
*Searching for classical Be stars in LAMOST DR1.
*    Lin C.-C., Hou J.-L., Chen L., Shao Z.-Y., Zhong J., Yu P.-C.
*   <Res. Astron. Astrophys., 15, 1325-1331 (2015)>
*   =2015RAA....15.1325L    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! 23 Known CBes Found in LAMOST DR1

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

      character*3   KName       ! Name (KNN)
      integer*4     DR1index    ! DR1 index
      character*19  v2MASS      ! 2MASS designation (JHHMMSS.ss+DDMMSS.s) (1)
      real*4        Jmag        ! (mag) 2MASS J magnitude
      real*4        e_Jmag      ! (mag) rms uncertainty on Jmag
      real*4        Hmag        ! (mag) 2MASS H magnitude
      real*4        e_Hmag      ! (mag) rms uncertainty on Hmag
      real*4        Ksmag       ! (mag) 2MASS KS magnitude
      real*4        e_Ksmag     ! (mag) rms uncertainty on Ksmag
      character*17  Rem         ! Remarks
*Note (1): K14-K23 are matched from the 2MASS point source catalog with radii
*           larger than 5".

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

C  Declarations for 'table3.dat'	! CBe Candidates

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

      character*4   LName       ! Name (LNNN)
      character*1   n_LName     ! [1/2] Note on Name (1)
      character*19  v2MASS_1    ! 2MASS Designation (JHHMMSS.ss+DDMMSS.s)
      real*4        Jmag_1      ! (mag) 2MASS J magnitude
      real*4        e_Jmag_1    ! (mag) rms uncertainty on Jmag
      real*4        Hmag_1      ! (mag) 2MASS H magnitude
      real*4        e_Hmag_1    ! (mag) rms uncertainty on Hmag
      real*4        Ksmag_1     ! (mag) 2MASS KS magnitude
      real*4        e_Ksmag_1   ! (mag) rms uncertainty on Ksmag
      character*24  Simbad      ! Simbad name and type, or new if not yet in Simbad
*Note (1): Notes as follows:
*           1 = member of the open cluster FRS 1025
*           2 = member of the open cluster Kronberger 8

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

C  Loading file 'table2.dat'	! 23 Known CBes Found in LAMOST DR1

C  Format for file interpretation

    1 format(
     +  A3,1X,I7,1X,A19,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,
     +  F5.3,1X,A17)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,23
        read(1,'(A88)')ar__
        read(ar__,1)
     +  KName,DR1index,v2MASS,Jmag,e_Jmag,Hmag,e_Hmag,Ksmag,e_Ksmag,
     +  Rem
c    ..............Just test output...........
        write(6,1)
     +  KName,DR1index,v2MASS,Jmag,e_Jmag,Hmag,e_Hmag,Ksmag,e_Ksmag,
     +  Rem
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! CBe Candidates

C  Format for file interpretation

    2 format(
     +  A4,1X,A1,1X,A19,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,
     +  F5.3,1X,A24)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,22
        read(1,'(A90)')ar__1
        read(ar__1,2)
     +  LName,n_LName,v2MASS_1,Jmag_1,e_Jmag_1,Hmag_1,e_Hmag_1,
     +  Ksmag_1,e_Ksmag_1,Simbad
c    ..............Just test output...........
        write(6,2)
     +  LName,n_LName,v2MASS_1,Jmag_1,e_Jmag_1,Hmag_1,e_Hmag_1,
     +  Ksmag_1,e_Ksmag_1,Simbad
c    .......End.of.Just test output...........
      end do
      close(1)

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