Conversion of standardized ReadMe file for
file /./ftp/cats/J/AN/328/889 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-Mar-29 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/AN/328/889 Mean Radial Velocities of open clusters (Kharchenko+, 2007) *================================================================================ *Astrophysical supplements to the ASCC-2.5. *Ia. Radial velocities of ~55000 stars and mean radial velocities of 516 *Galactic open clusters and associations. * Kharchenko N.V., Scholz R.-D., Piskunov A.E., Roeser S., Schilbach E. * <Astron. Nachrichten, 328, 889 (2007)> * =2007AN....328..889K C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'crvoca.dat' ! The catalogue of radial velocities of Galactic Open Clusters and Associations (CRVOCA) integer*4 nr__ parameter (nr__=516) ! Number of records character*84 ar__ ! Full-size record C J2000.0 position composed of: RAhour DEdeg integer*4 Ncl (nr__) ! COCD 1,2 cluster number (0, 1-520, 1001-1130) character*17 Name (nr__) ! *NGC, IC or other common designation real*8 RAhour (nr__) ! (h) *Cluster center in RA J2000.0 real*8 DEdeg (nr__) ! (deg) *Cluster center in Dec J2000.0 real*8 Radcl (nr__) ! (deg) *Angular radius of the cluster real*8 RV (nr__) ! (km/s) ?=999.99 Average radial velocity real*4 e_RV (nr__) ! (km/s) ?=99.99 Standard error in RV integer*4 n_RV (nr__) ! *?=0 Number of stars used for RV calculation real*8 RVl (nr__) ! (km/s) ?=999.99 Radial velocity from literature real*4 e_RVl (nr__) ! (km/s) ?=0.00 Standard error in RVl integer*4 n_RVl (nr__) ! *?=0 Number of stars used for RVl calculation character*4 r_RVl (nr__) ! Identifier of reference, in refs.dat file *Note on Name, RAhour, DEdeg, Radcl: * As in COCD 1,2, if absent - as in Dias et al. or in Mel'nik (priv. comm.) *Note on n_RV, n_RVl: * -1, if the RV was determined from only 1 star with low probability c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'refs.dat' ! References integer*4 nr__1 parameter (nr__1=67) ! Number of records character*196 ar__1 ! Full-size record character*4 Ref (nr__1) ! Reference code character*19 BibCode (nr__1) ! BibCode character*26 Aut (nr__1) ! Author's name character*144 Com (nr__1) ! Comments C============================================================================= C Loading file 'crvoca.dat' ! The catalogue of radial velocities of Galactic * Open Clusters and Associations (CRVOCA) C Format for file interpretation 1 format(I4,1X,A17,F7.3,F7.2,F7.2,F8.2,F6.2,I4,F8.2,F6.2,I4,1X,A4) C Effective file loading open(unit=1,status='old',file= +'crvoca.dat') write(6,*) '....Loading file: crvoca.dat' do i__=1,516 read(1,'(A84)')ar__ read(ar__,1) + Ncl(i__),Name(i__),RAhour(i__),DEdeg(i__),Radcl(i__),RV(i__), + e_RV(i__),n_RV(i__),RVl(i__),e_RVl(i__),n_RVl(i__),r_RVl(i__) c ..............Just test output........... write(6,1) + Ncl(i__),Name(i__),RAhour(i__),DEdeg(i__),Radcl(i__),RV(i__), + e_RV(i__),n_RV(i__),RVl(i__),e_RVl(i__),n_RVl(i__),r_RVl(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'refs.dat' ! References C Format for file interpretation 2 format(A4,1X,A19,1X,A26,1X,A144) C Effective file loading open(unit=1,status='old',file= +'refs.dat') write(6,*) '....Loading file: refs.dat' do i__=1,67 read(1,'(A196)')ar__1 read(ar__1,2)Ref(i__),BibCode(i__),Aut(i__),Com(i__) c ..............Just test output........... write(6,2)Ref(i__),BibCode(i__),Aut(i__),Com(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end