Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/333/897 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-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/A+A/333/897 Mass segregation in open clusters (Raboud+ 1998) *================================================================================ *Evolution of mass segregation in open clusters: some observational evidences * Raboud D., Mermilliod J.-C. * <Astron. Astrophys. 333, 897 (1998)> * =1998A&A...333..897R C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Member stars in Praesepe integer*4 nr__ parameter (nr__=185) ! Number of records character*74 ar__ ! Full-size record integer*4 KW (nr__) ! Star identification * (Cl* NGC 2632 KW NNN in Simbad database) real*4 Vmag (nr__) ! (mag) V magnitude real*4 B_V (nr__) ! (mag) B-V colour index real*8 Xpos (nr__) ! (arcmin) x coordinate (1) real*8 Ypos (nr__) ! (arcmin) y coordinate (1) real*4 Dist (nr__) ! (arcmin) Distance from the cluster center integer*4 Mult (nr__) ! [1/3] Multiplicity status (G1) character*9 Type (nr__) ! Binary type (G2) real*4 MassTot (nr__) ! (solMass) Total mass real*4 MassA (nr__) ! (solMass) Component A mass real*4 MassB (nr__) ! (solMass) ? Component B mass real*4 MassC (nr__) ! (solMass) ? Component C mass *Note (1): Origin (1950.0), RA = 08 37 32 ; DE = +19 48.8 * y increasing to North , x to East c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Member stars in NGC 6231 integer*4 nr__1 parameter (nr__1=300) ! Number of records character*82 ar__1 ! Full-size record integer*4 NGC6231 (nr__1) ! Star identification * (NGC 6231 NNN in Simbad database) real*4 Vmag_1 (nr__1) ! (mag) V magnitude real*4 col (nr__1) ! (mag) Colour ((B-V)J, (B-V)G or b-y) (1) character*4 phot (nr__1) ! Photometry used (Gen, UBV or uvby) real*4 Xpos_1 (nr__1) ! (arcmin) x coordinate (2) real*4 Ypos_1 (nr__1) ! (arcmin) y coordinate (2) real*4 Dist_1 (nr__1) ! (arcmin) Distance from the cluster center integer*4 Mult_1 (nr__1) ! [1/2] Multiplicity status (G1) character*7 Type_1 (nr__1) ! Binary type (G1) real*4 MassTot_1 (nr__1) ! (solMass) Total mass real*4 MassA_1 (nr__1) ! (solMass) ? Component A mass real*4 MassB_1 (nr__1) ! (solMass) ? Component B mass *Note (1): The colour is * (B-V)(Johnson) if the photometry used (phot column) is UBV, * (B-V)(Geneva) if the photometry used is Gen and * (b-y) if the photometry used is uvby. *Note (2): Origin (1950.0) RA = 16 50 41 ; DE =-41 44.9 * y increasing to North , x to East C============================================================================= C Loading file 'table2.dat' ! Member stars in Praesepe C Format for file interpretation 1 format( + I4,2X,F5.2,2X,F4.2,2X,F7.2,2X,F7.2,1X,F6.2,1X,I1,1X,A9,1X, + F4.2,1X,F4.2,1X,F4.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,185 read(1,'(A74)')ar__ read(ar__,1) + KW(i__),Vmag(i__),B_V(i__),Xpos(i__),Ypos(i__),Dist(i__), + Mult(i__),Type(i__),MassTot(i__),MassA(i__),MassB(i__), + MassC(i__) if(ar__(66:69) .EQ. '') MassB(i__) = rNULL__ if(ar__(71:74) .EQ. '') MassC(i__) = rNULL__ c ..............Just test output........... write(6,1) + KW(i__),Vmag(i__),B_V(i__),Xpos(i__),Ypos(i__),Dist(i__), + Mult(i__),Type(i__),MassTot(i__),MassA(i__),MassB(i__), + MassC(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Member stars in NGC 6231 C Format for file interpretation 2 format( + I4,2X,F5.2,2X,F5.2,2X,A4,3X,F6.2,3X,F6.2,3X,F5.2,2X,I1,2X,A7, + 2X,F5.2,2X,F5.2,1X,F5.2) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,300 read(1,'(A82)')ar__1 read(ar__1,2) + NGC6231(i__),Vmag_1(i__),col(i__),phot(i__),Xpos_1(i__), + Ypos_1(i__),Dist_1(i__),Mult_1(i__),Type_1(i__), + MassTot_1(i__),MassA_1(i__),MassB_1(i__) if(ar__1(72:76) .EQ. '') MassA_1(i__) = rNULL__ if(ar__1(78:82) .EQ. '') MassB_1(i__) = rNULL__ c ..............Just test output........... write(6,2) + NGC6231(i__),Vmag_1(i__),col(i__),phot(i__),Xpos_1(i__), + Ypos_1(i__),Dist_1(i__),Mult_1(i__),Type_1(i__), + MassTot_1(i__),MassA_1(i__),MassB_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end