Conversion of standardized ReadMe file for
file /./ftp/cats/J/PASP/105/1465 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-18 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/105/1465 Distant OB Stars in the Galaxy (Reed 1993) *================================================================================ *Distant (r > 5 kpc) OB Stars in the Galaxy * Reed B.C. * <Publ. Astron. Soc. Pac. 105, 1465 (1993)> * =1993PASP..105.1465R C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Photometry and distances integer*4 nr__ parameter (nr__=1044) ! Number of records character*97 ar__ ! Full-size record C Position composed of: GLON GLAT integer*4 LSS ! LSS number (catalog <III/43>) real*8 Vmag ! (mag) V magnitude real*8 B_V ! (mag) B-V color real*8 U_B ! (mag) U-B color real*8 beta ! (mag) Beta color real*8 Dist ! (kpc) Distance from sun real*8 E_B_V ! (mag) B-V color excess real*8 GLON ! (deg) Galactic longitude real*8 GLAT ! (deg) Galactic latitude integer*4 o_Vmag ! Number of measurements of V integer*4 o_B_V ! Number of measurements of B-V integer*4 o_U_B ! Number of measurements of U-B real*8 x ! (kpc) x coordinate of star in galactic plane real*8 y ! (kpc) y coordinate of star in galactic plane C============================================================================= C Loading file 'table1.dat' ! Photometry and distances C Format for file interpretation 1 format( + 1X,I4,1X,F8.3,F8.3,F8.3,F8.3,F8.3,F8.3,2X,F7.2,F7.2,2X,I3,I3, + I3,2X,F7.2,F7.2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,1044 read(1,'(A97)')ar__ read(ar__,1) + LSS,Vmag,B_V,U_B,beta,Dist,E_B_V,GLON,GLAT,o_Vmag,o_B_V,o_U_B, + x,y c ..............Just test output........... write(6,1) + LSS,Vmag,B_V,U_B,beta,Dist,E_B_V,GLON,GLAT,o_Vmag,o_B_V,o_U_B, + x,y c .......End.of.Just test output........... end do close(1) C============================================================================= stop end