Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/321/L9 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-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/321/L9 Barium stars in the HR diagram (Bergeat+ 1997) *================================================================================ *The Barium stars in the Hertzsprung-Russell diagram * Bergeat J., Knapik A. * <Astron. Astrophys. 321, L9 (1997)> * =1997A&A...321...L9B (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1' ! The data for 37 Ba stars integer*4 nr__ parameter (nr__=37) ! Number of records character*40 ar__ ! Full-size record character*6 HD (nr__) ! Henry Draper Catalogue (Cat. <III/135>) or * Lu (1991, Cat. <V/81>) entry character*4 G (nr__) ! Spectral group (see Sect. 2 of paper) real*4 E_B_V (nr__) ! (mag) Colour excess of interstellar extinction real*4 Mvl (nr__) ! (mag) Lower estimate of Mv real*4 Mv (nr__) ! (mag) Absolute visual magnitude (1) real*4 Mvu (nr__) ! (mag) Upper estimate of Mv character*5 LumClass (nr__) ! Proposed luminosity class (2) *Note (1): Absolute visual magnitude between the lower and upper estimates * as derived in Sect. 3 *Note (2): Proposed luminosity class (Sect. 4). * III = IIIab * II- : possibly IIIa * IIIa- : possibly III * IIIb- : possibly IVa * IVb- : possibly Va c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2' ! The data for 15 Ba stars integer*4 nr__1 parameter (nr__1=15) ! Number of records character*40 ar__1 ! Full-size record character*6 HD_1 (nr__1) ! Henry Draper Catalogue (Cat. <III/135>) or * Lu (1991, Cat. <V/81>) entry character*4 G_1 (nr__1) ! Spectral group (see Sect. 2 of paper) real*4 E_B_V_1 (nr__1) ! (mag) Colour excess of interstellar extinction real*4 Mvl_1 (nr__1) ! (mag) Lower estimate of Mv real*4 Mv_1 (nr__1) ! (mag) Absolute visual magnitude (1) real*4 Mvu_1 (nr__1) ! (mag) Upper estimate of Mv character*5 LumClass_1 (nr__1) ! Proposed luminosity class (2) *Note (1): Absolute visual magnitude between the lower and upper estimates * as derived in Sect. 3 *Note (2): Proposed luminosity class (Sect. 4). * III = IIIab * II- : possibly IIIa * IIIa- : possibly III * IIIb- : possibly IVa * IVb- : possibly Va C============================================================================= C Loading file 'table1' ! The data for 37 Ba stars C Format for file interpretation 1 format(A6,1X,A4,1X,F4.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,A5) C Effective file loading open(unit=1,status='old',file= +'table1') write(6,*) '....Loading file: table1' do i__=1,37 read(1,'(A40)')ar__ read(ar__,1) + HD(i__),G(i__),E_B_V(i__),Mvl(i__),Mv(i__),Mvu(i__), + LumClass(i__) c ..............Just test output........... write(6,1) + HD(i__),G(i__),E_B_V(i__),Mvl(i__),Mv(i__),Mvu(i__), + LumClass(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2' ! The data for 15 Ba stars C Format for file interpretation 2 format(A6,1X,A4,1X,F4.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,A5) C Effective file loading open(unit=1,status='old',file= +'table2') write(6,*) '....Loading file: table2' do i__=1,15 read(1,'(A40)')ar__1 read(ar__1,2) + HD_1(i__),G_1(i__),E_B_V_1(i__),Mvl_1(i__),Mv_1(i__), + Mvu_1(i__),LumClass_1(i__) c ..............Just test output........... write(6,2) + HD_1(i__),G_1(i__),E_B_V_1(i__),Mvl_1(i__),Mv_1(i__), + Mvu_1(i__),LumClass_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end