FORTRAN Generation
(/./ftp/cats/J/A_A/317/712)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/317/712 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-Oct-09
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/317/712       UV fluxes and electron density of AG Peg (Altamore+ 1997)
*================================================================================
*The 1978-1995 variability of the symbiotic star AG Pegasi in the ultraviolet
*     Altamore A., Cassatella A.
*    <Astron. Astrophys. 317, 712 (1997)>
*    =1997A&A...317..712A      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2'	! FES magnitudes and UV fluxes

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

      integer*4     HJD         ! (d) Julian date
      real*4        FESmag      ! (mag) ? Fine Error Sensor magnitude
      real*4        F1455       ! (10-15W/m2/nm) ? Observed flux at 1455 A (1)
      real*4        F1835       ! (10-15W/m2/nm) ? Observed flux at 1835 A (1)
      real*4        F2855       ! (10-15W/m2/nm) ? Observed flux at 2855 A (1)
*Note (1): Fluxes are in 10**(-13) erg/cm2/s/A.

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

C  Declarations for 'table3a'	! Electron density from the [SiIII]/[CIII] ratio

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

      integer*4     HJD_1       ! (d) Julian date
      real*4        FSiIII      ! (10-14W/m2) Observed flux of SiIII] 1893 A line (1)
      real*4        FCIII       ! (10-14W/m2) Observed flux of CIII]  1909 A line (1)9
      real*4        log_Ne      ! ([cm-3]) Decimal log of electron density
*Note (1): Fluxes are in 10**(-11) erg/cm2/s

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

C  Declarations for 'table3b'	! Electron density from the [N III] multiplet

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

      integer*4     HJD_2       ! (d) Julian date
      real*4        F1748_6     ! (10-14W/m2) Observed flux of N III] 1748.6 A line (1)
      real*4        F1749_5     ! (10-14W/m2) Observed flux of N III] 1749.5 A line (1)
      real*4        F1754_0     ! (10-14W/m2) Observed flux of N III] 1754.0 A line (1)
      real*4        log_Ne_1    ! ([cm-3]) Decimal log of electron density
*Note (1): Fluxes are in 10**(-11) erg/cm2/s

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

C  Declarations for 'table4'	! Radial velocities of the UV emission lines

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

      integer*4     HJD_3       ! (d) Julian date
      real*4        HRV         ! (km/s) ? Mean heliocentric radial velocity of the CIII]
*                                  and SiIII] lines
      real*4        e_HRV       ! (km/s) ? rms uncertainty on HRV1
      real*4        RV1         ! (km/s) ? Radial velocity of the HeII 1640A emission line
      real*4        RV2         ! (km/s) ? Radial velocity of the NIV] 1487A emission line

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

C  Declarations for 'table5'	! HeII Zanstra temperatures

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

      character*1   Note        ! [HL] H: High resolution data,
*                                               L: Low resolution data
      integer*4     HJD_4       ! (d) Julian date
      real*4        F1640       ! (10-14W/m2) Flux of the HeII 1640A line (1)
      real*4        F1335       ! (10-13W/m2/nm) Flux of the continuum around 1335A (2)
      real*4        F1640_F1335 ! Ratio of F1640 to F1335
      integer*4     T           ! (K) Zanstra temperature
*Note (1): Fluxes are in 10**(-11) erg/cm2/s
*Note (2): Fluxes are in 10**(-11) erg/cm2/s/A

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

C  Loading file 'table2'	! FES magnitudes and UV fluxes

C  Format for file interpretation

    1 format(I7,1X,F4.2,1X,F5.2,1X,F5.2,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2')
      write(6,*) '....Loading file: table2'
      do i__=1,34
        read(1,'(A30)')ar__
        read(ar__,1)HJD,FESmag,F1455,F1835,F2855
        if(ar__(9:12) .EQ. '') FESmag = rNULL__
        if(ar__(14:18) .EQ. '') F1455 = rNULL__
        if(ar__(20:24) .EQ. '') F1835 = rNULL__
        if(ar__(26:30) .EQ. '') F2855 = rNULL__
c    ..............Just test output...........
        write(6,1)HJD,FESmag,F1455,F1835,F2855
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3a'	! Electron density from the [SiIII]/[CIII] ratio

C  Format for file interpretation

    2 format(I7,1X,F4.2,1X,F4.2,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3a')
      write(6,*) '....Loading file: table3a'
      do i__=1,34
        read(1,'(A23)')ar__1
        read(ar__1,2)HJD_1,FSiIII,FCIII,log_Ne
c    ..............Just test output...........
        write(6,2)HJD_1,FSiIII,FCIII,log_Ne
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3b'	! Electron density from the [N III] multiplet

C  Format for file interpretation

    3 format(I7,1X,F4.2,1X,F4.2,1X,F4.2,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3b')
      write(6,*) '....Loading file: table3b'
      do i__=1,15
        read(1,'(A28)')ar__2
        read(ar__2,3)HJD_2,F1748_6,F1749_5,F1754_0,log_Ne_1
c    ..............Just test output...........
        write(6,3)HJD_2,F1748_6,F1749_5,F1754_0,log_Ne_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4'	! Radial velocities of the UV emission lines

C  Format for file interpretation

    4 format(I7,1X,F6.2,1X,F4.2,2X,F6.2,3X,F6.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4')
      write(6,*) '....Loading file: table4'
      do i__=1,57
        read(1,'(A36)')ar__3
        read(ar__3,4)HJD_3,HRV,e_HRV,RV1,RV2
        if(ar__3(9:14) .EQ. '') HRV = rNULL__
        if(ar__3(16:19) .EQ. '') e_HRV = rNULL__
        if(ar__3(22:27) .EQ. '') RV1 = rNULL__
        if(ar__3(31:36) .EQ. '') RV2 = rNULL__
c    ..............Just test output...........
        write(6,4)HJD_3,HRV,e_HRV,RV1,RV2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5'	! HeII Zanstra temperatures

C  Format for file interpretation

    5 format(A1,1X,I7,1X,F5.2,1X,F4.2,1X,F5.2,1X,I5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5')
      write(6,*) '....Loading file: table5'
      do i__=1,31
        read(1,'(A32)')ar__4
        read(ar__4,5)Note,HJD_4,F1640,F1335,F1640_F1335,T
c    ..............Just test output...........
        write(6,5)Note,HJD_4,F1640,F1335,F1640_F1335,T
c    .......End.of.Just test output...........
      end do
      close(1)

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