CDS.headStuff2 FORTRAN Generation
()

Conversion of standardized ReadMe file for catalog 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-24
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/397/921       VBLUW photometry of HD 93205            (van Genderen, 2003)
*================================================================================
*The effect of the apsidal motion on the light curve of
*the close binary HD 93205 (O3V+O8V).
*    van Genderen A.M.
*   <Astron. Astrophys. 397, 921 (2003)>
*   =2003A&A...397..921V
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Journal of brightness and colour indices of
                              HD 93205 (1982-1985) in the VBLUW system
                              (in log intensity scale) and the computed
                              brightness V_J_ of the UBV system

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

      real*8        HJD         ! (d) Heliocentric Julian date
      real*8        Vwmag       ! (mag) Walraven V magnitude
      real*4        V_B         ! (mag) V-B colour index
      real*8        B_U         ! (mag) B-U colour index
      real*8        U_W         ! (mag) U-W colour index
      real*8        B_L         ! (mag) B-L colour index
      real*4        VJmag       ! (mag) Johnson V magnitude

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

C  Loading file 'table1.dat'	! Journal of brightness and colour indices of
*                              HD 93205 (1982-1985) in the VBLUW system
*                              (in log intensity scale) and the computed
*                              brightness V_J_ of the UBV system

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,39
        read(1,'(A56)')ar__
        read(ar__,1)HJD,Vwmag,V_B,B_U,U_W,B_L,VJmag
c    ..............Just test output...........
        write(6,1)HJD,Vwmag,V_B,B_U,U_W,B_L,VJmag
c    .......End.of.Just test output...........
      end do
      close(1)

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