Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/106/493 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-20 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/AJ/106/493 Globular clusters in M87 (Lee+, 1993) *================================================================================ *Metal abundances for a large sample of globular clusters in M87 * LEE M.G., GEISLER D. * <Astron. J. 106, 493 (1993)> * =1993AJ....106..493L (SIMBAD/NED Reference) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3' ! M87 globular cluster candidates with T1 < 21 integer*4 nr__ parameter (nr__=144) ! Number of records character*68 ar__ ! Full-size record character*2 Field ! Field designator: * N1 = North, E1 = East-1, E2 = East-2, * W1 = West, and C = Center. integer*4 ID ! Running number (finding charts are given in * Plates 15-19 in the printed paper. real*4 X ! (pix) X coordinate of object real*4 Y ! (pix) Y coordinate of object real*4 T1 ! (mag) T1 magnitude (Washington system) real*4 e_T1 ! (mag) rms uncertainty on T1 real*4 M_T1 ! (mag) M-T1 color (Washington system) real*4 e_M_T1 ! (mag) rms uncertainty on M-T1 real*4 C_T1 ! (mag) C-T1 color (Washington system) real*4 e_C_T1 ! (mag) rms uncertainty on C-T1 real*4 v_Fe_H_ ! Derived metal abundance, [Fe/H] real*4 RG ! (arcsec) Projected galactocentric distance C============================================================================= C Loading file 'table3' ! M87 globular cluster candidates with T1 < 21 C Format for file interpretation 1 format( + A2,1X,I3,2X,F5.1,2X,F5.1,2X,F5.2,1X,F4.2,2X,F4.2,1X,F4.2,2X, + F4.2,1X,F4.2,2X,F5.2,2X,F5.1) C Effective file loading open(unit=1,status='old',file= +'table3') write(6,*) '....Loading file: table3' do i__=1,144 read(1,'(A68)')ar__ read(ar__,1) + Field,ID,X,Y,T1,e_T1,M_T1,e_M_T1,C_T1,e_C_T1,v_Fe_H_,RG c ..............Just test output........... write(6,1) + Field,ID,X,Y,T1,e_T1,M_T1,e_M_T1,C_T1,e_C_T1,v_Fe_H_,RG c .......End.of.Just test output........... end do close(1) C============================================================================= stop end