FORTRAN Generation
(/./ftp/cats/J/A_A/604/A48)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/604/A48 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-16
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/604/A48       UBVRI photometry and line fluxes of AG Peg   (Skopal+, 2017)
*================================================================================
*New outburst of the symbiotic nova AG Peg after 165 years.
*    Skopal A., Shugarov S.Yu., Sekeras M., Wolf M., Tarasova T.N.,
*    Teyssier F., Fujii M., Guarro J., Garde O., Graham K., Lester T.,
*    Bouttard V., Lemoult T., Sollecchia U., Montier J., Boyd D.
*    <Astron. Astrophys. 604, A48 (2017)>
*    =2017A&A...604A..48S        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Observed UBVRcIc magnitudes of AG Peg

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

      real*8        JD          ! Julian date (JD-2400000) (UT)
      real*8        Umag        ! (mag) ?=999 U magnitude  (1)
      real*8        Bmag        ! (mag) ?=999 B magnitude  (1)
      real*8        Vmag        ! (mag) ?=999 V magnitude  (1)
      real*8        Rcmag       ! (mag) ?=999 Rc magnitude (1)
      real*8        Icmag       ! (mag) ?=999 Ic magnitude (1)
      character*6   Phot        ! Type of photometry (2)
*Note (1): the value of 999.000 means that no measurement is available
*Note (2): Type of photometry as follows:
*           PP = Photoelectric photometry
*          CCD = CCD photometry

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

C  Declarations for 'table6.dat'	! Dereddened fluxes for HeII 4686{AA}, H-beta,
                                 H-alpha and OVI Raman line 6825{AA}

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

      character*14  Date        ! Date in the form: YYYY/MM/DD.ddd (UT)
      real*8        JD_1        ! Julian date (JD-2400000) (UT)
      real*8        HeII        ! (10-14W/m2) ?=0 HeII 4686{AA} line flux (1)
      real*8        Hbm         ! (10-14W/m2) ?=0 H-beta flux measured (1)
      real*8        Hbt         ! (10-14W/m2) ?=0 H-beta flux corrected for absorption (1)
      real*8        Ham         ! (10-14W/m2) ?=0 H-alpha flux measured (1)
      real*8        Hat         ! (10-14W/m2) ?=0 H-alpha flux corrected for absorption (1)
      real*4        Ram         ! (10-14W/m2) ?=0 Raman scattered OVI 6825{AA} flux (1)
*Note (1): All fluxes are dereddened with E(B-V)=0.1mag. The value of 0.0
*      means not available or saturated measurement

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

C  Loading file 'table1.dat'	! Observed UBVRcIc magnitudes of AG Peg

C  Format for file interpretation

    1 format(F11.3,F8.3,F8.3,F8.3,F8.3,F8.3,A6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,65
        read(1,'(A57)')ar__
        read(ar__,1)JD,Umag,Bmag,Vmag,Rcmag,Icmag,Phot
c    ..............Just test output...........
        write(6,1)JD,Umag,Bmag,Vmag,Rcmag,Icmag,Phot
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! Dereddened fluxes for HeII 4686{AA}, H-beta,
*                                 H-alpha and OVI Raman line 6825{AA}

C  Format for file interpretation

    2 format(A14,F11.3,F7.2,F7.2,F7.1,F7.1,F7.1,F6.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,48
        read(1,'(A66)')ar__1
        read(ar__1,2)Date,JD_1,HeII,Hbm,Hbt,Ham,Hat,Ram
c    ..............Just test output...........
        write(6,2)Date,JD_1,HeII,Hbm,Hbt,Ham,Hat,Ram
c    .......End.of.Just test output...........
      end do
      close(1)

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