FORTRAN Generation
(/./ftp/cats/J/AJ/147/9)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/147/9 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-Aug-12
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/147/9           VRIJHK light curves of V582 Mon          (Windemuth+, 2014)
*================================================================================
*Multi-wavelength photometry of the T Tauri binary V582 Mon (KH 15D): a new epoch
*of occultations.
*    Windemuth D., Herbst W.
*   <Astron. J., 147, 9 (2014)>
*   =2014AJ....147....9W
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! Standard BVRIJHK photometry of KH 15D

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

      real*8        JD          ! (d) [33658/56423] Mean Julian Date of observation
*                                             (JD-2400000)
      real*4        Bmag        ! (mag) [17.287/17.944]?=99.999 Johnson B band magnitude
      real*4        e_Bmag      ! (mag) ?=9.999 The 1{sigma} error in Bmag
      real*4        Vmag        ! (mag) [15.873/21.739]?=99.999 Johnson V band magnitude
      real*4        e_Vmag      ! (mag) ?=9.999 The 1{sigma} error in Vmag
      real*4        Rmag        ! (mag) [15.178/19.394]?=99.999 Cousins R band magnitude
      real*4        e_Rmag      ! (mag) ?=9.999 The 1{sigma} error in Rmag
      real*4        Imag        ! (mag) [13.2/19.79]?=99.999 Cousins I band magnitude
      real*4        e_Imag      ! (mag) ?=9.999 The 1{sigma} error in Imag
      real*4        Jmag        ! (mag) [13.42/18.33]?=99.999 The J band magnitude
      real*4        e_Jmag      ! (mag) ?=9.999 The 1{sigma} error in Jmag
      real*4        Hmag        ! (mag) [12.74/19.993]?=99.999 The H band magnitude
      real*4        e_Hmag      ! (mag) ?=9.999 The 1{sigma} error in Hmag
      real*4        Kmag        ! (mag) [12.47/17.148]?=99.999 The K band magnitude
      real*4        e_Kmag      ! (mag) ?=9.999 The 1{sigma} error in Kmag
      character*9   Obs         ! Observatory code (2)
      character*7   Ref         ! Reference code (3)
*Note (2): A "," indicates different sources for optical and NearIR data.
*     Observatory (from which the photometry was obtained) codes are defined as
*     follows:
*  ASI  = Asiago Observatory archives;
*  ESO  = European Southern Observatory, La Silla, Chile;
*  CTIO = Cerro Tololo Inter-American Observatory SMARTS ANDICAM;
*  IRSF = South African astronomical observatory's InfraRed Survey Facility;
*  KAIT = Katzman Automated Telescope, Mt. Hamilton, CA;
*  KISO = Kiso 105/150cm Schmidt;
*  KONK = Konkoly Observatory, Hungary;
*  KPNO = Kitt Peak National Observatory telescopes;
*  MTW  = Mount Wilson 60 in;
*  POSS = Palomar 122/183cm Oschin Schmidt;
*  ROZ  = Rozhen NAO 2.0m RCC;
*  TAU  = Tautenburg 134/200cm Schmidt;
*  TEN  = Tenagra Observatory, Nogales, AZ;
*  TENE = Teide Observatory, Tenerife, Spain;
*  USNO = US Naval Observatory's 1.3m and 1m telescopes;
*  UZBK = Mount Maidanak Observatory, Uzbekistan;
*  VVO  = Van Vleck Observatory, Middletown, CT;
*  WISE = Wise Observatory, Israel.
*Note (3): A "," indicates different sources for optical and Near-infrared data.
*     Paper (from which data was presented) codes are defined as follows:
*  J04  = Johnson & Winn (2004AJ....127.2344J);
*  J05  = Johnson et al. (2005AJ....129.1978J);
*  H05  = Hamilton et al. (2005AJ....130.1896H);
*  K05  = Kusakabe et al. (2005ApJ...632L.139K);
*  H10  = Herbst et al. (2010, cat. J/AJ/140/2025);
*  W13  = Windemuth & Herbst (2013; this paper).

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

C  Loading file 'table3.dat'	! Standard BVRIJHK photometry of KH 15D

C  Format for file interpretation

    1 format(
     +  F8.2,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,
     +  1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,A9,
     +  1X,A7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,8655
        read(1,'(A117)')ar__
        read(ar__,1)
     +  JD,Bmag,e_Bmag,Vmag,e_Vmag,Rmag,e_Rmag,Imag,e_Imag,Jmag,
     +  e_Jmag,Hmag,e_Hmag,Kmag,e_Kmag,Obs,Ref
c    ..............Just test output...........
        write(6,1)
     +  JD,Bmag,e_Bmag,Vmag,e_Vmag,Rmag,e_Rmag,Imag,e_Imag,Jmag,
     +  e_Jmag,Hmag,e_Hmag,Kmag,e_Kmag,Obs,Ref
c    .......End.of.Just test output...........
      end do
      close(1)

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