FORTRAN Generation
(/./ftp/cats/J/A_A/625/A34)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/625/A34 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-Jun-08
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/625/A34          Photometry of CU Vir                     (Krticka+, 2019)
*================================================================================
*HST/STIS analysis of the first main sequence pulsar CU Virginis.
*    Krticka J., Mikulasek Z., Henry G. W., Janik J., Kochukhov O., Pigulski A.,
*    Leto P., Trigilio C., Krtickova I., Lueftinger T., Prvak M., Tichy A.
*    <Astron. Astrophys. 625, A34 (2019)>
*    =2019A&A...625A..34K        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'apt.dat'	! APT photometry

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

      real*8        HJD         ! (d) Heliocentric Julian date of observation
*                                   (HJD-2400000)
      real*4        dmag        ! (mag) Magnitue difference with respect to the
*                                   comparison star
      character*1   Filter      ! [BV] Filter

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

C  Declarations for 'smei.dat'	! SMEI photometry

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

      real*8        HJD_1       ! (d) Heliocentric Julian date of observation
*                                   (HJD-2400000)
      real*4        dmag_1      ! (mag) Magnitue difference with respect to the
*                                   comparison star

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

C  Loading file 'apt.dat'	! APT photometry

C  Format for file interpretation

    1 format(F10.4,2X,F6.3,2X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'apt.dat')
      write(6,*) '....Loading file: apt.dat'
      do i__=1,2054
        read(1,'(A21)')ar__
        read(ar__,1)HJD,dmag,Filter
c    ..............Just test output...........
        write(6,1)HJD,dmag,Filter
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'smei.dat'	! SMEI photometry

C  Format for file interpretation

    2 format(3X,F9.3,2X,E14.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'smei.dat')
      write(6,*) '....Loading file: smei.dat'
      do i__=1,19226
        read(1,'(A28)')ar__1
        read(ar__1,2)HJD_1,dmag_1
c    ..............Just test output...........
        write(6,2)HJD_1,dmag_1
c    .......End.of.Just test output...........
      end do
      close(1)

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