Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/601/A10 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-19 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/601/A10 A grid of MARCS model atmospheres for S stars (Van Eck+, 2017) *================================================================================ *A grid of MARCS model atmospheres for late-type stars *II. S stars and their properties. * Van Eck S., Neyskens P., Jorissen A., Plez B., Edvardsson B., Eriksson K., * Gustafsson B., Jorgensen U.G., Nordlund A. * <Astron. Astrophys. 601, A10 (2017)> * =2017A&A...601A..10V (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Boundaries of the continuum and band windows used in the computation of the band indices integer*4 nr__ parameter (nr__=12) ! Number of records character*27 ar__ ! Full-size record character*3 Band (nr__) ! Band main contributor real*4 LBi (nr__) ! (nm) Initial wavelength of the band interval (1) real*4 LBf (nr__) ! (nm) Final wavelength band interval (1) real*4 LCi (nr__) ! (nm) Initial wavelength of the continuum interval(1) real*4 LCf (nr__) ! (nm) Final wavelength of the continuum interval (1) *Note (1): This paper, Equation (1). c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Geneva and Johnson photometric indices and band indices for observed Henize S stars integer*4 nr__1 parameter (nr__1=135) ! Number of records character*100 ar__1 ! Full-size record character*9 Hen4_ (nr__1) ! Hen 4-NNN: S stars from an unpublished list * of Henize (1) real*4 Vmag0 (nr__1) ! (mag) Dereddened Geneva V magnitude (2) real*4 AV (nr__1) ! (mag) ? Total extinction at the V filter real*4 v_U_B_0 (nr__1) ! (mag) Dereddened Geneva (U-B) color index (2) real*4 v_B_V_0 (nr__1) ! (mag) Dereddened Geneva (B-V) color index (2) real*4 v_V_K_0 (nr__1) ! (mag) ? Dereddened (V-K) color index (2) real*4 v_J_K_0 (nr__1) ! (mag) ? Dereddened (J-K) color index (2) real*4 v_H_K_0 (nr__1) ! (mag) ? Dereddened (H-K) color index (2) real*4 v_K_L_0 (nr__1) ! (mag) ? Dereddened (K-L) color index (2) real*4 v_U_B1_0 (nr__1) ! (mag) Dereddened Geneva (U-B_1) color index (2) real*4 v_B2_V1_0 (nr__1) ! (mag) Dereddened Geneva (B_2-V_1) color index (2) real*4 BTiO (nr__1) ! Titanium oxyde band strength index (2) real*4 BZrO (nr__1) ! Zirconium oxyde band strength index (2) real*4 BNa (nr__1) ! Sodium lines band strength index (2) *Note (1): Description in 1960AJ......65..491H. N=166 among (Nos 1-236), * cross-id. with CSS in 1984PW&SO...3....1S. * (Nos 1-205), cross-id. with CSS in 2000A&AS..145...51V. *Note (2): This paper, for references and formulae. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Geneva and Johnson photometric indices and band indices computed on the grid of synthetic spectra of S stars integer*4 nr__2 parameter (nr__2=3523) ! Number of records character*165 ar__2 ! Full-size record integer*4 Teff (nr__2) ! (K) Effective temperature real*4 logg (nr__2) ! ([cm/s2]) Logarithm (base 10) surface gravity (cgs) real*4 v_Fe_H_ (nr__2) ! ([Sun]) Metallicity (1) real*4 v_C_Fe_ (nr__2) ! ([Sun]) Abundance ratio [C/Fe] (1) real*4 C_O (nr__2) ! Carbon to oxygen abundance ratio real*4 v_s_Fe_ (nr__2) ! ([Sun]) Abundance ratio [s/Fe] (1)(2) real*4 U_B (nr__2) ! (mag) (U-B) color index real*4 B_V (nr__2) ! (mag) (B-V) color index real*4 V_R (nr__2) ! (mag) (V-R) color index real*4 R_I (nr__2) ! (mag) (R-I) color index real*4 V_K (nr__2) ! (mag) (V-K) color index real*4 J_K (nr__2) ! (mag) (J-K) color index real*4 H_K (nr__2) ! (mag) (H-K) color index real*4 K_L (nr__2) ! (mag) (K-L) color index real*4 BV_V (nr__2) ! (mag) Bolometric correction in the V band real*4 BV_K (nr__2) ! (mag) Bolometric correction in the K band real*4 U_B1 (nr__2) ! (mag) (U-B_1) color index (Geneva) real*4 B2_V1 (nr__2) ! (mag) (B_2-V_1) color index (Geneva) real*4 BTiO_1 (nr__2) ! Titanium oxyde band strength index (2) real*4 BZrO_1 (nr__2) ! Zirconium oxyde band strength index (2) real*4 BNa_1 (nr__2) ! Sodium lines band strength index (2) *Note (1): Log scale, H=12, normalised to the Sun *Note (2): [s/Fe] is a global s-process enrichment weighted for each element by * its fractionnal s-process abundance (Kappeler et al., 1989RPPh...52..945K, * Arlandini et al., 1999ApJ...525..886A, Grevesse & Sauval, 1998SSRv...85..161G). C============================================================================= C Loading file 'table1.dat' ! Boundaries of the continuum and band windows * used in the computation of the band indices C Format for file interpretation 1 format(A3,1X,F5.1,1X,F5.1,1X,F5.1,1X,F5.1) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,12 read(1,'(A27)')ar__ read(ar__,1)Band(i__),LBi(i__),LBf(i__),LCi(i__),LCf(i__) c ..............Just test output........... write(6,1)Band(i__),LBi(i__),LBf(i__),LCi(i__),LCf(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Geneva and Johnson photometric indices and band * indices for observed Henize S stars C Format for file interpretation 2 format( + A9,2X,F5.2,2X,F5.2,2X,F5.2,2X,F5.2,2X,F5.2,2X,F5.2,2X,F5.2,2X, + F5.2,2X,F5.2,2X,F5.2,2X,F5.2,2X,F5.2,2X,F5.2) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,135 read(1,'(A100)')ar__1 read(ar__1,2) + Hen4_(i__),Vmag0(i__),AV(i__),v_U_B_0(i__),v_B_V_0(i__), + v_V_K_0(i__),v_J_K_0(i__),v_H_K_0(i__),v_K_L_0(i__), + v_U_B1_0(i__),v_B2_V1_0(i__),BTiO(i__),BZrO(i__),BNa(i__) if(ar__1(19:23) .EQ. '') AV(i__) = rNULL__ if(ar__1(40:44) .EQ. '') v_V_K_0(i__) = rNULL__ if(ar__1(47:51) .EQ. '') v_J_K_0(i__) = rNULL__ if(ar__1(54:58) .EQ. '') v_H_K_0(i__) = rNULL__ if(ar__1(61:65) .EQ. '') v_K_L_0(i__) = rNULL__ c ..............Just test output........... write(6,2) + Hen4_(i__),Vmag0(i__),AV(i__),v_U_B_0(i__),v_B_V_0(i__), + v_V_K_0(i__),v_J_K_0(i__),v_H_K_0(i__),v_K_L_0(i__), + v_U_B1_0(i__),v_B2_V1_0(i__),BTiO(i__),BZrO(i__),BNa(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Geneva and Johnson photometric indices and band * indices computed on the grid of synthetic * spectra of S stars C Format for file interpretation 3 format( + I4,1X,F4.2,2X,F5.2,1X,F6.3,3X,F4.2,3X,F4.2,5X,F6.2,2X,F6.2,2X, + F6.2,2X,F6.2,2X,F6.2,2X,F6.2,3X,F6.2,2X,F6.2,2X,F6.2,4X,F6.2, + 2X,F6.2,2X,F6.2,5X,F5.2,3X,F5.2,3X,F5.2) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,3523 read(1,'(A165)')ar__2 read(ar__2,3) + Teff(i__),logg(i__),v_Fe_H_(i__),v_C_Fe_(i__),C_O(i__), + v_s_Fe_(i__),U_B(i__),B_V(i__),V_R(i__),R_I(i__),V_K(i__), + J_K(i__),H_K(i__),K_L(i__),BV_V(i__),BV_K(i__),U_B1(i__), + B2_V1(i__),BTiO_1(i__),BZrO_1(i__),BNa_1(i__) c ..............Just test output........... write(6,3) + Teff(i__),logg(i__),v_Fe_H_(i__),v_C_Fe_(i__),C_O(i__), + v_s_Fe_(i__),U_B(i__),B_V(i__),V_R(i__),R_I(i__),V_K(i__), + J_K(i__),H_K(i__),K_L(i__),BV_V(i__),BV_K(i__),U_B1(i__), + B2_V1(i__),BTiO_1(i__),BZrO_1(i__),BNa_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end