Conversion of standardized ReadMe file for
file /./ftp/cats/J/PASP/122/288 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-Mar-28 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/PASP/122/288 UBVI_KC_ photometry in NGC 2309 (Piatti+, 2010) *================================================================================ *NGC 2309: a relatively young open cluster projected onto a random stellar *concentration. * Piatti A.E., Claria J.J., Ahumada A.V. * <Publ. Astron. Soc. Pac., 122, 288-298 (2010)> * =2010PASP..122..288P C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! UBVI data of stars in the field of NGC 2309 integer*4 nr__ parameter (nr__=2275) ! Number of records character*80 ar__ ! Full-size record integer*4 Seq ! [1/2275] Sequential number real*8 Xpos ! (pix) X position (1) real*8 Ypos ! (pix) Y position (1) real*4 Vmag ! (mag) Johnson V magnitude real*4 e_Vmag ! (mag) rms uncertainty on Vmag integer*4 o_Vmag ! Number of observation for Vmag real*4 U_B ! (mag) ?=99.999 Johnson U-B colour index real*4 e_U_B ! (mag) ?=9.999 rms uncertainty on U-B (2) integer*4 n_U_B ! Number of observation for U-B real*4 B_V ! (mag) ?=99.999 Johnson B-V colour index real*4 e_B_V ! (mag) ?=9.999 rms uncertainty on B-V (2) integer*4 n_B_V ! Number of observation for B-V real*4 V_Ic ! (mag) ?=99.999 Johnson-Cousins V-I colour index real*4 e_V_Ic ! (mag) ?=9.999 rms uncertainty on V-Ic (2) *Note (1): (x,y) coordinates correspond to the reference system of Figure 1. * North is up, and east is to the left. *Note (2): Magnitude and color errors are the standard deviations of the * mean or the observed photometric errors for stars with only one * measurement. C============================================================================= C Loading file 'table2.dat' ! UBVI data of stars in the field of NGC 2309 C Format for file interpretation 1 format( + I4,1X,F8.3,1X,F8.3,1X,F6.3,1X,F5.3,1X,I1,1X,F6.3,1X,F5.3,1X, + I1,1X,F6.3,1X,F5.3,1X,I1,1X,F6.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,2275 read(1,'(A80)')ar__ read(ar__,1) + Seq,Xpos,Ypos,Vmag,e_Vmag,o_Vmag,U_B,e_U_B,n_U_B,B_V,e_B_V, + n_B_V,V_Ic,e_V_Ic c ..............Just test output........... write(6,1) + Seq,Xpos,Ypos,Vmag,e_Vmag,o_Vmag,U_B,e_U_B,n_U_B,B_V,e_B_V, + n_B_V,V_Ic,e_V_Ic c .......End.of.Just test output........... end do close(1) C============================================================================= stop end