FORTRAN Generation
(/./ftp/cats/J/A_A/333/205)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/333/205 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/A+A/333/205       HD 185510 UBV photometry (Frasca+ 1998)
*================================================================================
*Photospheric and chromospheric activity in the late-type giant component of the
*evolved binary system HD 185510
*       Frasca A., Marilli E., Catalano S.
*      <Astron. Astrophys. 333, 205 (1998)>
*      =1998A&A...333..205F      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table.dat'	! UBV photometry

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

      real*8        HJD        (nr__) ! (d) Heliocentric Julian date
      real*4        Vmag       (nr__) ! (mag) V magnitude
      real*4        B_V        (nr__) ! (mag) B-V colour index
      real*4        U_B        (nr__) ! (mag) U-B colour index
      real*4        e_Vmag     (nr__) ! (mag) rms uncertainty on Vmag
      real*4        e_B_V      (nr__) ! (mag) rms uncertainty on B-V
      real*4        e_U_B      (nr__) ! (mag) rms uncertainty on U-B
      integer*4     Npt        (nr__) ! Number of points contributing to each listed
*                                   average value (1)
*Note (1): We have listed nightly means of UBV observations far from the ingress
*           or egresses eclipse phases.

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

C  Loading file 'table.dat'	! UBV photometry

C  Format for file interpretation

    1 format(
     +  F13.5,1X,F6.4,1X,F6.4,1X,F6.4,1X,F6.4,1X,F6.4,1X,F6.4,1X,I3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table.dat')
      write(6,*) '....Loading file: table.dat'
      do i__=1,107
        read(1,'(A59)')ar__
        read(ar__,1)
     +  HJD(i__),Vmag(i__),B_V(i__),U_B(i__),e_Vmag(i__),e_B_V(i__),
     +  e_U_B(i__),Npt(i__)
c    ..............Just test output...........
        write(6,1)
     +  HJD(i__),Vmag(i__),B_V(i__),U_B(i__),e_Vmag(i__),e_B_V(i__),
     +  e_U_B(i__),Npt(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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