Conversion of standardized ReadMe file for
file /./ftp/cats/J/PAZh/32/906 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/PAZh/32/906 Kinematics of Gould Belt Based on Open Clusters (Bobylev, 2006) *================================================================================ *Kinematics of Gould Belt Based on Open Clusters. * Bobylev V.V. * <Pis'ma Astron. Zh. 32, 906 (2006)> * =2006PAZh...32..906B * =2006AstL...32..816B C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Space velocities of open clusters and OB associations integer*4 nr__ parameter (nr__=20) ! Number of records character*73 ar__ ! Full-size record character*12 Name ! Cluster or OB-association designation integer*4 Dist ! (pc) Cluster distance integer*4 e_Dist ! (pc) ? Standar error in Dist (only in table1) real*4 UVel ! (km/s) Velocity component U in Gal. coord. system (1) real*4 e_UVel ! (km/s) Standard error in UVel real*4 VVel ! (km/s) Velocity component V in Gal. coord. system (1) real*4 e_VVel ! (km/s) Standard error in VVel real*4 WVel ! (km/s) Velocity component W in Gal. coord. system (1) real*4 e_WVel ! (km/s) Standard error in WVel integer*4 o_RV ! Number of stars used for calculation of RV character*1 n_RV ! [*] Note on velocity errors (2) real*4 RV ! (km/s) ? Average radial velocity (only in table1) real*4 e_RV ! (km/s) ? Standard error in RV (only in table1) *Note (1): These velocities were corrected for the differential Galactic * rotation with Oort constants: A=13.7km/s/kpc and B=-12.9km/s/kpc. *Note (2): * marks the four clusters for which the random errors e_RV in * one of the velocity component U,V,W exceed 5km/s. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Space velocities of open clusters. All input data were taken from COCD (J/A+A/438/1163, J/A+A/440/403) integer*4 nr__1 parameter (nr__1=29) ! Number of records character*73 ar__1 ! Full-size record character*12 Name_1 ! Cluster or OB-association designation integer*4 Dist_1 ! (pc) Cluster distance integer*4 e_Dist_1 ! (pc) ? Standar error in Dist (only in table1) real*4 UVel_1 ! (km/s) Velocity component U in Gal. coord. system (1) real*4 e_UVel_1 ! (km/s) Standard error in UVel real*4 VVel_1 ! (km/s) Velocity component V in Gal. coord. system (1) real*4 e_VVel_1 ! (km/s) Standard error in VVel real*4 WVel_1 ! (km/s) Velocity component W in Gal. coord. system (1) real*4 e_WVel_1 ! (km/s) Standard error in WVel integer*4 o_RV_1 ! Number of stars used for calculation of RV character*1 n_RV_1 ! [*] Note on velocity errors (2) real*4 RV_1 ! (km/s) ? Average radial velocity (only in table1) real*4 e_RV_1 ! (km/s) ? Standard error in RV (only in table1) *Note (1): These velocities were corrected for the differential Galactic * rotation with Oort constants: A=13.7km/s/kpc and B=-12.9km/s/kpc. *Note (2): * marks the four clusters for which the random errors e_RV in * one of the velocity component U,V,W exceed 5km/s. C============================================================================= C Loading file 'table1.dat' ! Space velocities of open clusters and OB associations C Format for file interpretation 1 format( + A12,1X,I3,1X,I2,1X,F6.2,1X,F5.2,1X,F6.2,1X,F4.2,1X,F6.2,1X, + F4.2,1X,I2,A1,1X,F6.2,1X,F5.2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,20 read(1,'(A73)')ar__ read(ar__,1) + Name,Dist,e_Dist,UVel,e_UVel,VVel,e_VVel,WVel,e_WVel,o_RV, + n_RV,RV,e_RV if(ar__(18:19) .EQ. '') e_Dist = iNULL__ if(ar__(62:67) .EQ. '') RV = rNULL__ if(ar__(69:73) .EQ. '') e_RV = rNULL__ c ..............Just test output........... write(6,1) + Name,Dist,e_Dist,UVel,e_UVel,VVel,e_VVel,WVel,e_WVel,o_RV, + n_RV,RV,e_RV c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Space velocities of open clusters. All input data * were taken from COCD (J/A+A/438/1163, J/A+A/440/403) C Format for file interpretation 2 format( + A12,1X,I3,1X,I2,1X,F6.2,1X,F5.2,1X,F6.2,1X,F4.2,1X,F6.2,1X, + F4.2,1X,I2,A1,1X,F6.2,1X,F5.2) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,29 read(1,'(A73)')ar__1 read(ar__1,2) + Name_1,Dist_1,e_Dist_1,UVel_1,e_UVel_1,VVel_1,e_VVel_1,WVel_1, + e_WVel_1,o_RV_1,n_RV_1,RV_1,e_RV_1 if(ar__1(18:19) .EQ. '') e_Dist_1 = iNULL__ if(ar__1(62:67) .EQ. '') RV_1 = rNULL__ if(ar__1(69:73) .EQ. '') e_RV_1 = rNULL__ c ..............Just test output........... write(6,2) + Name_1,Dist_1,e_Dist_1,UVel_1,e_UVel_1,VVel_1,e_VVel_1,WVel_1, + e_WVel_1,o_RV_1,n_RV_1,RV_1,e_RV_1 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end