FORTRAN Generation
(/./ftp/cats/J/other/A_ARV/17.251)

Conversion of standardized ReadMe file for file /./ftp/cats/J/other/A_ARV/17.251 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-16
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/A+ARV/17.251   Stars observed with Doppler imaging   (Strassmeier, 2009)
*================================================================================
*Starspots.
*    Strassmeier K.G.
*   <Astron. Astrophys. Rev., 17, 251-308 (2009)>
*   =2009A&ARv..17..251S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Late-type stars with Doppler images (as of 2008)

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

      character*8   SpType      ! MK spectral type
      character*12  Name        ! Star name
      character*7   Type        ! Type of star (1)
      integer*4     Teff        ! (K) ? Effective temperature
      character*1   u_Teff      ! [?)] Uncertainty flag on Teff
      real*8        Per         ! (d) Period
      character*1   u_Per       ! [)] Uncertainty flag on Per
      real*4        v_equ       ! (km/s) ? Equatorial rotation velocity
      character*1   u_v_equ     ! [?] Uncertainty flag on v
      real*4        Rad         ! (solRad) ? Star radius
      character*1   u_Rad       ! [?)] Uncertainty flag on Rad
*Note (1): the stars are classified in the following categories:
*    RS CVn  = close binary with evolved component(s);
*    BY Dra  = close binary with main-sequence components;
*    W UMa   = contact binary;
*    CV      = cool secondary in a cataclysmic variable
*    Pre-CV  = pre-stage to CV
*    CBPN    = central binary of planetary nebula;
*    Alp Per = member of alpha-Per cluster,
*    Pleiad  = member of Pleiades cluster, single star;
*    WTTS    = weak-lined T Tauri star;
*    CTTS    = classical T Tauri star;
*    FK Com  = single rapidly-rotating giant;
*    Eff.-s  = effectively single star (but component in wide binary);
*    Single  = single star, unspecified.

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

C  Loading file 'table1.dat'	! Late-type stars with Doppler images (as of 2008)

C  Format for file interpretation

    1 format(A8,1X,A12,1X,A7,1X,I4,A1,F7.4,A1,F5.1,A1,F5.2,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,79
        read(1,'(A55)')ar__
        read(ar__,1)
     +  SpType,Name,Type,Teff,u_Teff,Per,u_Per,v_equ,u_v_equ,Rad,u_Rad
        if(ar__(31:34) .EQ. '') Teff = iNULL__
        if(ar__(44:48) .EQ. '') v_equ = rNULL__
        if(ar__(50:54) .EQ. '') Rad = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  SpType,Name,Type,Teff,u_Teff,Per,u_Per,v_equ,u_v_equ,Rad,u_Rad
c    .......End.of.Just test output...........
      end do
      close(1)

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