FORTRAN Generation
(/./ftp/cats/J/MNRAS/353/705)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/353/705 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-11
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/MNRAS/353/705     OGLE Variables in Magellanic Clouds          (Ita+, 2004)
*================================================================================
*Variable stars in the Magellanic Clouds - II. The data and infrared properties.
*    Ita Y., Tanabe T., Matsunaga N., Nakajima Y., Nagashima C., Nagayama T.,
*    Kato D., Kurita M., Nagata T., Sato S., Tamura M., Nakaya H., Nakada Y.
*   <Mon. Not. R. Astron. Soc., 353, 705-712 (2004)>
*   =2004MNRAS.353..705I
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'lmcvar.dat'	! LMC catalog

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

      character*18  OGLE        ! OGLE designation, HHMMSS.ss+DDMMSS.s, J2000
*                                  (OGLE JHHMMSS.ss+DDMMSS.s in Simbad)
      real*8        Per         ! (d) Pulsation period
      real*4        theta       ! [0/1] Statistical parameter calculated by the
*                                  phase dispersion minimization technique  (1)
      real*4        DIcmag      ! (mag) Pulsation amplitude in Cousins I (Imax-Imin)
      real*4        v_Icmag_    ! (mag) Intensity mean Cousins I magnitude
      real*4        Jmag        ! (mag) ?=99.999 SIRIUS J magnitude (1.25um)
      real*4        Hmag        ! (mag) ?=99.999 SIRIUS H magnitude (1.63um)
      real*4        Ksmag       ! (mag) ?=99.999 SIRIUS Ks magnitude (2.14um)
      real*4        r           ! (arcsec) Positional difference between SIRIUS and OGLE
*                                 coordinates
*Note (1): Theta is a measure of the regularity of the light variation,
*      being near 0 for the regular variation and near 1 for the irregular
*      variation.

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

C  Declarations for 'smcvar.dat'	! SMC catalog

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

      character*18  OGLE_1      ! OGLE designation, HHMMSS.ss+DDMMSS.s, J2000
*                                  (OGLE JHHMMSS.ss+DDMMSS.s in Simbad)
      real*8        Per_1       ! (d) Pulsation period
      real*4        theta_1     ! [0/1] Statistical parameter calculated by the
*                                  phase dispersion minimization technique  (1)
      real*4        DIcmag_1    ! (mag) Pulsation amplitude in Cousins I (Imax-Imin)
      real*4        v_Icmag__1  ! (mag) Intensity mean Cousins I magnitude
      real*4        Jmag_1      ! (mag) ?=99.999 SIRIUS J magnitude (1.25um)
      real*4        Hmag_1      ! (mag) ?=99.999 SIRIUS H magnitude (1.63um)
      real*4        Ksmag_1     ! (mag) ?=99.999 SIRIUS Ks magnitude (2.14um)
      real*4        r_1         ! (arcsec) Positional difference between SIRIUS and OGLE
*                                 coordinates
*Note (1): Theta is a measure of the regularity of the light variation,
*      being near 0 for the regular variation and near 1 for the irregular
*      variation.

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

C  Loading file 'lmcvar.dat'	! LMC catalog

C  Format for file interpretation

    1 format(
     +  4X,A18,1X,F7.3,1X,F5.3,1X,F5.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,
     +  F6.3,1X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'lmcvar.dat')
      write(6,*) '....Loading file: lmcvar.dat'
      do i__=1,8852
        read(1,'(A76)')ar__
        read(ar__,1)OGLE,Per,theta,DIcmag,v_Icmag_,Jmag,Hmag,Ksmag,r
c    ..............Just test output...........
        write(6,1)OGLE,Per,theta,DIcmag,v_Icmag_,Jmag,Hmag,Ksmag,r
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'smcvar.dat'	! SMC catalog

C  Format for file interpretation

    2 format(
     +  4X,A18,1X,F7.3,1X,F5.3,1X,F5.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,
     +  F6.3,1X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'smcvar.dat')
      write(6,*) '....Loading file: smcvar.dat'
      do i__=1,2927
        read(1,'(A76)')ar__1
        read(ar__1,2)
     +  OGLE_1,Per_1,theta_1,DIcmag_1,v_Icmag__1,Jmag_1,Hmag_1,
     +  Ksmag_1,r_1
c    ..............Just test output...........
        write(6,2)
     +  OGLE_1,Per_1,theta_1,DIcmag_1,v_Icmag__1,Jmag_1,Hmag_1,
     +  Ksmag_1,r_1
c    .......End.of.Just test output...........
      end do
      close(1)

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