Conversion of standardized ReadMe file for
file /./ftp/cats/V/30 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-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. V/30 Velocity Vectors of B and A stars (Palous, 1982) *================================================================================ *Catalog of space velocity vectors of 2595 B and A stars * Palous J. * <Bull. Inform. CDS 23, 96 (1982)> * <Bull. Astron. Inst. Czech. 34, 286> * =1982BICDS..23...96P * =1983BAICz..34..286P C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'catalog.dat' ! The Catalogue of spatial velocities integer*4 nr__ parameter (nr__=2595) ! Number of records character*72 ar__ ! Full-size record C Position composed of: GLON GLAT character*10 LID (nr__) ! Identification in Lausanne/Geneva system (1) character*1 m_LID (nr__) ! [123DV] Multiplicity, duplicity or variability real*8 GLON (nr__) ! (deg) Galactic longitude l (deg) real*8 GLAT (nr__) ! (deg) Galactic latitude b (deg) integer*4 r (nr__) ! (pc) Heliocentric distance R (pc) real*4 Uvel (nr__) ! (km/s) Space velocity component km/s real*4 Vvel (nr__) ! (km/s) Space velocity component km/s real*4 Wvel (nr__) ! (km/s) Space velocity component km/s integer*4 Vmag (nr__) ! (0.1mag) Apparent magnitude character*13 SpType (nr__) ! MK spectral type *Note (1): a detailed description can be found in the file "codes.txt" * in Cat. V/14 (Philip & Egret) C============================================================================= C Loading file 'catalog.dat' ! The Catalogue of spatial velocities C Format for file interpretation 1 format( + 1X,A10,A1,F8.4,1X,F8.4,1X,I4,1X,F6.1,1X,F6.1,1X,F6.1,1X,I2,1X, + A13) C Effective file loading open(unit=1,status='old',file= +'catalog.dat') write(6,*) '....Loading file: catalog.dat' do i__=1,2595 read(1,'(A72)')ar__ read(ar__,1) + LID(i__),m_LID(i__),GLON(i__),GLAT(i__),r(i__),Uvel(i__), + Vvel(i__),Wvel(i__),Vmag(i__),SpType(i__) c ..............Just test output........... write(6,1) + LID(i__),m_LID(i__),GLON(i__),GLAT(i__),r(i__),Uvel(i__), + Vvel(i__),Wvel(i__),Vmag(i__),SpType(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end