FORTRAN Generation
(/./ftp/cats/J/PAZh/35/199)

Conversion of standardized ReadMe file for file /./ftp/cats/J/PAZh/35/199 into FORTRAN code for loading all data files into arrays.

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/PAZh/35/199       V,pg light curves of NSV 9159            (Berdnikov+, 2009)
*================================================================================
*Search for evolutionary changes in Cepheid periods using the Harvard plate
*collection: NSV 9159.
*    Berdnikov L.N., Pastukhova E.N., Turner D.G., Majaess D.J.
*   <Pis'ma Astron. Zh. 35, 199 (2009)>
*   =2009PAZh...35..199B
*   =2009AstL...35..175B
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Times of maximum light for NSV 9159

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

      real*8        JDmax      (nr__) ! (d) Heliocentric Julian date of maximum
      real*4        e_JDmax    (nr__) ! (d) rms uncertainty on JD
      character*2   Filt       (nr__) ! [V PG] Filter
      integer*4     E          (nr__) ! Epoch number (1)
      real*4        O_C        (nr__) ! (d) O-C residuals
      integer*4     N          (nr__) ! Number of observations
      character*34  Ref        (nr__) ! Data source
*Note (1): maxJD_hel_ = 2433738.77(+/-0.67)
*        + 38.87484(+/-0.00137)E
*        - 0.19367x10^-3^(+/-0.44928x10^-5^)E^2^

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

C  Declarations for 'table3.dat'	! Standard V and PG light curves for NSV 9159

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

      real*4        Phase      (nr__1) ! [0/1] Phase
      real*4        Vmag       (nr__1) ! (mag) V magnitude
      real*4        pgmag      (nr__1) ! (mag) Photographic magnitude

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

C  Loading file 'table2.dat'	! Times of maximum light for NSV 9159

C  Format for file interpretation

    1 format(F9.1,1X,F3.1,1X,A2,1X,I4,1X,F5.1,1X,I2,1X,A34)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,45
        read(1,'(A65)')ar__
        read(ar__,1)
     +  JDmax(i__),e_JDmax(i__),Filt(i__),E(i__),O_C(i__),N(i__),
     +  Ref(i__)
c    ..............Just test output...........
        write(6,1)
     +  JDmax(i__),e_JDmax(i__),Filt(i__),E(i__),O_C(i__),N(i__),
     +  Ref(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Standard V and PG light curves for NSV 9159

C  Format for file interpretation

    2 format(F5.3,1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,200
        read(1,'(A19)')ar__1
        read(ar__1,2)Phase(i__),Vmag(i__),pgmag(i__)
c    ..............Just test output...........
        write(6,2)Phase(i__),Vmag(i__),pgmag(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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