Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/414/1227 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/MNRAS/414/1227 Mg/Fe ratio of MILES stars (Milone+, 2011) *================================================================================ *Element abundances in the stars of the MILES spectral library: the Mg/Fe ratio. * Milone A.DE C., Sansom A.E., Sanchez-Blazquez P. * <Mon. Not. R. Astron. Soc., 414, 1227-1252 (2011)> * =2011MNRAS.414.1227M C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! The MILES [Mg/Fe] catalogue for field stars integer*4 nr__ parameter (nr__=687) ! Number of records character*84 ar__ ! Full-size record character*5 Miles (nr__) ! Miles identification integer*4 CaT (nr__) ! ? Identification number in the CaT library * (Cenarro et al. 2002MNRAS.329..863C) character*13 Name (nr__) ! Star name integer*4 Teff (nr__) ! (K) Effective temperature real*4 logg (nr__) ! ([cm/s2]) Surface gravity real*4 v_Fe_H_ (nr__) ! ([Sun]) Metallicity real*4 v_Mg_Fe_ (nr__) ! ([Sun]) Abundance [Mg/Fe] real*4 e__Mg_Fe_ (nr__) ! ([Sun]) rms uncertainty on [Mg/Fe] character*2 src (nr__) ! [HR mr] high/mid-resolution origin (G2) character*9 Ref (nr__) ! Reference (G1) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5.dat' ! The MILES [Mg/Fe] catalogue for star cluster stars integer*4 nr__1 parameter (nr__1=65) ! Number of records character*105 ar__1 ! Full-size record character*5 Miles_1 (nr__1) ! Miles identification integer*4 CaT_1 (nr__1) ! ? Identification number if the CaT * library (Cenarro et al. 2002MNRAS.329..863C) character*8 Cluster (nr__1) ! Cluster name character*8 Type (nr__1) ! [open globular] Type of cluster character*16 Name_1 (nr__1) ! Star name integer*4 Teff_1 (nr__1) ! (K) Effective temperature real*4 logg_1 (nr__1) ! ([cm/s2]) Surface gravity real*4 v_Fe_H__1 (nr__1) ! ([Sun]) Metallicity real*4 v_Mg_Fe__1 (nr__1) ! ([Sun]) Abundance [Mg/Fe] real*4 e__Mg_Fe__1(nr__1) ! ([Sun]) rms uncertainty on [Mg/Fe] character*2 src_1 (nr__1) ! [HR mr] high/mid-resolution origin (G2) character*8 Ref_1 (nr__1) ! Reference (G1) C============================================================================= C Loading file 'table4.dat' ! The MILES [Mg/Fe] catalogue for field stars C Format for file interpretation 1 format( + A5,3X,I3,3X,A13,6X,I5,3X,F5.2,3X,F5.2,3X,F5.2,3X,F4.2,3X,A2, + 1X,A9) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,687 read(1,'(A84)')ar__ read(ar__,1) + Miles(i__),CaT(i__),Name(i__),Teff(i__),logg(i__), + v_Fe_H_(i__),v_Mg_Fe_(i__),e__Mg_Fe_(i__),src(i__),Ref(i__) if(ar__(9:11) .EQ. '') CaT(i__) = iNULL__ c ..............Just test output........... write(6,1) + Miles(i__),CaT(i__),Name(i__),Teff(i__),logg(i__), + v_Fe_H_(i__),v_Mg_Fe_(i__),e__Mg_Fe_(i__),src(i__),Ref(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table5.dat' ! The MILES [Mg/Fe] catalogue for star cluster stars C Format for file interpretation 2 format( + A5,3X,I3,3X,A8,3X,A8,3X,A16,3X,I5,3X,F5.2,3X,F5.2,3X,F5.2,3X, + F4.2,3X,A2,1X,A8) C Effective file loading open(unit=1,status='old',file= +'table5.dat') write(6,*) '....Loading file: table5.dat' do i__=1,65 read(1,'(A105)')ar__1 read(ar__1,2) + Miles_1(i__),CaT_1(i__),Cluster(i__),Type(i__),Name_1(i__), + Teff_1(i__),logg_1(i__),v_Fe_H__1(i__),v_Mg_Fe__1(i__), + e__Mg_Fe__1(i__),src_1(i__),Ref_1(i__) if(ar__1(9:11) .EQ. '') CaT_1(i__) = iNULL__ c ..............Just test output........... write(6,2) + Miles_1(i__),CaT_1(i__),Cluster(i__),Type(i__),Name_1(i__), + Teff_1(i__),logg_1(i__),v_Fe_H__1(i__),v_Mg_Fe__1(i__), + e__Mg_Fe__1(i__),src_1(i__),Ref_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end