FORTRAN Generation
(/./ftp/cats/J/A_AS/130/215)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_AS/130/215 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-Mar-19
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+AS/130/215             Effective temperatures of Ap stars    (Sokolov, 1998)
*================================================================================
*Effective temperatures of Ap stars.
*    Sokolov N.A.
*   <Astron. Astrophys. Suppl. Ser. 130, 215 (1998)>
*   =1998A&AS..130..215S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Effective temperatures of Ap stars

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

      integer*4     HD          ! HD (Cat. <III/135>) number
      character*11  Name        ! The name of the star
      character*6   Pec         ! Peculiarity according to General Catalogue
*                                 of Ap and Am stars (Renson et al. 1991,
*                                 Cat. III/162).
      integer*4     n_vis       ! Number of the visual scans
      integer*4     Te_Fu       ! (K) Effective temperature from the slope of
*                                 the Balmer continuum
      character*1   n_Te_Fu     ! [*] Note on Te(Fu) (1)
      integer*4     e_Te_Fu     ! (K) rms uncertainty on temperature
      integer*4     Te_IRFM     ! (K) ? Effective temperature from total flux
      integer*4     Ref         ! ? References on Te(IRFM) (2)
      integer*4     Te_S_D      ! (K) ? Effective temperature from Stepien and
*                                   Dominiczak (1989A&A...219..197S)
      integer*4     Te_B2_G     ! (K) ? Effective temperature from (B2-G) color
*                                   index of Geneva photometry
*Note (1): An asterisk following Te(Fu) means that this data was computed
*     from energy distribution of the Pulkovo spectrophotometric catalog of
*     bright stars (Alekseeva et al., 1996BaltA...5..603A)
*Note (2): References as follows:
*      1 = Shallis & Blackwell (1979A&A....79...48S)
*      2 = Shallis et al. (1985MNRAS.213..307S)
*      3 = Megessier (1988A&AS...72..551M)
*      4 = Glushneva (1987AZh....64..601G)
*      5 = Underhill et al. (1979MNRAS.189..601U)

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

C  Loading file 'table1.dat'	! Effective temperatures of Ap stars

C  Format for file interpretation

    1 format(
     +  I6,1X,A11,1X,A6,1X,I3,1X,I5,1X,A1,1X,I4,1X,I5,1X,I1,1X,I5,1X,
     +  I5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,68
        read(1,'(A62)')ar__
        read(ar__,1)
     +  HD,Name,Pec,n_vis,Te_Fu,n_Te_Fu,e_Te_Fu,Te_IRFM,Ref,Te_S_D,
     +  Te_B2_G
        if(ar__(44:48) .EQ. '') Te_IRFM = iNULL__
        if(ar__(50:50) .EQ. '') Ref = iNULL__
        if(ar__(52:56) .EQ. '') Te_S_D = iNULL__
        if(ar__(58:62) .EQ. '') Te_B2_G = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  HD,Name,Pec,n_vis,Te_Fu,n_Te_Fu,e_Te_Fu,Te_IRFM,Ref,Te_S_D,
     +  Te_B2_G
c    .......End.of.Just test output...........
      end do
      close(1)

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