Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/117/1313 into FORTRAN code for loading all data files into arrays.
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/117/1313 NGC 6441 VI photometry (Layden+, 1999) *================================================================================ *The variable stars and blue horizontal branch of the *metal-rich globular cluster NGC 6441. * Layden A.C., Ritter L.A., Welch D.L., Webb T.M.A. * <Astron. J. 117, 1313 (1999)> * =1999AJ....117.1313L C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Photometry of 16011 stars with V<19.0 within 440 arcsec of NGC 6441 integer*4 nr__ parameter (nr__=16011) ! Number of records character*46 ar__ ! Full-size record integer*4 LRW (nr__) ! Star number (Cl* NGC 6441 LRW NNNNN in Simbad) real*8 Xpos (nr__) ! (pix) X position (G1) real*8 Ypos (nr__) ! (pix) Y position (G1) real*4 Vmag (nr__) ! (mag) V magnitude real*4 e_Vmag (nr__) ! (mag) rms uncertainty on Vmag real*4 V_I (nr__) ! (mag) V-I colour index real*4 e_V_I (nr__) ! (mag) rms uncertainty on V-I c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'var.dat' ! Variable stars (tables 2-5 of paper) integer*4 nr__1 parameter (nr__1=57) ! Number of records character*72 ar__1 ! Full-size record character*3 Star (nr__1) ! Star name (Cl* NGC 6441 Saw VNN in Simbad) character*1 Note (nr__1) ! [*] Individual note detailed in notes.dat character*2 Type (nr__1) ! Type of variable (1) real*4 Period (nr__1) ! (d) ? Period (for RR Lyr and EBs) integer*4 Xpos_1 (nr__1) ! (pix) X position (G1) integer*4 Ypos_1 (nr__1) ! (pix) Y position (G1) real*4 Vmag_1 (nr__1) ! (mag) ? V at maximum (EBs), or mean V (2) real*4 Imag (nr__1) ! (mag) ? I at maximum (EBs), or mean I (2) real*4 V_I_1 (nr__1) ! (mag) ? (V-I) at minimum for EBs, mean (v-I) color real*4 DV (nr__1) ! (mag) ? Amplitude in V filter real*4 DI (nr__1) ! (mag) ? Amplitude in I filter integer*4 o_Imag (nr__1) ! ? Number of observations in Imag real*4 Imag2 (nr__1) ! (mag) ? Mean Imag in June 1996 (for LP only) real*4 v_V_I_2 (nr__1) ! (mag) ? Mean (V-I) in June 1996 (for LP only) integer*4 o_Imag2 (nr__1) ! ? Number of observations in Imag2 *Note (1): the type can be: * LP: long-period variable (table 2) * RR: RR Lyr star (table 3) * EB: Eclipsing binaries (table 4) * SV: Suspected variables (table 5) *Note (2): The values represent the magnitude at maximum for eclipsing * binaries (EB in column Type), and mean magnitudes for other types; * for long period stars (LP), the mean corresponds to observations * made in May 1996. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table6.dat' ! Photometry of variable stars toward NGC 6441 integer*4 nr__2 parameter (nr__2=1391) ! Number of records character*45 ar__2 ! Full-size record character*3 Star_1 (nr__2) ! Star name (V01-V49, SV1-SV9) (1) character*1 n_Star (nr__2) ! [*] *: Note detailed in notes.dat file real*8 HJD (nr__2) ! (d) Heliocentric Julian date real*4 Vmag_2 (nr__2) ! (mag) V magnitude real*4 e_Vmag_1 (nr__2) ! (mag) rms uncertainty on Vmag real*4 Imag_1 (nr__2) ! (mag) I magnitude real*4 e_Imag (nr__2) ! (mag) rms uncertainty on Imag integer*4 q_Vmag (nr__2) ! [1,4] Quality parameter (2) *Note (1): variable and suspected variables are: * VNN: Cl* NGC 6441 Saw VNN in Simbad * SVN: Cl* NGC 6441 LRW SN in Simbad *Note (2): the quality is coded as follows: * 1: exposure under good seeing conditions * 2: short exposure in good seeing * 3: long exposure in poor seeing * 4: short exposure in poor seeing c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'notes.dat' ! Individual notes of var.dat integer*4 nr__3 parameter (nr__3=65) ! Number of records character*80 ar__3 ! Full-size record character*3 Star_2 (nr__3) ! Star designation, repeated when several lines character*76 Note_1 (nr__3) ! Text of the note C============================================================================= C Loading file 'table1.dat' ! Photometry of 16011 stars with V<19.0 within * 440 arcsec of NGC 6441 C Format for file interpretation 1 format(I5,1X,F7.2,1X,F7.2,1X,F6.3,1X,F5.3,1X,F5.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,16011 read(1,'(A46)')ar__ read(ar__,1) + LRW(i__),Xpos(i__),Ypos(i__),Vmag(i__),e_Vmag(i__),V_I(i__), + e_V_I(i__) c ..............Just test output........... write(6,1) + LRW(i__),Xpos(i__),Ypos(i__),Vmag(i__),e_Vmag(i__),V_I(i__), + e_V_I(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'var.dat' ! Variable stars (tables 2-5 of paper) C Format for file interpretation 2 format( + A3,A1,1X,A2,1X,F6.4,1X,I4,1X,I4,1X,F5.2,1X,F5.2,1X,F5.2,1X, + F5.2,1X,F5.2,1X,I2,1X,F5.2,1X,F5.2,1X,I2) C Effective file loading open(unit=1,status='old',file= +'var.dat') write(6,*) '....Loading file: var.dat' do i__=1,57 read(1,'(A72)')ar__1 read(ar__1,2) + Star(i__),Note(i__),Type(i__),Period(i__),Xpos_1(i__), + Ypos_1(i__),Vmag_1(i__),Imag(i__),V_I_1(i__),DV(i__),DI(i__), + o_Imag(i__),Imag2(i__),v_V_I_2(i__),o_Imag2(i__) if(ar__1(9:14) .EQ. '') Period(i__) = rNULL__ if(ar__1(26:30) .EQ. '') Vmag_1(i__) = rNULL__ if(ar__1(32:36) .EQ. '') Imag(i__) = rNULL__ if(ar__1(38:42) .EQ. '') V_I_1(i__) = rNULL__ if(ar__1(44:48) .EQ. '') DV(i__) = rNULL__ if(ar__1(50:54) .EQ. '') DI(i__) = rNULL__ if(ar__1(56:57) .EQ. '') o_Imag(i__) = iNULL__ if(ar__1(59:63) .EQ. '') Imag2(i__) = rNULL__ if(ar__1(65:69) .EQ. '') v_V_I_2(i__) = rNULL__ if(ar__1(71:72) .EQ. '') o_Imag2(i__) = iNULL__ c ..............Just test output........... write(6,2) + Star(i__),Note(i__),Type(i__),Period(i__),Xpos_1(i__), + Ypos_1(i__),Vmag_1(i__),Imag(i__),V_I_1(i__),DV(i__),DI(i__), + o_Imag(i__),Imag2(i__),v_V_I_2(i__),o_Imag2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table6.dat' ! Photometry of variable stars toward NGC 6441 C Format for file interpretation 3 format(A3,A1,1X,F12.4,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table6.dat') write(6,*) '....Loading file: table6.dat' do i__=1,1391 read(1,'(A45)')ar__2 read(ar__2,3) + Star_1(i__),n_Star(i__),HJD(i__),Vmag_2(i__),e_Vmag_1(i__), + Imag_1(i__),e_Imag(i__),q_Vmag(i__) c ..............Just test output........... write(6,3) + Star_1(i__),n_Star(i__),HJD(i__),Vmag_2(i__),e_Vmag_1(i__), + Imag_1(i__),e_Imag(i__),q_Vmag(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'notes.dat' ! Individual notes of var.dat C Format for file interpretation 4 format(A3,1X,A76) C Effective file loading open(unit=1,status='old',file= +'notes.dat') write(6,*) '....Loading file: notes.dat' do i__=1,65 read(1,'(A80)')ar__3 read(ar__3,4)Star_2(i__),Note_1(i__) c ..............Just test output........... write(6,4)Star_2(i__),Note_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end