FORTRAN Generation
(/./ftp/cats/J/A_A/603/A70)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/603/A70 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-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+A/603/A70   Type II and anomalous Cepheids luminosities (Groenewegen+, 2017)
*================================================================================
*Luminosities and infrared excess in Type II and anomalous Cepheids in the
*Large and Small Magellanic Clouds.
*    Groenewegen M., Jurkovic M.I.
*    <Astron. Astrophys. 603, A70 (2017)>
*    =2017A&A...603A..70G        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tablea1.dat'	! Parameters resulting from the fitting of the
                                 spectral energy distributions

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

      character*18  Name        ! OGLE-III Identifier (1)
      character*5   Type        ! Type of variability (ANCEP or T2CEP)
      character*5   Sub_type    ! Sub-type of variability (2)
      real*8        Period      ! (d) Pulsation period
      integer*4     Lum         ! (Lsun) Luminosity
      integer*4     e_Lum       ! (Lsun) Error in the luminosity
      integer*4     Teff        ! (K) Effective temperature
      integer*4     e_Teff      ! (K) Error in the effective temperature
      real*4        tau         ! Dust optical depth at 0.55 micron
      integer*4     Tc          ! (K) Dust temperature at the inner radius
      integer*4     fit         ! [0/1] Is Tc fitted (1), or not (0)
      character*69  Remarks     ! Remarks
*Note (1): OGLE-LMC-ACEP-NNN, OGLE-LMC-T2CEP-NNN (Cat. J/AcA/65/233),
* OGLE-SMC-ACEP-NNN (Cat. J/AcA/58/293), OGLE-SMC-T2CEP-NNN (Cat. J/AcA/60/91),
* OGLE SMC-* or OGLE LMC-* in Simbad.
*Note (2): F or 1O for ANCEP; RVTau, BLHer, WVir, pWVir for T2CEP.

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

C  Loading file 'tablea1.dat'	! Parameters resulting from the fitting of the
*                                 spectral energy distributions

C  Format for file interpretation

    1 format(
     +  A18,1X,A5,1X,A5,1X,F7.3,1X,I4,1X,I4,1X,I4,1X,I4,1X,F5.3,1X,I4,
     +  1X,I1,1X,A69)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea1.dat')
      write(6,*) '....Loading file: tablea1.dat'
      do i__=1,333
        read(1,'(A141)')ar__
        read(ar__,1)
     +  Name,Type,Sub_type,Period,Lum,e_Lum,Teff,e_Teff,tau,Tc,fit,
     +  Remarks
c    ..............Just test output...........
        write(6,1)
     +  Name,Type,Sub_type,Period,Lum,e_Lum,Teff,e_Teff,tau,Tc,fit,
     +  Remarks
c    .......End.of.Just test output...........
      end do
      close(1)

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