Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/124/3255 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/3255 UBV photometry in M15 (van der Marel+, 2002) *================================================================================ *Hubble Space Telescope evidence for an intermediate-mass black hole in the *globular cluster M15. *I. STIS spectroscopy and WFPC2 photometry. * van der Marel R.P., Gerssen J., Guhathakurta P., Peterson R.C., Gebhardt K. * <Astron. J. 124, 3255 (2002)> * =2002AJ....124.3255V C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! HST/WFPC2 Photometric Catalog of M15 integer*4 nr__ parameter (nr__=31983) ! Number of records character*44 ar__ ! Full-size record integer*4 VGG ! ID number of the star, Cl* NGC 7078 VGG NNNNN real*8 dRA ! (arcsec) Right ascension relative to cluster center (1) real*8 dDE ! (arcsec) Declination relative to cluster center (1) real*4 Vmag ! (mag) Johnson V-band magnitude real*4 Bmag ! (mag) Johnson B-band magnitude real*4 Umag ! (mag) Johnson U-band magnitude *Note (1): The M15 cluster center is adopted from the pixel position * calculated by Guhathakurta, Yanny, Schneider & Bahcall * (1996AJ....111..267G) (which has an estimated 1{sigma} * uncertainty of 0.2" in each coordinate). North is to the * top, and east to the left. * * The center coordinates, relative to the bright reference star AC 211, * are dRA=0.36"+/-0.2", dDE=-1.97"+/-0.2", and AC 211 is at J2000: * 21:29:58.29+12:10:02.9 (J2000) C============================================================================= C Loading file 'table1.dat' ! HST/WFPC2 Photometric Catalog of M15 C Format for file interpretation 1 format(I5,1X,F8.3,1X,F8.3,1X,F6.3,1X,F6.3,1X,F6.3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,31983 read(1,'(A44)')ar__ read(ar__,1)VGG,dRA,dDE,Vmag,Bmag,Umag c ..............Just test output........... write(6,1)VGG,dRA,dDE,Vmag,Bmag,Umag c .......End.of.Just test output........... end do close(1) C============================================================================= stop end