FORTRAN Generation
(/./ftp/cats/J/A_A/611/A69)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/611/A69 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-18
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/611/A69       B,V and R band polarimetry of lambda Tau  (Berdyugin+, 2018)
*================================================================================
*High-precision broad-band polarimetry of early-type binaries.
*II. Variable, phase-locked polarization in triple Algol-type system
*lambda Tauri.
*    Berdyugin A., Piirola V., Sakanoi T., Kagitani M., Yoneda M.
*    <Astron. Astrophys. 611, A69 (2018)>
*    =2018A&A...611A..69B        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'poldata.dat'	! Polarization data for the B, V and R passbands

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

      real*8        JD          ! (d) Heliocentrical Julian Date
      real*4        Phase       ! Orbital phase (1)
      real*4        q_B         ! Stokes q for B band
      real*8        u_B         ! Stokes u for B band
      real*4        e_q_B       ! Error of q(B) and u(B)
      real*4        q_V         ! Stokes q for V band
      real*8        u_V         ! Stokes u for V band
      real*4        e_q_V       ! Error of q(V) and u(V)
      real*4        q_R         ! Stokes q for R band
      real*8        u_R         ! Stokes u for R band
      real*4        e_q_R       ! Error of q(R) and u(R)
*Note (1): The phase of the orbital period was computed with the ephemeris
*            JD(pr.min)=2455577.3203+3.952948d.

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

C  Loading file 'poldata.dat'	! Polarization data for the B, V and R passbands

C  Format for file interpretation

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

C  Effective file loading

      open(unit=1,status='old',file=
     +'poldata.dat')
      write(6,*) '....Loading file: poldata.dat'
      do i__=1,69
        read(1,'(A97)')ar__
        read(ar__,1)
     +  JD,Phase,q_B,u_B,e_q_B,q_V,u_V,e_q_V,q_R,u_R,e_q_R
c    ..............Just test output...........
        write(6,1)
     +  JD,Phase,q_B,u_B,e_q_B,q_V,u_V,e_q_V,q_R,u_R,e_q_R
c    .......End.of.Just test output...........
      end do
      close(1)

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