Conversion of standardized ReadMe file for
file /./ftp/cats/V/55 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-17 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. V/55 A catalogue of high-velocity stars (Roman, 1955) *================================================================================ *A catalogue of high-velocity stars * Roman N.G. * <Astrophys. J. Suppl. 2, 195 (Contrib. McDonald Obs. 262) (1955)> * =1955ApJS....2..195R C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'hvcat.dat' ! High-velocity stars catalogue integer*4 nr__ parameter (nr__=633) ! Number of records character*163 ar__ ! Full-size record C 1950.0 position composed of: RArad DErad integer*4 RHV (nr__) ! RHV catalogue number character*1 f_RHV (nr__) ! [P] P indicates that the star is from Table 2 character*10 Name (nr__) ! HD/BD Number character*1 m_Name (nr__) ! Binary star component integer*4 MDSP_S1 (nr__) ! ? MDSP/S1 Catalogue Number character*1 n_MDSP_S1 (nr__) ! [P] P indicates the MDSPS1 integer*4 RAh (nr__) ! (h) Rigth ascension 1900.0 real*4 RAm (nr__) ! (min) Rigth ascension 1900.0 character*1 DE_ (nr__) ! Declination sign integer*4 DEd (nr__) ! (deg) Declination 1900.0 integer*4 DEm (nr__) ! (arcmin) [0,60] Declination 1900.0 integer*4 RAh2 (nr__) ! (h) Right ascension 2000.0 real*4 RAm2 (nr__) ! (min) Right ascension 2000.0 character*1 DE_2 (nr__) ! Declination sign integer*4 DEd2 (nr__) ! (deg) Declination 2000.0 integer*4 DEm2 (nr__) ! (arcmin) Declination 2000.0 real*8 RArad (nr__) ! (rad) Right ascension 1950.0 real*8 DErad (nr__) ! (rad) Declination 1950.0 real*4 GLON (nr__) ! (deg) Galactic longitude l real*4 GLAT (nr__) ! (deg) Galactic latitude b character*1 n_Spect (nr__) ! [M] M indicates a spectrum from * Johnson and Morgan (1953ApJ...117..313J) character*9 Spect (nr__) ! Spectrum character*1 n_Vmag (nr__) ! [J] J indicates UBV photometry from * Johnson & Morgan (1953ApJ...117..313J) real*4 Vmag (nr__) ! (mag) ? V magnitude character*1 u_Vmag (nr__) ! uncertainty flag on Vmag real*4 B_V (nr__) ! (mag) ? B-V color-index character*1 u_B_V (nr__) ! uncertainty flag on B-V real*4 U_B (nr__) ! (mag) ? U-B color-index character*1 u_U_B (nr__) ! uncertainty flag on U-B real*4 plx (nr__) ! (arcsec) ? Trigonometric parallax real*4 SpPlx (nr__) ! (arcsec) ? Spectroscopic parallax integer*4 RV (nr__) ! (km/s) ? Radial velocity real*4 pmRA (nr__) ! (arcsec/yr) ? Proper motion in right ascension real*4 pmDE (nr__) ! (arcsec/yr) ? Proper motion in declination character*10 r_pm (nr__) ! Source of the proper motion integer*4 Uvel (nr__) ! (km/s) ? U component of space motion (L=90.0, B=0) integer*4 Vvel (nr__) ! (km/s) ? V component of space motion (L=180.0, B=0) integer*4 Wvel (nr__) ! (km/s) ? W component of space motion (B=0, + to N) integer*4 Vel (nr__) ! (km/s) ? Total space velocity real*4 eps (nr__) ! ? Eccentricity of the Newtonian orbit real*4 a (nr__) ! (kpc) ? Semimajor axis of the orbit * (99.9 if >99.9) character*1 n_Vel (nr__) ! [R] R indicates retrograde motion character*1 Note (nr__) ! [*] * indicates a note in file notes.dat c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'notes.dat' ! Notes integer*4 nr__1 parameter (nr__1=206) ! Number of records character*189 ar__1 ! Full-size record integer*4 RHV_1 (nr__1) ! RHV catalogue number character*1 Note_1 (nr__1) ! [p] p indicates that the star is from Table 2 character*12 Name_1 (nr__1) ! HD or BD number character*170 Rem (nr__1) ! Remarks C============================================================================= C Loading file 'hvcat.dat' ! High-velocity stars catalogue C Format for file interpretation 1 format( + I3,A1,A10,A1,I4,A1,I2,F4.1,A1,I2,I2,I2,F4.1,A1,I2,I2,F8.6, + F9.6,F6.2,F6.2,A1,A9,A1,F5.2,A1,F5.2,A1,F5.2,A1,F6.3,F6.4,I4, + F6.3,F6.3,A10,I4,I4,I4,I3,F4.2,F4.1,A1,A1) C Effective file loading open(unit=1,status='old',file= +'hvcat.dat') write(6,*) '....Loading file: hvcat.dat' do i__=1,633 read(1,'(A163)')ar__ read(ar__,1) + RHV(i__),f_RHV(i__),Name(i__),m_Name(i__),MDSP_S1(i__), + n_MDSP_S1(i__),RAh(i__),RAm(i__),DE_(i__),DEd(i__),DEm(i__), + RAh2(i__),RAm2(i__),DE_2(i__),DEd2(i__),DEm2(i__),RArad(i__), + DErad(i__),GLON(i__),GLAT(i__),n_Spect(i__),Spect(i__), + n_Vmag(i__),Vmag(i__),u_Vmag(i__),B_V(i__),u_B_V(i__), + U_B(i__),u_U_B(i__),plx(i__),SpPlx(i__),RV(i__),pmRA(i__), + pmDE(i__),r_pm(i__),Uvel(i__),Vvel(i__),Wvel(i__),Vel(i__), + eps(i__),a(i__),n_Vel(i__),Note(i__) if(ar__(16:19) .EQ. '') MDSP_S1(i__) = iNULL__ if(ar__(83:87) .EQ. '') Vmag(i__) = rNULL__ if(ar__(89:93) .EQ. '') B_V(i__) = rNULL__ if(ar__(95:99) .EQ. '') U_B(i__) = rNULL__ if(ar__(101:106) .EQ. '') plx(i__) = rNULL__ if(ar__(107:112) .EQ. '') SpPlx(i__) = rNULL__ if(ar__(113:116) .EQ. '') RV(i__) = iNULL__ if(ar__(117:122) .EQ. '') pmRA(i__) = rNULL__ if(ar__(123:128) .EQ. '') pmDE(i__) = rNULL__ if(ar__(139:142) .EQ. '') Uvel(i__) = iNULL__ if(ar__(143:146) .EQ. '') Vvel(i__) = iNULL__ if(ar__(147:150) .EQ. '') Wvel(i__) = iNULL__ if(ar__(151:153) .EQ. '') Vel(i__) = iNULL__ if(ar__(154:157) .EQ. '') eps(i__) = rNULL__ if(ar__(158:161) .EQ. '') a(i__) = rNULL__ c ..............Just test output........... write(6,1) + RHV(i__),f_RHV(i__),Name(i__),m_Name(i__),MDSP_S1(i__), + n_MDSP_S1(i__),RAh(i__),RAm(i__),DE_(i__),DEd(i__),DEm(i__), + RAh2(i__),RAm2(i__),DE_2(i__),DEd2(i__),DEm2(i__),RArad(i__), + DErad(i__),GLON(i__),GLAT(i__),n_Spect(i__),Spect(i__), + n_Vmag(i__),Vmag(i__),u_Vmag(i__),B_V(i__),u_B_V(i__), + U_B(i__),u_U_B(i__),plx(i__),SpPlx(i__),RV(i__),pmRA(i__), + pmDE(i__),r_pm(i__),Uvel(i__),Vvel(i__),Wvel(i__),Vel(i__), + eps(i__),a(i__),n_Vel(i__),Note(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'notes.dat' ! Notes C Format for file interpretation 2 format(1X,I3,A1,1X,A12,1X,A170) C Effective file loading open(unit=1,status='old',file= +'notes.dat') write(6,*) '....Loading file: notes.dat' do i__=1,206 read(1,'(A189)')ar__1 read(ar__1,2)RHV_1(i__),Note_1(i__),Name_1(i__),Rem(i__) c ..............Just test output........... write(6,2)RHV_1(i__),Note_1(i__),Name_1(i__),Rem(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end