FORTRAN Generation
(/./ftp/cats/J/AJ/105/527)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/105/527 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-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/AJ/105/527    Photometry of RR Lyr stars in LMC cluster NGC 1835 (Walker 1993)
*================================================================================
*The Large Magellanic Cloud cluster NGC 1835: photometry of the RR Lyrae stars
*     Walker A.R.
*    <Astron. J. 105, 527 (1993)>
*    =1993AJ....105..527W
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3'	! RR Lyr var. photometry

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

      real*8        HJD         ! (d) Heliocentric Julian Date
      real*4        GR_V1V      ! (mag) GR/V1 V magnitude
      real*4        GR_V1B      ! (mag) GR/V1 B magnitude
      real*4        GR_V3V      ! (mag) []? GR/V3 V magnitude
      real*4        GR_V3B      ! (mag) []? GR/V3 B magnitude
      real*4        GR_V4V      ! (mag) []? GR/V4 V magnitude
      real*4        GR_V4B      ! (mag) []? GR/V4 B magnitude
      real*4        GR_V5V      ! (mag) GR/V5 V magnitude
      real*4        GR_V5B      ! (mag) GR/V5 B magnitude
      real*4        GR_V6V      ! (mag) []? GR/V6 V magnitude
      real*4        GR_V6B      ! (mag) []? GR/V6 B magnitude
      real*4        GR_V7V      ! (mag) []? GR/V7 V magnitude
      real*4        GR_V7B      ! (mag) []? GR/V7 B magnitude
      real*4        GR_V8V      ! (mag) []? GR/V8 V magnitude
      real*4        GR_V8B      ! (mag) []? GR/V8 B magnitude
      real*4        GR_V9V      ! (mag) []? GR/V9 V magnitude
      real*4        GR_V9B      ! (mag) []? GR/V9 B magnitude
      real*4        GR_V11V     ! (mag) []? GR/V11 V magnitude
      real*4        GR_V11B     ! (mag) []? GR/V11 B magnitude
      real*4        GR_V13V     ! (mag) []? GR/V13 V magnitude
      real*4        GR_V13B     ! (mag) []? GR/V13 B magnitude
      real*4        GR_V14V     ! (mag) GR/V14 V magnitude
      real*4        GR_V14B     ! (mag) GR/V14 B magnitude
      real*4        GR_V15V     ! (mag) []? GR/V15 V magnitude
      real*4        GR_V15B     ! (mag) []? GR/V15 B magnitude
      real*4        GR_V16V     ! (mag) []? GR/V16 V magnitude
      real*4        GR_V16B     ! (mag) []? GR/V16 B magnitude
      real*4        GR_V17V     ! (mag) []? GR/V17 V magnitude
      real*4        GR_V17B     ! (mag) []? GR/V17 B magnitude
      real*4        GR_V18V     ! (mag) []? GR/V18 V magnitude
      real*4        GR_V18B     ! (mag) []? GR/V18 B magnitude
      real*4        GR_V19V     ! (mag) []? GR/V19 V magnitude
      real*4        GR_V19B     ! (mag) []? GR/V19 B magnitude
      real*4        GR_V20V     ! (mag) []? GR/V20 V magnitude
      real*4        GR_V20B     ! (mag) []? GR/V20 B magnitude
      real*4        GR_V22V     ! (mag) GR/V22 V magnitude
      real*4        GR_V22B     ! (mag) GR/V22 B magnitude
      real*4        GR_V23V     ! (mag) GR/V23 V magnitude
      real*4        GR_V23B     ! (mag) GR/V23 B magnitude
      real*4        GR_V24V     ! (mag) []? GR/V24 V magnitude
      real*4        GR_V24B     ! (mag) []? GR/V24 B magnitude
      real*4        GR_V25V     ! (mag) []? GR/V25 V magnitude
      real*4        GR_V25B     ! (mag) []? GR/V25 B magnitude
      real*4        GR_V26V     ! (mag) GR/V26 V magnitude
      real*4        GR_V26B     ! (mag) GR/V26 B magnitude
      real*4        GR_V27V     ! (mag) []? GR/V27 V magnitude
      real*4        GR_V27B     ! (mag) []? GR/V27 B magnitude
      real*4        GR_V28V     ! (mag) GR/V28 V magnitude
      real*4        GR_V28B     ! (mag) GR/V28 B magnitude
      real*4        GR_V29V     ! (mag) []? GR/V29 V magnitude
      real*4        GR_V29B     ! (mag) []? GR/V29 B magnitude
      real*4        GR_V30V     ! (mag) []? GR/V30 V magnitude
      real*4        GR_V30B     ! (mag) []? GR/V30 B magnitude
      real*4        GR_V31V     ! (mag) []? GR/V31 V magnitude
      real*4        GR_V31B     ! (mag) []? GR/V31 B magnitude
      real*4        GR_V32V     ! (mag) []? GR/V32 V magnitude
      real*4        GR_V32B     ! (mag) []? GR/V32 B magnitude
      real*4        GR_V33V     ! (mag) []? GR/V33 V magnitude
      real*4        GR_V33B     ! (mag) []? GR/V33 B magnitude
      real*4        GR_V34V     ! (mag) GR/V34 V magnitude
      real*4        GR_V34B     ! (mag) GR/V34 B magnitude
      real*4        GR_V35V     ! (mag) []? GR/V35 V magnitude
      real*4        GR_V35B     ! (mag) []? GR/V35 B magnitude
      real*4        GR_V36V     ! (mag) GR/V36 V magnitude
      real*4        GR_V36B     ! (mag) GR/V36 B magnitude
      real*4        GR_V37V     ! (mag) GR/V37 V magnitude
      real*4        GR_V37B     ! (mag) GR/V37 B magnitude
      real*4        GR_V38V     ! (mag) []? GR/V38 V magnitude
      real*4        GR_V38B     ! (mag) []? GR/V38 B magnitude
      real*4        GR_V39V     ! (mag) GR/V39 V magnitude
      real*4        GR_V39B     ! (mag) GR/V39 B magnitude

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

C  Declarations for 'table4'	! Derived quantities for the var. stars

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

      integer*4     GR_V        ! GR/V denomination
      integer*4     Walker      ! []? Walker denomination
      real*8        P_GR        ! (d) []? GR period
      real*8        P_W         ! (d) []? Walker period
      real*4        v_V_        ! (mag) []? Mean V magnitude
      character*1   u__V_       ! uncertainty flag on <V>
      real*4        v_B_        ! (mag) []? Mean B magnitude
      character*1   u__B_       ! uncertainty flag on <B>
      real*4        B_V         ! (mag) []? B-V color
      character*1   u_B_V       ! uncertainty flag on B-V
      real*4        v_B_V_min   ! (mag) []? Minimun B-V color
      character*1   u__B_V_min  ! uncertainty flag on (B-V)min
      real*4        Av          ! (mag) []? Absorption in V
      character*1   u_Av        ! uncertainty flag on Av
      real*4        Ab          ! (mag) []? Absorption in B
      character*1   u_Ab        ! uncertainty flag on Ab
      integer*4     Note        ! []? See note (1)
*Note (1):
*  1: GR1. Periods of several days are poorly constrained by the data available,
*      and other periods with a frequency spacing of ~0.03 day^-1^ are possible,
*      although giving noticeably poorer light-curves. With the adopted period
*      the phases near maximum have been missed, even so, the star is much too
*      faint to be an LMC Cepheid which would be expected to have <V> = 15.4
*  2: GR2. Red variable. Mean magnitudes: HJD=2448207 (V=16.19, B=18.16),
*      HJD=2448248 (V=16.89, B=18.91), HJD=2448279 (V=17.53, B=19.40)
*  3: GR4. Eclipsing binary
*  4: GR9. Low amplitude, noisy light-curve. The period is uncertain. A star of
*      similar magnitude is at 1.5 arcsec separation.
*  5: GR10. Not measured
*  6: GR11. The GR period was adopted. The mean magnitudes are very faint,
*      probably due to elevation of the sky by an adjacent bright star.
*  7: GR12. This star is the closest known variable to the cluster center.
*      Only a few measurements were possible, and these scatter badly when passed
*      with the GR period, so have been discussed.
*  8: GR16. Only a few useful observations, with a large phase gap.
*  9: GR17. Large phase gap due to the period being almost exactly 0.5 days.
* 10: GR20. GR period adopted.
* 11: GR21. No such star is marked on the GR chart although a period and light
*      curve are given. None of the new variables found match the period.
* 12: GR37. Blended with another star. Photometry is very bright, almost
*      certainly due to insufficient subtraction of the companion star.

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

C  Loading file 'table3'	! RR Lyr var. photometry

C  Format for file interpretation

    1 format(
     +  F11.3,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,2X,F5.2,
     +  1X,F5.2,2X,F5.2,1X,F5.2,2X,F5.2,1X,F5.2,2X,F5.2,1X,F5.2,2X,
     +  F5.2,1X,F5.2,2X,F5.2,1X,F5.2,2X,F5.2,1X,F5.2,2X,F5.2,1X,F5.2,
     +  2X,F5.2,1X,F5.2,2X,F5.2,1X,F5.2,2X,F5.2,1X,F5.2,2X,F5.2,1X,
     +  F5.2,2X,F5.2,1X,F5.2,2X,F5.2,1X,F5.2,2X,F5.2,1X,F5.2,2X,F5.2,
     +  1X,F5.2,2X,F5.2,1X,F5.2,2X,F5.2,1X,F5.2,2X,F5.2,1X,F5.2,2X,
     +  F5.2,1X,F5.2,2X,F5.2,1X,F5.2,2X,F5.2,1X,F5.2,2X,F5.2,1X,F5.2,
     +  2X,F5.2,1X,F5.2,2X,F5.2,1X,F5.2,2X,F5.2,1X,F5.2,2X,F5.2,1X,
     +  F5.2,2X,F5.2,1X,F5.2,2X,F5.2,1X,F5.2,2X,F5.2,1X,F5.2,2X,F5.2,
     +  1X,F5.2,2X,F5.2,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3')
      write(6,*) '....Loading file: table3'
      do i__=1,36
        read(1,'(A463)')ar__
        read(ar__,1)
     +  HJD,GR_V1V,GR_V1B,GR_V3V,GR_V3B,GR_V4V,GR_V4B,GR_V5V,GR_V5B,
     +  GR_V6V,GR_V6B,GR_V7V,GR_V7B,GR_V8V,GR_V8B,GR_V9V,GR_V9B,
     +  GR_V11V,GR_V11B,GR_V13V,GR_V13B,GR_V14V,GR_V14B,GR_V15V,
     +  GR_V15B,GR_V16V,GR_V16B,GR_V17V,GR_V17B,GR_V18V,GR_V18B,
     +  GR_V19V,GR_V19B,GR_V20V,GR_V20B,GR_V22V,GR_V22B,GR_V23V,
     +  GR_V23B,GR_V24V,GR_V24B,GR_V25V,GR_V25B,GR_V26V,GR_V26B,
     +  GR_V27V,GR_V27B,GR_V28V,GR_V28B,GR_V29V,GR_V29B,GR_V30V,
     +  GR_V30B,GR_V31V,GR_V31B,GR_V32V,GR_V32B,GR_V33V,GR_V33B,
     +  GR_V34V,GR_V34B,GR_V35V,GR_V35B,GR_V36V,GR_V36B,GR_V37V,
     +  GR_V37B,GR_V38V,GR_V38B,GR_V39V,GR_V39B
        if(ar__(25:29) .EQ. '') GR_V3V = rNULL__
        if(ar__(31:35) .EQ. '') GR_V3B = rNULL__
        if(ar__(37:41) .EQ. '') GR_V4V = rNULL__
        if(ar__(43:47) .EQ. '') GR_V4B = rNULL__
        if(ar__(63:67) .EQ. '') GR_V6V = rNULL__
        if(ar__(69:73) .EQ. '') GR_V6B = rNULL__
        if(ar__(76:80) .EQ. '') GR_V7V = rNULL__
        if(ar__(82:86) .EQ. '') GR_V7B = rNULL__
        if(ar__(89:93) .EQ. '') GR_V8V = rNULL__
        if(ar__(95:99) .EQ. '') GR_V8B = rNULL__
        if(ar__(102:106) .EQ. '') GR_V9V = rNULL__
        if(ar__(108:112) .EQ. '') GR_V9B = rNULL__
        if(ar__(115:119) .EQ. '') GR_V11V = rNULL__
        if(ar__(121:125) .EQ. '') GR_V11B = rNULL__
        if(ar__(128:132) .EQ. '') GR_V13V = rNULL__
        if(ar__(134:138) .EQ. '') GR_V13B = rNULL__
        if(ar__(154:158) .EQ. '') GR_V15V = rNULL__
        if(ar__(160:164) .EQ. '') GR_V15B = rNULL__
        if(ar__(167:171) .EQ. '') GR_V16V = rNULL__
        if(ar__(173:177) .EQ. '') GR_V16B = rNULL__
        if(ar__(180:184) .EQ. '') GR_V17V = rNULL__
        if(ar__(186:190) .EQ. '') GR_V17B = rNULL__
        if(ar__(193:197) .EQ. '') GR_V18V = rNULL__
        if(ar__(199:203) .EQ. '') GR_V18B = rNULL__
        if(ar__(206:210) .EQ. '') GR_V19V = rNULL__
        if(ar__(212:216) .EQ. '') GR_V19B = rNULL__
        if(ar__(219:223) .EQ. '') GR_V20V = rNULL__
        if(ar__(225:229) .EQ. '') GR_V20B = rNULL__
        if(ar__(258:262) .EQ. '') GR_V24V = rNULL__
        if(ar__(264:268) .EQ. '') GR_V24B = rNULL__
        if(ar__(271:275) .EQ. '') GR_V25V = rNULL__
        if(ar__(277:281) .EQ. '') GR_V25B = rNULL__
        if(ar__(297:301) .EQ. '') GR_V27V = rNULL__
        if(ar__(303:307) .EQ. '') GR_V27B = rNULL__
        if(ar__(323:327) .EQ. '') GR_V29V = rNULL__
        if(ar__(329:333) .EQ. '') GR_V29B = rNULL__
        if(ar__(336:340) .EQ. '') GR_V30V = rNULL__
        if(ar__(342:346) .EQ. '') GR_V30B = rNULL__
        if(ar__(349:353) .EQ. '') GR_V31V = rNULL__
        if(ar__(355:359) .EQ. '') GR_V31B = rNULL__
        if(ar__(362:366) .EQ. '') GR_V32V = rNULL__
        if(ar__(368:372) .EQ. '') GR_V32B = rNULL__
        if(ar__(375:379) .EQ. '') GR_V33V = rNULL__
        if(ar__(381:385) .EQ. '') GR_V33B = rNULL__
        if(ar__(401:405) .EQ. '') GR_V35V = rNULL__
        if(ar__(407:411) .EQ. '') GR_V35B = rNULL__
        if(ar__(440:444) .EQ. '') GR_V38V = rNULL__
        if(ar__(446:450) .EQ. '') GR_V38B = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  HJD,GR_V1V,GR_V1B,GR_V3V,GR_V3B,GR_V4V,GR_V4B,GR_V5V,GR_V5B,
     +  GR_V6V,GR_V6B,GR_V7V,GR_V7B,GR_V8V,GR_V8B,GR_V9V,GR_V9B,
     +  GR_V11V,GR_V11B,GR_V13V,GR_V13B,GR_V14V,GR_V14B,GR_V15V,
     +  GR_V15B,GR_V16V,GR_V16B,GR_V17V,GR_V17B,GR_V18V,GR_V18B,
     +  GR_V19V,GR_V19B,GR_V20V,GR_V20B,GR_V22V,GR_V22B,GR_V23V,
     +  GR_V23B,GR_V24V,GR_V24B,GR_V25V,GR_V25B,GR_V26V,GR_V26B,
     +  GR_V27V,GR_V27B,GR_V28V,GR_V28B,GR_V29V,GR_V29B,GR_V30V,
     +  GR_V30B,GR_V31V,GR_V31B,GR_V32V,GR_V32B,GR_V33V,GR_V33B,
     +  GR_V34V,GR_V34B,GR_V35V,GR_V35B,GR_V36V,GR_V36B,GR_V37V,
     +  GR_V37B,GR_V38V,GR_V38B,GR_V39V,GR_V39B
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4'	! Derived quantities for the var. stars

C  Format for file interpretation

    2 format(
     +  I2,6X,I4,4X,F7.5,1X,F7.5,1X,F5.2,A1,2X,F5.2,A1,2X,F4.2,A1,3X,
     +  F4.2,A1,3X,F4.2,A1,3X,F5.3,A1,1X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4')
      write(6,*) '....Loading file: table4'
      do i__=1,39
        read(1,'(A81)')ar__1
        read(ar__1,2)
     +  GR_V,Walker,P_GR,P_W,v_V_,u__V_,v_B_,u__B_,B_V,u_B_V,
     +  v_B_V_min,u__B_V_min,Av,u_Av,Ab,u_Ab,Note
        if(ar__1(9:12) .EQ. '') Walker = iNULL__
        if(ar__1(17:23) .EQ. '') P_GR = rNULL__
        if(ar__1(25:31) .EQ. '') P_W = rNULL__
        if(ar__1(33:37) .EQ. '') v_V_ = rNULL__
        if(ar__1(41:45) .EQ. '') v_B_ = rNULL__
        if(ar__1(49:52) .EQ. '') B_V = rNULL__
        if(ar__1(57:60) .EQ. '') v_B_V_min = rNULL__
        if(ar__1(65:68) .EQ. '') Av = rNULL__
        if(ar__1(73:77) .EQ. '') Ab = rNULL__
        if(ar__1(80:81) .EQ. '') Note = iNULL__
c    ..............Just test output...........
        write(6,2)
     +  GR_V,Walker,P_GR,P_W,v_V_,u__V_,v_B_,u__B_,B_V,u_B_V,
     +  v_B_V_min,u__B_V_min,Av,u_Av,Ab,u_Ab,Note
c    .......End.of.Just test output...........
      end do
      close(1)

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