FORTRAN Generation
(/./ftp/cats/J/AJ/109/817)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/109/817 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-17
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/AJ/109/817         Photometry of WN8 Stars                    (Antokhin+ 1995)
*================================================================================
*The Enigmatic WN8 Stars: Intensive Photometry of Four Southern Stars on Time
*Scales From 30 min to 3 Months
*    Antokhin I., Bertrand J.-F., Lamontagne R., Moffat A.F.J., Matthews J.
*    <Astron. J. 109, 817 (1995)>
*    =1995AJ....109..817A
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Comparison stars for the WN8 stars

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

      character*4   WR          ! WR number
      character*9   Other       ! Other name
      real*4        vmag        ! (mag) []? v magnitude
      real*4        b_v         ! (mag) []? b-v color
      character*2   Cmp         ! Comparison star number (C1 or C2)
      character*9   Name        ! Comparison star name
      character*2   Sp          ! Spectral type
      real*4        Vmag_1      ! (mag) V magnitude
      real*8        WR_C        ! (mag) Difference between comparison and WR
      real*8        e_WR_C      ! (mag) Error (sigma) in WR-C
      real*8        C2_C1       ! (mag) ? Difference between comparison star
      real*8        e_C2_C1     ! (mag) ? Error (sigma) in C2-C1

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

C  Declarations for 'table2'	! Narrowband visual photometry for WR16

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

      real*8        HJD         ! (d) Heliocentric Julian Date
      real*4        WR_C1       ! (mag) WR-C1 differential magnitude
      real*4        WR_C2       ! (mag) WR-C2 differential magnitude
      real*4        C2_C1_1     ! (mag) C2-C1 differential magnitude

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

C  Declarations for 'table3'	! Narrowband visual photometry for WR40

      integer*4 nr__2
      parameter (nr__2=381)	! Number of records
      character*33 ar__2  	! Full-size record

      real*8        HJD_1       ! (d) Heliocentric Julian Date
      real*4        WR_C1_1     ! (mag) WR-C1 differential magnitude
      real*4        WR_C2_1     ! (mag) WR-C2 differential magnitude
      real*4        C2_C1_2     ! (mag) C2-C1 differential magnitude

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

C  Declarations for 'table4'	! Broadband visual photometry for WR66

      integer*4 nr__3
      parameter (nr__3=219)	! Number of records
      character*33 ar__3  	! Full-size record

      real*8        HJD_2       ! (d) Heliocentric Julian Date
      real*4        WR_C1_2     ! (mag) WR-C1 differential magnitude
      real*4        WR_C2_2     ! (mag) WR-C2 differential magnitude
      real*4        C2_C1_3     ! (mag) C2-C1 differential magnitude

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

C  Declarations for 'table5'	! Broadband visual photometry for WR82

      integer*4 nr__4
      parameter (nr__4=163)	! Number of records
      character*33 ar__4  	! Full-size record

      real*8        HJD_3       ! (d) Heliocentric Julian Date
      real*4        WR_C1_3     ! (mag) WR-C1 differential magnitude
      real*4        WR_C2_3     ! (mag) WR-C2 differential magnitude
      real*4        C2_C1_4     ! (mag) C2-C1 differential magnitude

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

C  Loading file 'table1.dat'	! Comparison stars for the WN8 stars

C  Format for file interpretation

    1 format(
     +  A4,1X,A9,F6.2,F5.2,2X,A2,1X,A9,1X,A2,F5.1,F8.4,F8.4,F8.4,F8.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,8
        read(1,'(A79)')ar__
        read(ar__,1)
     +  WR,Other,vmag,b_v,Cmp,Name,Sp,Vmag_1,WR_C,e_WR_C,C2_C1,e_C2_C1
        if(ar__(15:20) .EQ. '') vmag = rNULL__
        if(ar__(21:25) .EQ. '') b_v = rNULL__
        if(ar__(64:71) .EQ. '') C2_C1 = rNULL__
        if(ar__(72:79) .EQ. '') e_C2_C1 = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  WR,Other,vmag,b_v,Cmp,Name,Sp,Vmag_1,WR_C,e_WR_C,C2_C1,e_C2_C1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2'	! Narrowband visual photometry for WR16

C  Format for file interpretation

    2 format(F12.4,1X,F6.4,1X,F6.4,1X,F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2')
      write(6,*) '....Loading file: table2'
      do i__=1,367
        read(1,'(A33)')ar__1
        read(ar__1,2)HJD,WR_C1,WR_C2,C2_C1_1
c    ..............Just test output...........
        write(6,2)HJD,WR_C1,WR_C2,C2_C1_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3'	! Narrowband visual photometry for WR40

C  Format for file interpretation

    3 format(F12.4,1X,F6.4,1X,F6.4,1X,F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3')
      write(6,*) '....Loading file: table3'
      do i__=1,381
        read(1,'(A33)')ar__2
        read(ar__2,3)HJD_1,WR_C1_1,WR_C2_1,C2_C1_2
c    ..............Just test output...........
        write(6,3)HJD_1,WR_C1_1,WR_C2_1,C2_C1_2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4'	! Broadband visual photometry for WR66

C  Format for file interpretation

    4 format(F12.4,1X,F6.4,1X,F6.4,1X,F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4')
      write(6,*) '....Loading file: table4'
      do i__=1,219
        read(1,'(A33)')ar__3
        read(ar__3,4)HJD_2,WR_C1_2,WR_C2_2,C2_C1_3
c    ..............Just test output...........
        write(6,4)HJD_2,WR_C1_2,WR_C2_2,C2_C1_3
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5'	! Broadband visual photometry for WR82

C  Format for file interpretation

    5 format(F12.4,1X,F6.4,1X,F6.4,1X,F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5')
      write(6,*) '....Loading file: table5'
      do i__=1,163
        read(1,'(A33)')ar__4
        read(ar__4,5)HJD_3,WR_C1_3,WR_C2_3,C2_C1_4
c    ..............Just test output...........
        write(6,5)HJD_3,WR_C1_3,WR_C2_3,C2_C1_4
c    .......End.of.Just test output...........
      end do
      close(1)

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