Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/414/1227 into FORTRAN code for reading data files line by line.
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/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 ! Miles identification integer*4 CaT ! ? Identification number in the CaT library * (Cenarro et al. 2002MNRAS.329..863C) character*13 Name ! Star name integer*4 Teff ! (K) Effective temperature real*4 logg ! ([cm/s2]) Surface gravity real*4 v_Fe_H_ ! ([Sun]) Metallicity real*4 v_Mg_Fe_ ! ([Sun]) Abundance [Mg/Fe] real*4 e__Mg_Fe_ ! ([Sun]) rms uncertainty on [Mg/Fe] character*2 src ! [HR mr] high/mid-resolution origin (G2) character*9 Ref ! 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 ! Miles identification integer*4 CaT_1 ! ? Identification number if the CaT * library (Cenarro et al. 2002MNRAS.329..863C) character*8 Cluster ! Cluster name character*8 Type ! [open globular] Type of cluster character*16 Name_1 ! Star name integer*4 Teff_1 ! (K) Effective temperature real*4 logg_1 ! ([cm/s2]) Surface gravity real*4 v_Fe_H__1 ! ([Sun]) Metallicity real*4 v_Mg_Fe__1 ! ([Sun]) Abundance [Mg/Fe] real*4 e__Mg_Fe__1 ! ([Sun]) rms uncertainty on [Mg/Fe] character*2 src_1 ! [HR mr] high/mid-resolution origin (G2) character*8 Ref_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,CaT,Name,Teff,logg,v_Fe_H_,v_Mg_Fe_,e__Mg_Fe_,src,Ref if(ar__(9:11) .EQ. '') CaT = iNULL__ c ..............Just test output........... write(6,1) + Miles,CaT,Name,Teff,logg,v_Fe_H_,v_Mg_Fe_,e__Mg_Fe_,src,Ref 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,CaT_1,Cluster,Type,Name_1,Teff_1,logg_1,v_Fe_H__1, + v_Mg_Fe__1,e__Mg_Fe__1,src_1,Ref_1 if(ar__1(9:11) .EQ. '') CaT_1 = iNULL__ c ..............Just test output........... write(6,2) + Miles_1,CaT_1,Cluster,Type,Name_1,Teff_1,logg_1,v_Fe_H__1, + v_Mg_Fe__1,e__Mg_Fe__1,src_1,Ref_1 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end