Conversion of standardized ReadMe file for
file /./ftp/cats/J/PASP/105/1465 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/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 (nr__) ! LSS number (catalog <III/43>) real*8 Vmag (nr__) ! (mag) V magnitude real*8 B_V (nr__) ! (mag) B-V color real*8 U_B (nr__) ! (mag) U-B color real*8 beta (nr__) ! (mag) Beta color real*8 Dist (nr__) ! (kpc) Distance from sun real*8 E_B_V (nr__) ! (mag) B-V color excess real*8 GLON (nr__) ! (deg) Galactic longitude real*8 GLAT (nr__) ! (deg) Galactic latitude integer*4 o_Vmag (nr__) ! Number of measurements of V integer*4 o_B_V (nr__) ! Number of measurements of B-V integer*4 o_U_B (nr__) ! Number of measurements of U-B real*8 x (nr__) ! (kpc) x coordinate of star in galactic plane real*8 y (nr__) ! (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(i__),Vmag(i__),B_V(i__),U_B(i__),beta(i__),Dist(i__), + E_B_V(i__),GLON(i__),GLAT(i__),o_Vmag(i__),o_B_V(i__), + o_U_B(i__),x(i__),y(i__) c ..............Just test output........... write(6,1) + LSS(i__),Vmag(i__),B_V(i__),U_B(i__),beta(i__),Dist(i__), + E_B_V(i__),GLON(i__),GLAT(i__),o_Vmag(i__),o_B_V(i__), + o_U_B(i__),x(i__),y(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end