FORTRAN Generation
(/./ftp/cats/J/A_A/654/A118)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/654/A118 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 2026-Jun-10
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/654/A118      Vanadium measurements for 135 M dwarfs         (Shan+, 2021)
*================================================================================
*The CARMENES search for exoplanets around M dwarfs:
*Not-so-fine hyperfine-split vanadium lines in cool star spectra.
*    Shan Y., Reiners A., Fabbian D., Marfil E., Montes D., Tabernero H.M.,
*    Ribas I., Caballero J.A., Quirrenbach A., Amado P.J., Aceituno J.,
*    Bejar V.J.S., Cortes-Contreras M., Dreizler S., Hatzes A.P., Henning T.,
*    Jeffers S.V., Kaminski A., Kuerster M., Lafarga M., Morales J.C., Nagel E.,
*    Palle E., Passegger V.M., Rodriguez-Lopez C., Schweitzer A., Zechmeister M.
*    <Astron. Astrophys. 654, A118 (2021)>
*    =2021A&A...654A.118S        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tablea1.dat'	! Vanadium abundances for 135 M dwarfs

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

      character*11  Karmn      (nr__) ! CARMENES identifier (JHHMMm+DDdA)
      character*5   SpType     (nr__) ! Luminosity class V spectral type (1)
      real*4        vsini      (nr__) ! (km/s) Projected rotational velocity (2)
      integer*4     Teffs      (nr__) ! (K) Effective temperature, from Schweitzer et al.
*                                   (2019A&A...625A..68S, Cat. J/A+A/625/A68)
      real*4        loggs      (nr__) ! ([cm/s2]) Surface gravity, from Schweitzer et al.
*                                   (2019A&A...625A..68S, Cat. J/A+A/625/A68)
      real*4        v_Fe_H_s   (nr__) ! ([-]) Metallicity, from Schweitzer et al.
*                                   (2019A&A...625A..68S, Cat. J/A+A/625/A68)
      real*4        v_V_H_s    (nr__) ! ([-]) Vanadium abundance based on, from Schweitzer
*                                   et al. (2019A&A...625A..68S,
*                                   Cat. J/A+A/625/A68)
      real*4        e__V_H_s   (nr__) ! ([-]) Error of vanadium abundance based on, from
*                                   Schweitzer et al. (2019A&A...625A..68S,
*                                   Cat. J/A+A/625/A68)
      integer*4     Teffm      (nr__) ! (K) Effective temperature, from
*                                   Marfil et al. (submitted)
      real*4        loggm      (nr__) ! ([cm/s2]) Surface gravity, from
*                                   Marfil et al. (submitted)
      real*4        v_Fe_H_m   (nr__) ! ([-]) Metallicity, from Marfil et al. (submitted)
      real*4        v_V_H_m    (nr__) ! ([-]) Vanadium abundance based on, from
*                                   Marfil et al. (submitted)
      real*4        e__V_H_m   (nr__) ! ([-]) Error of vanadium abundance based on,
*                                   from Marfil et al. (submitted)
      character*4   Disk       (nr__) ! Kinematic disk membership (3)
*Note (1): Spectral types are from Alonso-Floriano et al.
* (2015A&A...577A.128A, Cat. J/A+A/577/A128)
*Note (2): Projected rotational velocities (vsini) are as given in Reiners et al.
* (2018A&A...612A..49R, cat. J/A+A/612/A49)
*Note (3): Kinematic disk membership assignments from Cortes-Contreras et al.
* (in prep.) as follows:
* TD   = thick disc
* TD-D = thick disc-thin disc transition
* D    = thin disc
* YD   = young disc

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

C  Loading file 'tablea1.dat'	! Vanadium abundances for 135 M dwarfs

C  Format for file interpretation

    1 format(
     +  A11,1X,A5,1X,F3.1,1X,I4,1X,F4.2,1X,F5.2,1X,F5.2,1X,F4.2,1X,I4,
     +  1X,F4.2,1X,F5.2,1X,F5.2,1X,F4.2,1X,A4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea1.dat')
      write(6,*) '....Loading file: tablea1.dat'
      do i__=1,135
        read(1,'(A80)')ar__
        read(ar__,1)
     +  Karmn(i__),SpType(i__),vsini(i__),Teffs(i__),loggs(i__),
     +  v_Fe_H_s(i__),v_V_H_s(i__),e__V_H_s(i__),Teffm(i__),
     +  loggm(i__),v_Fe_H_m(i__),v_V_H_m(i__),e__V_H_m(i__),Disk(i__)
c    ..............Just test output...........
        write(6,1)
     +  Karmn(i__),SpType(i__),vsini(i__),Teffs(i__),loggs(i__),
     +  v_Fe_H_s(i__),v_V_H_s(i__),e__V_H_s(i__),Teffm(i__),
     +  loggm(i__),v_Fe_H_m(i__),v_V_H_m(i__),e__V_H_m(i__),Disk(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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