FORTRAN Generation
(/./ftp/cats/J/other/IBVS/5984)

Conversion of standardized ReadMe file for file /./ftp/cats/J/other/IBVS/5984 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-Mar-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/other/IBVS/5984   Minima and maxima of 503 variables        (Hubscher, 2011)
*================================================================================
*BAV-results of observations - photoelectric minima of selected eclipsing
*binaries and maxima of pulsating stars.
*    Hubscher J.
*   <IAU Inform. Bull. Var. Stars, 5984, 1 (2011)>
*   =2011IBVS.5984....1H
*   =2011BAVSM.215....1H
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Times of maxima of Eclipsing binaries

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

      character*24  Vname      (nr__) ! Variable name (completed at CDS)
      real*8        HJD        (nr__) ! (d) Heliocentric Julian Date of
*                                   Minimun (table1.dat) or Maximum (table2.dat)
      character*1   u_HJD      (nr__) ! Uncertainty flag on HJD
      real*4        e_HJD      (nr__) ! (d) ? rms uncertainty on HJD
      character*8   Obs        (nr__) ! Observator name (1)
      real*8        O_C        (nr__) ! (mag) ? Observed minus computed
      character*1   n_O_C      (nr__) ! [s] s: secondary minimum
      character*19  Ref        (nr__) ! Reference (2)
      character*3   Filter     (nr__) ! Filter (-Ir, B, V, o) (3)
      integer*4     Nobs       (nr__) ! Number of observations
      character*5   Rem        (nr__) ! Remarks in notes.dat file
*Note (1): Observers name as follows:
*    AG  = Agerer, F., Tiefenbach
*    ALH = Alich, K., Schaffhausen (CH)
*    BO  = Bode, H.-J., Hannover
*    FLG = Flechsig, Dr. G.-U., Teterow
*    FR  = Frank, P., Velden
*    JU  = Jungbluth, Dr. H., Karlsruhe
*    MOO = Moos, C., Netphen
*    MS  = Moschner, W., Lennestadt
*    MZ  = Maintz, Dr. G., Bonn
*    PGL = Pagel, Dr. L., Klockenhagen
*    PRK = Proksch, W., Winhoring
*    SB  = Steinbach, Dr. H., Neu-Anspach
*    SCI = Schmidt, U., Karlsruhe
*    SIR = Schirmer, J., Willisau (CH)
*    TMG = Team Martinus Gymnasium, Linz (A)
*   VLME = Vollmann, W., Wien (A)
*Note (2): Reference use the nomenclature:
*     GCVS 2009   = General Catalogue of Variable Stars, version 20.11.2009
*     IBVS nnnn   = Information Bulletin on Variable Stars No. nnnn
*     PZP nn.n    =  eremennye Zvezdy Prilozhenie Vol, No.
*     BAVM nnn    = BAV Mitteilungen No. nnn
*     BAVR vv,ppp = BAV Rundbrief volume, pages
*     SAC vv      = Rocznik Astronomiczny No. vv, Krakow (SAC)
*     GSC         = The HST Guide star Catalogue 1.2
*     U-A2        = USNO A2.0 catalogue
*     U-B1        = USNO B1.0 catalogue
*Note (3): Filters as follows:
*  o  = without filter
*  B  = B-filter
*  V  = V-filter
* -Ir = -Ir-filter

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

C  Declarations for 'table2.dat'	! Times of maxima of Pulsating stars

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

      character*24  Vname_1    (nr__1) ! Variable name (completed at CDS)
      real*8        HJD_1      (nr__1) ! (d) Heliocentric Julian Date of
*                                   Minimun (table1.dat) or Maximum (table2.dat)
      character*1   u_HJD_1    (nr__1) ! Uncertainty flag on HJD
      real*4        e_HJD_1    (nr__1) ! (d) ? rms uncertainty on HJD
      character*8   Obs_1      (nr__1) ! Observator name (1)
      real*8        O_C_1      (nr__1) ! (mag) ? Observed minus computed
      character*1   n_O_C_1    (nr__1) ! [s] s: secondary minimum
      character*19  Ref_1      (nr__1) ! Reference (2)
      character*3   Filter_1   (nr__1) ! Filter (-Ir, B, V, o) (3)
      integer*4     Nobs_1     (nr__1) ! Number of observations
      character*5   Rem_1      (nr__1) ! Remarks in notes.dat file
*Note (1): Observers name as follows:
*    AG  = Agerer, F., Tiefenbach
*    ALH = Alich, K., Schaffhausen (CH)
*    BO  = Bode, H.-J., Hannover
*    FLG = Flechsig, Dr. G.-U., Teterow
*    FR  = Frank, P., Velden
*    JU  = Jungbluth, Dr. H., Karlsruhe
*    MOO = Moos, C., Netphen
*    MS  = Moschner, W., Lennestadt
*    MZ  = Maintz, Dr. G., Bonn
*    PGL = Pagel, Dr. L., Klockenhagen
*    PRK = Proksch, W., Winhoring
*    SB  = Steinbach, Dr. H., Neu-Anspach
*    SCI = Schmidt, U., Karlsruhe
*    SIR = Schirmer, J., Willisau (CH)
*    TMG = Team Martinus Gymnasium, Linz (A)
*   VLME = Vollmann, W., Wien (A)
*Note (2): Reference use the nomenclature:
*     GCVS 2009   = General Catalogue of Variable Stars, version 20.11.2009
*     IBVS nnnn   = Information Bulletin on Variable Stars No. nnnn
*     PZP nn.n    =  eremennye Zvezdy Prilozhenie Vol, No.
*     BAVM nnn    = BAV Mitteilungen No. nnn
*     BAVR vv,ppp = BAV Rundbrief volume, pages
*     SAC vv      = Rocznik Astronomiczny No. vv, Krakow (SAC)
*     GSC         = The HST Guide star Catalogue 1.2
*     U-A2        = USNO A2.0 catalogue
*     U-B1        = USNO B1.0 catalogue
*Note (3): Filters as follows:
*  o  = without filter
*  B  = B-filter
*  V  = V-filter
* -Ir = -Ir-filter

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

C  Declarations for 'notes.dat'	! Notes

      integer*4 nr__2
      parameter (nr__2=20)	! Number of records
      character*44 ar__2  	! Full-size record

      integer*4     Note       (nr__2) ! Note number
      character*41  Text       (nr__2) ! Text of the note

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

C  Loading file 'table1.dat'	! Times of maxima of Eclipsing binaries

C  Format for file interpretation

    1 format(
     +  A24,1X,F12.4,A1,1X,F5.4,1X,A8,F7.4,1X,A1,1X,A19,1X,A3,1X,I3,
     +  1X,A5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,659
        read(1,'(A96)')ar__
        read(ar__,1)
     +  Vname(i__),HJD(i__),u_HJD(i__),e_HJD(i__),Obs(i__),O_C(i__),
     +  n_O_C(i__),Ref(i__),Filter(i__),Nobs(i__),Rem(i__)
        if(ar__(40:44) .EQ. '') e_HJD(i__) = rNULL__
        if(ar__(54:60) .EQ. '') O_C(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Vname(i__),HJD(i__),u_HJD(i__),e_HJD(i__),Obs(i__),O_C(i__),
     +  n_O_C(i__),Ref(i__),Filter(i__),Nobs(i__),Rem(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Times of maxima of Pulsating stars

C  Format for file interpretation

    2 format(
     +  A24,1X,F12.4,A1,1X,F5.4,1X,A8,F7.4,1X,A1,1X,A19,1X,A3,1X,I3,
     +  1X,A5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,108
        read(1,'(A96)')ar__1
        read(ar__1,2)
     +  Vname_1(i__),HJD_1(i__),u_HJD_1(i__),e_HJD_1(i__),Obs_1(i__),
     +  O_C_1(i__),n_O_C_1(i__),Ref_1(i__),Filter_1(i__),Nobs_1(i__),
     +  Rem_1(i__)
        if(ar__1(40:44) .EQ. '') e_HJD_1(i__) = rNULL__
        if(ar__1(54:60) .EQ. '') O_C_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Vname_1(i__),HJD_1(i__),u_HJD_1(i__),e_HJD_1(i__),Obs_1(i__),
     +  O_C_1(i__),n_O_C_1(i__),Ref_1(i__),Filter_1(i__),Nobs_1(i__),
     +  Rem_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'notes.dat'	! Notes

C  Format for file interpretation

    3 format(I2,1X,A41)

C  Effective file loading

      open(unit=1,status='old',file=
     +'notes.dat')
      write(6,*) '....Loading file: notes.dat'
      do i__=1,20
        read(1,'(A44)')ar__2
        read(ar__2,3)Note(i__),Text(i__)
c    ..............Just test output...........
        write(6,3)Note(i__),Text(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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