Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/512/48 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/ApJ/512/48 VI photometry of new Cepheids in NGC 4725 (Gibson+, 1999) *================================================================================ *The Hubble Space Telescope key project on the extragalactic distance scale. *XVII. The Cepheid distance to NGC 4725 * Gibson B.K., Hughes S.M.G., Stetson P.B., Freedman W.L., Kennicutt R.C.Jr, * Mould J.R., Bresolin F., Ferrarese L., Ford H.C., Graham J.A., Han M., * Harding P., Hoessel J.G., Huchra J.P., Illingworth G.D., Kelson D.D., * Macri L.M., Madore B. F., Phelps R.L., Prosser C.F., Saha A., Sakai S., * Sebo K.M., Silbermann N.A., Turner A.M. * <Astrophys. J. 512, 48 (1999)> * =1999ApJ...512...48G C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! Cepheid candidates detected in NGC 4725 integer*4 nr__ parameter (nr__=20) ! Number of records character*43 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension J2000 real*8 DEdeg ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*3 Ceph ! Cepheid identification number integer*4 Chip ! WFPC chip cepheid is located on (1 is the * PC chip) real*4 XPix ! The x pixel coordinate real*4 YPix ! The y pixel coordinate integer*4 RAh ! (h) Right Ascension (J2000) integer*4 RAm ! (min) Right Ascension (J2000) real*4 RAs ! (s) Right Ascension (J2000) integer*4 DEd ! (deg) Declination (J2000) integer*4 DEm ! (arcmin) Declination (J2000) real*4 DEs ! (arcsec) Declination (J2000) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5.dat' ! Detected Cepheid candidates's properties integer*4 nr__1 parameter (nr__1=20) ! Number of records character*111 ar__1 ! Full-size record character*3 Ceph_1 ! Cepheid identification number real*4 Per ! (d) Cepheid period from ALLFRAME real*4 e_Per ! (d) Uncertainty in Per real*4 Vmag ! (mag) V band magnitude from ALLFRAME real*4 e_Vmag ! (mag) Uncertainty in Vmag real*4 Imag ! (mag) I band magnitude from ALLFRAME real*4 e_Imag ! (mag) Uncertainty in Imag real*4 DPer ! (d) Cepheid period from DoPHOT real*4 DVmag ! (mag) V band magnitude from DoPHOT real*4 e_DVmag ! (mag) Uncertainty in DVmag real*4 DImag ! (mag) I band magnitude from DoPHOT real*4 e_DImag ! (mag) Uncertainty in Imag character*40 Com ! Comments on Cepheids canidates c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table6a.dat' ! V band magnitudes and errors integer*4 nr__2 parameter (nr__2=540) ! Number of records character*32 ar__2 ! Full-size record character*3 Ceph_2 ! Cepheid identification number real*8 JD ! (d) Julian date of observation (JD-2440000.000) character*1 Filt ! Filter used in observation real*4 Vmag_1 ! (mag) Observed magnitude in the Filt band real*4 e_Vmag_1 ! (mag) Uncertainty in Vmag c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table6b.dat' ! I band magnitudes and errors integer*4 nr__3 parameter (nr__3=181) ! Number of records character*35 ar__3 ! Full-size record character*3 Ceph_3 ! Cepheid identification number real*8 JD_1 ! (d) Julian date of observation (JD-2440000.000) character*1 Filt_1 ! Filter used in observation real*4 Imag_1 ! (mag) ? Observed magnitude in the Filt band real*4 e_Imag_1 ! (mag) ? Uncertainty in Imag C============================================================================= C Loading file 'table4.dat' ! Cepheid candidates detected in NGC 4725 C Format for file interpretation 1 format( + A3,4X,I1,1X,F5.1,1X,F5.1,1X,I2,1X,I2,1X,F5.2,1X,I2,1X,I2,1X, + F4.1) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,20 read(1,'(A43)')ar__ read(ar__,1)Ceph,Chip,XPix,YPix,RAh,RAm,RAs,DEd,DEm,DEs RAdeg = rNULL__ DEdeg = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh .GT. -180) RAdeg=RAh*15. if(RAm .GT. -180) RAdeg=RAdeg+RAm/4. if(RAs .GT. -180) RAdeg=RAdeg+RAs/240. if(DEd .GE. 0) DEdeg=DEd if(DEm .GE. 0) DEdeg=DEdeg+DEm/60. if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600. c ..............Just test output........... write(6,1)Ceph,Chip,XPix,YPix,RAh,RAm,RAs,DEd,DEm,DEs write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table5.dat' ! Detected Cepheid candidates's properties C Format for file interpretation 2 format( + A3,2X,F5.2,2X,F4.2,1X,F5.2,2X,F4.2,1X,F5.2,2X,F4.2,1X,F4.1,1X, + F5.2,2X,F4.2,1X,F5.2,2X,F4.2,2X,A40) C Effective file loading open(unit=1,status='old',file= +'table5.dat') write(6,*) '....Loading file: table5.dat' do i__=1,20 read(1,'(A111)')ar__1 read(ar__1,2) + Ceph_1,Per,e_Per,Vmag,e_Vmag,Imag,e_Imag,DPer,DVmag,e_DVmag, + DImag,e_DImag,Com c ..............Just test output........... write(6,2) + Ceph_1,Per,e_Per,Vmag,e_Vmag,Imag,e_Imag,DPer,DVmag,e_DVmag, + DImag,e_DImag,Com c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table6a.dat' ! V band magnitudes and errors C Format for file interpretation 3 format(A3,2X,F9.3,3X,A1,2X,F5.2,2X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table6a.dat') write(6,*) '....Loading file: table6a.dat' do i__=1,540 read(1,'(A32)')ar__2 read(ar__2,3)Ceph_2,JD,Filt,Vmag_1,e_Vmag_1 c ..............Just test output........... write(6,3)Ceph_2,JD,Filt,Vmag_1,e_Vmag_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table6b.dat' ! I band magnitudes and errors C Format for file interpretation 4 format(A3,2X,F9.3,3X,A1,2X,F5.2,2X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table6b.dat') write(6,*) '....Loading file: table6b.dat' do i__=1,181 read(1,'(A35)')ar__3 read(ar__3,4)Ceph_3,JD_1,Filt_1,Imag_1,e_Imag_1 if(ar__3(21:25) .EQ. '') Imag_1 = rNULL__ if(ar__3(28:31) .EQ. '') e_Imag_1 = rNULL__ c ..............Just test output........... write(6,4)Ceph_3,JD_1,Filt_1,Imag_1,e_Imag_1 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end