Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/303/468 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/A+A/303/468 Spectrospcopy, IR-photom. in globular clusters (Minniti, 1995) *================================================================================ *Spectroscopy and IR photometry for giant stars in obscured globular clusters: *NGC 6325, NGC 6401, NGC 6517, NGC 6642, HP 1 and Pal 6. * Minniti D. * <Astron. Astrophys. 303, 468 (1995)> * =1995A&A...303..468M (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3' ! Colors, velocities and spectral indices integer*4 nr__ parameter (nr__=84) ! Number of records character*90 ar__ ! Full-size record character*5 Cluster ! Cluster name character*3 Star ! Star name real*4 J_K ! (mag) ? Measured J-K colour real*4 RV ! (km/s) ? Measured heliocentric radial velocity real*4 Mg ! Mg spectroscopic index (1) real*4 Hbeta ! Hbeta spectroscopic index (1) real*4 Fe492 ! Fe492 spectroscopic index (1) real*4 Fe498 ! Fe498 spectroscopic index (1) real*4 Fe501 ! Fe501 spectroscopic index (1) real*4 Fe527 ! Fe527 spectroscopic index (1) real*4 Fe533 ! Fe533 spectroscopic index (1) real*4 Fe540 ! Fe540 spectroscopic index (1) real*4 Mg1 ! Mg1 spectroscopic index (1) real*4 Mg2 ! Mg2 spectroscopic index (1) real*4 Mgb ! Mgb spectroscopic index (1) real*4 MgH ! MgH spectroscopic index (1) *Note (1): The definition of the indices are in Friel E.D., 1987, AJ 93, 1388 * =1987AJ.....93.1388F C============================================================================= C Loading file 'table3' ! Colors, velocities and spectral indices C Format for file interpretation 1 format( + A5,2X,A3,2X,F4.2,1X,F6.1,1X,F4.2,4X,F4.2,1X,F4.2,1X,F4.2,2X, + F4.2,2X,F4.2,2X,F4.2,2X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table3') write(6,*) '....Loading file: table3' do i__=1,84 read(1,'(A90)')ar__ read(ar__,1) + Cluster,Star,J_K,RV,Mg,Hbeta,Fe492,Fe498,Fe501,Fe527,Fe533, + Fe540,Mg1,Mg2,Mgb,MgH if(ar__(13:16) .EQ. '') J_K = rNULL__ if(ar__(18:23) .EQ. '') RV = rNULL__ c ..............Just test output........... write(6,1) + Cluster,Star,J_K,RV,Mg,Hbeta,Fe492,Fe498,Fe501,Fe527,Fe533, + Fe540,Mg1,Mg2,Mgb,MgH c .......End.of.Just test output........... end do close(1) C============================================================================= stop end