Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/124/915 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/AJ/124/915 VI photometry of NGC 5634 (Bellazzini+, 2002) *================================================================================ *The stellar population of NGC 5634: *a globular cluster in the Sagittarius dSph stream? * Bellazzini M., Ferraro F.R., Ibata R. * <Astron. J. 124, 915 (2002)> * =2002AJ....124..915B C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Photometry of NGC 5634 integer*4 nr__ parameter (nr__=2162) ! Number of records character*56 ar__ ! Full-size record integer*4 BFI ! Object identification number (1) real*4 Vmag ! (mag) The V-band magnitude real*4 e_Vmag ! (mag) The error on Vmag real*4 Imag ! (mag) The I-band magnitude real*4 e_Imag ! (mag) The error on Imag real*8 Xpix ! (pix) The X pixel coordinate (2) real*8 Ypix ! (pix) The Y pixel coordinate (2) integer*4 VNum ! The RR Lyrae variable number of Baade 1945 (3) *Note (1): The stars with identification number ID<10000 are from the * FC sample, those with ID>=10000 are from the Field NE catalog. * They are identified as Cl* NGC 5634 BFI NNNNN in Simbad *Note (2): Cluster center (l=342.21, b=+49.26) at (x, y) = (860, 920). * 1 pix = 0.275". *Note (3): A zero indicates that the object is not in Baade's * (1945ApJ...102...17B) list of variables. C============================================================================= C Loading file 'table1.dat' ! Photometry of NGC 5634 C Format for file interpretation 1 format(I5,2X,F6.3,2X,F5.3,2X,F6.3,2X,F5.3,2X,F7.2,2X,F7.2,2X,I1) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,2162 read(1,'(A56)')ar__ read(ar__,1)BFI,Vmag,e_Vmag,Imag,e_Imag,Xpix,Ypix,VNum c ..............Just test output........... write(6,1)BFI,Vmag,e_Vmag,Imag,e_Imag,Xpix,Ypix,VNum c .......End.of.Just test output........... end do close(1) C============================================================================= stop end