FORTRAN Generation
(/./ftp/cats/J/A_A/216/44)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/216/44 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-Mar-29
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/216/44        Walraven photometry in Sco-Cen association  (De Geus+, 1989)
*================================================================================
*Physical parameters of stars in the Scorpio-Centaurus OB association.
*    De Geus E.J., De Zeeuw P.T., Lub J.
*   <Astron. Astrophys., 216, 44-61 (1989)>
*   =1989A&A...216...44D
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3a.dat'	! Physical parameters of stars in lower Cen-Cru

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

C  Position composed of: Glon Glat
      integer*4     HD         (nr__) ! HD number of the star
      real*8        Glon       (nr__) ! (deg) Galactic longitude
      real*8        Glat       (nr__) ! (deg) Galactic latitude
      real*8        v_B_U_     (nr__) ! (mag) Reddenning-free parameter (B-U)-0.61(V-B) (1)
      real*8        v_U_W_     (nr__) ! (mag) Reddenning-free parameter (U-W)-0.45(V-B) (1)
      real*8        v_B_L_     (nr__) ! (mag) Reddenning-free parameter (B-L)-0.39(V-B) (1)
      real*4        logTe      (nr__) ! ([K]) Effective temperature (from photometry)
      real*4        logg       (nr__) ! ([cm/s2]) Gravity (from photometry)
      real*4        logL       (nr__) ! ([Lsun]) Luminosity (in solar units)
      real*4        mv         (nr__) ! (mag) Johnson V magnitude (estimated {sigma}=0.015)
      real*4        Mv_1       (nr__) ! (mag) Absolute magnitude
      real*4        Av         (nr__) ! (mag) Absorption (assuming R=3.2)
      real*4        DM         (nr__) ! (mag) Distance modulus DM = mv-MV+Av+5
*                                (estimated {sigma}=0.3)
      integer*4     Dist       (nr__) ! (pc) Heliocentric distance
      character*1   Mmb        (nr__) ! [Mm] Membership: M=member from proper motion,
*                                m=member from photometry, blank=non-member (2)
      character*11  SpType     (nr__) ! MK spectral type
*Note (1): Walraven filter characteristics (nm):
*   -----------------------
*       eff.l width  cal(*)
*   -----------------------
*   V   544.1  70.8 -11.172
*   B   429.8  42.3 -10.910
*   L   383.7  22.1 -10.818
*   U   362.3  23.2 -10.793
*   W   323.5  15.7 -10.673
*   -----------------------
*   (*) calibration in log(erg/s/cm^2^/{AA})
*Note (2): the proper motion membership from Blaauw (PhD, 1946) and Bertiau
*     (1958ApJ...128..533B)

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

C  Declarations for 'table3b.dat'	! Physical parameters of stars in upper Cen-Lup

      integer*4 nr__1
      parameter (nr__1=141)	! Number of records
      character*102 ar__1  	! Full-size record

C  Position composed of: Glon Glat
      integer*4     HD_1       (nr__1) ! HD number of the star
      real*8        Glon_1     (nr__1) ! (deg) Galactic longitude
      real*8        Glat_1     (nr__1) ! (deg) Galactic latitude
      real*8        v_B_U__1   (nr__1) ! (mag) Reddenning-free parameter (B-U)-0.61(V-B) (1)
      real*8        v_U_W__1   (nr__1) ! (mag) Reddenning-free parameter (U-W)-0.45(V-B) (1)
      real*8        v_B_L__1   (nr__1) ! (mag) Reddenning-free parameter (B-L)-0.39(V-B) (1)
      real*4        logTe_1    (nr__1) ! ([K]) Effective temperature (from photometry)
      real*4        logg_1     (nr__1) ! ([cm/s2]) Gravity (from photometry)
      real*4        logL_1     (nr__1) ! ([Lsun]) Luminosity (in solar units)
      real*4        mv_2       (nr__1) ! (mag) Johnson V magnitude (estimated {sigma}=0.015)
      real*4        Mv_3       (nr__1) ! (mag) Absolute magnitude
      real*4        Av_1       (nr__1) ! (mag) Absorption (assuming R=3.2)
      real*4        DM_1       (nr__1) ! (mag) Distance modulus DM = mv-MV+Av+5
*                                (estimated {sigma}=0.3)
      integer*4     Dist_1     (nr__1) ! (pc) Heliocentric distance
      character*1   Mmb_1      (nr__1) ! [Mm] Membership: M=member from proper motion,
*                                m=member from photometry, blank=non-member (2)
      character*11  SpType_1   (nr__1) ! MK spectral type
*Note (1): Walraven filter characteristics (nm):
*   -----------------------
*       eff.l width  cal(*)
*   -----------------------
*   V   544.1  70.8 -11.172
*   B   429.8  42.3 -10.910
*   L   383.7  22.1 -10.818
*   U   362.3  23.2 -10.793
*   W   323.5  15.7 -10.673
*   -----------------------
*   (*) calibration in log(erg/s/cm^2^/{AA})
*Note (2): the proper motion membership from Blaauw (PhD, 1946) and Bertiau
*     (1958ApJ...128..533B)

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

C  Declarations for 'table3c.dat'	! Physical parameters of stars in upper Sco

      integer*4 nr__2
      parameter (nr__2=100)	! Number of records
      character*102 ar__2  	! Full-size record

C  Position composed of: Glon Glat
      integer*4     HD_2       (nr__2) ! HD number of the star
      real*8        Glon_2     (nr__2) ! (deg) Galactic longitude
      real*8        Glat_2     (nr__2) ! (deg) Galactic latitude
      real*8        v_B_U__2   (nr__2) ! (mag) Reddenning-free parameter (B-U)-0.61(V-B) (1)
      real*8        v_U_W__2   (nr__2) ! (mag) Reddenning-free parameter (U-W)-0.45(V-B) (1)
      real*8        v_B_L__2   (nr__2) ! (mag) Reddenning-free parameter (B-L)-0.39(V-B) (1)
      real*4        logTe_2    (nr__2) ! ([K]) Effective temperature (from photometry)
      real*4        logg_2     (nr__2) ! ([cm/s2]) Gravity (from photometry)
      real*4        logL_2     (nr__2) ! ([Lsun]) Luminosity (in solar units)
      real*4        mv_4       (nr__2) ! (mag) Johnson V magnitude (estimated {sigma}=0.015)
      real*4        Mv_5       (nr__2) ! (mag) Absolute magnitude
      real*4        Av_2       (nr__2) ! (mag) Absorption (assuming R=3.2)
      real*4        DM_2       (nr__2) ! (mag) Distance modulus DM = mv-MV+Av+5
*                                (estimated {sigma}=0.3)
      integer*4     Dist_2     (nr__2) ! (pc) Heliocentric distance
      character*1   Mmb_2      (nr__2) ! [Mm] Membership: M=member from proper motion,
*                                m=member from photometry, blank=non-member (2)
      character*11  SpType_2   (nr__2) ! MK spectral type
*Note (1): Walraven filter characteristics (nm):
*   -----------------------
*       eff.l width  cal(*)
*   -----------------------
*   V   544.1  70.8 -11.172
*   B   429.8  42.3 -10.910
*   L   383.7  22.1 -10.818
*   U   362.3  23.2 -10.793
*   W   323.5  15.7 -10.673
*   -----------------------
*   (*) calibration in log(erg/s/cm^2^/{AA})
*Note (2): the proper motion membership from Blaauw (PhD, 1946) and Bertiau
*     (1958ApJ...128..533B)

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

C  Loading file 'table3a.dat'	! Physical parameters of stars in lower Cen-Cru

C  Format for file interpretation

    1 format(
     +  I6,1X,F7.3,1X,F7.3,2X,F7.4,1X,F7.4,1X,F7.4,1X,F4.2,1X,F4.2,1X,
     +  F3.1,1X,F5.2,1X,F4.1,1X,F5.2,1X,F4.1,1X,I4,1X,A1,1X,A11)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3a.dat')
      write(6,*) '....Loading file: table3a.dat'
      do i__=1,41
        read(1,'(A102)')ar__
        read(ar__,1)
     +  HD(i__),Glon(i__),Glat(i__),v_B_U_(i__),v_U_W_(i__),
     +  v_B_L_(i__),logTe(i__),logg(i__),logL(i__),mv(i__),Mv_1(i__),
     +  Av(i__),DM(i__),Dist(i__),Mmb(i__),SpType(i__)
c    ..............Just test output...........
        write(6,1)
     +  HD(i__),Glon(i__),Glat(i__),v_B_U_(i__),v_U_W_(i__),
     +  v_B_L_(i__),logTe(i__),logg(i__),logL(i__),mv(i__),Mv_1(i__),
     +  Av(i__),DM(i__),Dist(i__),Mmb(i__),SpType(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3b.dat'	! Physical parameters of stars in upper Cen-Lup

C  Format for file interpretation

    2 format(
     +  I6,1X,F7.3,1X,F7.3,2X,F7.4,1X,F7.4,1X,F7.4,1X,F4.2,1X,F4.2,1X,
     +  F3.1,1X,F5.2,1X,F4.1,1X,F5.2,1X,F4.1,1X,I4,1X,A1,1X,A11)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3b.dat')
      write(6,*) '....Loading file: table3b.dat'
      do i__=1,141
        read(1,'(A102)')ar__1
        read(ar__1,2)
     +  HD_1(i__),Glon_1(i__),Glat_1(i__),v_B_U__1(i__),v_U_W__1(i__),
     +  v_B_L__1(i__),logTe_1(i__),logg_1(i__),logL_1(i__),mv_2(i__),
     +  Mv_3(i__),Av_1(i__),DM_1(i__),Dist_1(i__),Mmb_1(i__),
     +  SpType_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  HD_1(i__),Glon_1(i__),Glat_1(i__),v_B_U__1(i__),v_U_W__1(i__),
     +  v_B_L__1(i__),logTe_1(i__),logg_1(i__),logL_1(i__),mv_2(i__),
     +  Mv_3(i__),Av_1(i__),DM_1(i__),Dist_1(i__),Mmb_1(i__),
     +  SpType_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3c.dat'	! Physical parameters of stars in upper Sco

C  Format for file interpretation

    3 format(
     +  I6,1X,F7.3,1X,F7.3,2X,F7.4,1X,F7.4,1X,F7.4,1X,F4.2,1X,F4.2,1X,
     +  F3.1,1X,F5.2,1X,F4.1,1X,F5.2,1X,F4.1,1X,I4,1X,A1,1X,A11)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3c.dat')
      write(6,*) '....Loading file: table3c.dat'
      do i__=1,100
        read(1,'(A102)')ar__2
        read(ar__2,3)
     +  HD_2(i__),Glon_2(i__),Glat_2(i__),v_B_U__2(i__),v_U_W__2(i__),
     +  v_B_L__2(i__),logTe_2(i__),logg_2(i__),logL_2(i__),mv_4(i__),
     +  Mv_5(i__),Av_2(i__),DM_2(i__),Dist_2(i__),Mmb_2(i__),
     +  SpType_2(i__)
c    ..............Just test output...........
        write(6,3)
     +  HD_2(i__),Glon_2(i__),Glat_2(i__),v_B_U__2(i__),v_U_W__2(i__),
     +  v_B_L__2(i__),logTe_2(i__),logg_2(i__),logL_2(i__),mv_4(i__),
     +  Mv_5(i__),Av_2(i__),DM_2(i__),Dist_2(i__),Mmb_2(i__),
     +  SpType_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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