Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/140/1137 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/140/1137 UV, VIH photometry of NGC 1311 (Eskridge+, 2010) *================================================================================ *The young stellar population of the nearby late-type galaxy NGC 1311. * Eskridge P.B., Windhorst R.A., Mager V.A., Jansen R.A. * <Astron. J., 140, 1137-1149 (2010)> * =2010AJ....140.1137E C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Stellar photometry in NGC 1311 integer*4 nr__ parameter (nr__=4360) ! Number of records character*211 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension J2000 real*8 DEdeg ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 Seq ! Sequential star number, [EWM2010] NNNN in Simbad integer*4 RAh ! (h) Hour of Right Ascension (J2000) integer*4 RAm ! (min) Minute of Right Ascension (J2000) real*8 RAs ! (s) Second of Right Ascension (J2000) character*1 DE_ ! Sign of the Declination (J2000) integer*4 DEd ! (deg) Degree of Declination (J2000) integer*4 DEm ! (arcmin) Arcminute of Declination (J2000) real*4 DEs ! (arcsec) Arcsecond of Declination (J2000) character*3 VIccd ! WFPC2 chip ID for F606W, F814W data (pc1, wf*) real*4 X_VI ! (pix) X pixel value for F606W, F814W data real*4 Y_VI ! (pix) Y pixel value for F606W, F814W data character*3 UVccd ! WFPC2 chip ID for F300W data (wf3/4) real*4 X_UV ! (pix) ? X pixel value for F300W data real*4 Y_UV ! (pix) ? Y pixel value for F300 data real*4 X_H ! (pix) ? X pixel value for NICMOS data real*4 Y_H ! (pix) ? Y pixel value for NICMOS data real*4 UVmag ! (mag) ? HST/WFPC2 F300W filter magnitude (1) real*4 e_UVmag ! (mag) ? Error in UVmag (1) real*4 Vmag ! (mag) ? HST/WFPC2 F606W filter magnitude (1) real*4 e_Vmag ! (mag) ? Error in Vmag (1) real*4 Imag ! (mag) ? HST/WFPC2 F814W filter magnitude (1) real*4 e_Imag ! (mag) ? Error in Imag (1) real*4 Hmag ! (mag) ? HST/NICMOS F160W filter magnitude (1) real*4 e_Hmag ! (mag) ? Error in Hmag (1) real*4 UV_V ! (mag) ? The (F300W - F606W) color index (1) real*4 e_UV_V ! (mag) ? Error in UV-V (1) real*4 UV_I ! (mag) ? The (F300W - F814W) color index (1) real*4 e_UV_I ! (mag) ? Error in UV-I (1) real*4 UV_H ! (mag) ? The (F300W - F160W) color index (1) real*4 e_UV_H ! (mag) ? Error in UV-H (1) real*4 V_I ! (mag) ? The (F606W - F814W) color index (1) real*4 e_V_I ! (mag) ? Error in V-I (1) real*4 V_H ! (mag) ? The (F606W - F160W) color index (1) real*4 e_V_H ! (mag) ? Error in V-H (1) real*4 I_H ! (mag) ? The (F814W - F160W) color index (1) real*4 e_I_H ! (mag) ? Error in I-H (1) *Note (1): All magnitudes are calibrated to the VEGAMAG system. C============================================================================= C Loading file 'table3.dat' ! Stellar photometry in NGC 1311 C Format for file interpretation 1 format( + I4,1X,I1,1X,I2,1X,F7.4,1X,A1,I2,1X,I2,1X,F6.3,1X,A3,1X,F6.2, + 1X,F6.2,1X,A3,1X,F6.2,1X,F6.2,1X,F6.2,1X,F6.2,1X,F6.3,1X,F5.3, + 1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X, + F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3, + 1X,F5.3,1X,F6.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,4360 read(1,'(A211)')ar__ read(ar__,1) + Seq,RAh,RAm,RAs,DE_,DEd,DEm,DEs,VIccd,X_VI,Y_VI,UVccd,X_UV, + Y_UV,X_H,Y_H,UVmag,e_UVmag,Vmag,e_Vmag,Imag,e_Imag,Hmag, + e_Hmag,UV_V,e_UV_V,UV_I,e_UV_I,UV_H,e_UV_H,V_I,e_V_I,V_H, + e_V_H,I_H,e_I_H if(ar__(55:60) .EQ. '') X_UV = rNULL__ if(ar__(62:67) .EQ. '') Y_UV = rNULL__ if(ar__(69:74) .EQ. '') X_H = rNULL__ if(ar__(76:81) .EQ. '') Y_H = rNULL__ if(ar__(83:88) .EQ. '') UVmag = rNULL__ if(ar__(90:94) .EQ. '') e_UVmag = rNULL__ if(ar__(96:101) .EQ. '') Vmag = rNULL__ if(ar__(103:107) .EQ. '') e_Vmag = rNULL__ if(ar__(109:114) .EQ. '') Imag = rNULL__ if(ar__(116:120) .EQ. '') e_Imag = rNULL__ if(ar__(122:127) .EQ. '') Hmag = rNULL__ if(ar__(129:133) .EQ. '') e_Hmag = rNULL__ if(ar__(135:140) .EQ. '') UV_V = rNULL__ if(ar__(142:146) .EQ. '') e_UV_V = rNULL__ if(ar__(148:153) .EQ. '') UV_I = rNULL__ if(ar__(155:159) .EQ. '') e_UV_I = rNULL__ if(ar__(161:166) .EQ. '') UV_H = rNULL__ if(ar__(168:172) .EQ. '') e_UV_H = rNULL__ if(ar__(174:179) .EQ. '') V_I = rNULL__ if(ar__(181:185) .EQ. '') e_V_I = rNULL__ if(ar__(187:192) .EQ. '') V_H = rNULL__ if(ar__(194:198) .EQ. '') e_V_H = rNULL__ if(ar__(200:205) .EQ. '') I_H = rNULL__ if(ar__(207:211) .EQ. '') e_I_H = rNULL__ 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. if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg c ..............Just test output........... write(6,1) + Seq,RAh,RAm,RAs,DE_,DEd,DEm,DEs,VIccd,X_VI,Y_VI,UVccd,X_UV, + Y_UV,X_H,Y_H,UVmag,e_UVmag,Vmag,e_Vmag,Imag,e_Imag,Hmag, + e_Hmag,UV_V,e_UV_V,UV_I,e_UV_I,UV_H,e_UV_H,V_I,e_V_I,V_H, + e_V_H,I_H,e_I_H write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= stop end