Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/438/1163 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-20 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/A+A/438/1163 Catalogue of Open Cluster Data (COCD) (Kharchenko+, 2005) *================================================================================ *Astrophysical parameters of Galactic open clusters. * Kharchenko N.V., Piskunov A.E., Roeser S., Schilbach E., Scholz R.-D. * <Astron. Astrophys. 438, 1163 (2005)> * =2005A&A...438.1163K C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'cocd.dat' ! The Catalogue integer*4 nr__ parameter (nr__=520) ! Number of records character*205 ar__ ! Full-size record C J2000.0 position composed of: RAhour DEdeg integer*4 Seq ! [1-520] Cluster sequential number character*17 Name ! NGC, IC or other common designation character*17 OName ! Other designation of the cluster real*4 RAhour ! (h) Adopted cluster center in RA J2000.0 real*4 DEdeg ! (deg) Adopted cluster center in Dec J2000.0 real*4 GLON ! (deg) Galactic longitude real*4 GLAT ! (deg) Galactic latitude real*4 Rco ! (deg) Angular radius of the core real*4 Rcl ! (deg) Angular radius of the cluster real*4 RV ! (km/s) ?=999.99 Average radial velocity real*4 e_RV ! (km/s) ?=0.00 Standard error in RV integer*4 n_RV ! ?=0 Number of stars used for RV calculation real*4 pmRA ! (mas/yr) Average proper motion in RA*cos(DE) real*4 e_pmRA ! (mas/yr) Standard error in pmRA real*4 pmDE ! (mas/yr) Average proper motion in DE real*4 e_pmDE ! (mas/yr) Standard error in pmDE real*4 pmGLON ! (mas/yr) Average proper motion in l*cos(b) real*4 pmGLAT ! (mas/yr) Average proper motion in b integer*4 N1s ! Number of the most probable (1 sigma) members integer*4 Dist ! (pc) Distance real*4 E_B_V ! (mag) Colour-excess real*4 V_Mv ! (mag) Apparent distance modulus integer*4 r_Dist ! *Source of distance and E(B-V) real*4 logt ! ([yr]) Logarithm of average age integer*4 o_logt ! *[-3,50] Number of stars used for logt * calculation real*4 RVref ! (km/s) ?=999.99 RV from literature real*4 e_RVref ! (km/s) ?=0.00 Standard error in RVref integer*4 r_RVref ! *?=0 Source of RVref real*4 logtref ! ([yr]) ?=0.00 Average age from literature integer*4 r_logtref ! *?=0 Source of logtref integer*4 n_Seq ! [0,1] 1 indicates a note detailed in notes.dat *Note on r_Dist, r_RVref, r_logtref: * These flags have the following meaning: * 1 = Dias et al., 2004, Open clusters and Galactic structure, * Version 2.0", http://www.astro.iag.usp.br/~wilton * 2 = Kharchenko et al., 2005 * 3 = Loktin, 2004, Private communication * 4 = Lynga, 1987 "Catalogue of open clusters data. Fifth edition" * 5 = Robichon et al., 1999, Cat. <J/A+A/345/471> * 6 = Ruprecht et al., 1981, Cat <VII/31> * 7 = de Zeeuw et al., 1999, Cat. <J/AJ/117/354> *Note on o_logt: * The negative numbers have the following meaning: * -1 = when logt is found with help of a star located to the left of the blue * limit of the evolved MS, * -2 = when logt is found with help of a star located to the right of the red * limit of the evolved MS, * -3 = if logt has been set manually c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'cluster.dat' ! Cluster list integer*4 nr__1 parameter (nr__1=520) ! Number of records character*53 ar__1 ! Full-size record C J2000.0 position composed of: RAhour DEdeg integer*4 Seq_1 ! [1-520] Cluster sequential number character*33 Name_1 ! NGC, IC or other common designation real*8 RAhour_1 ! (h) Right Ascension J2000.0 real*8 DEdeg_1 ! (deg) Declination J2000.0 c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'notes.dat' ! Individual notes integer*4 nr__2 parameter (nr__2=488) ! Number of records character*80 ar__2 ! Full-size record integer*4 Seq_2 ! Cluster number character*76 Note ! Text of the note C============================================================================= C Loading file 'cocd.dat' ! The Catalogue C Format for file interpretation 1 format( + 1X,I3,1X,A17,1X,A17,2X,F6.3,1X,F6.2,1X,F6.2,1X,F6.2,2X,F4.2, + 2X,F4.2,2X,F6.2,2X,F5.2,2X,I2,2X,F6.2,2X,F4.2,2X,F6.2,2X,F4.2, + 2X,F6.2,2X,F6.2,1X,I3,2X,I4,2X,F4.2,1X,F5.2,1X,I1,2X,F4.2,2X, + I2,2X,F6.2,2X,F5.2,1X,I1,2X,F4.2,1X,I1,1X,I1) C Effective file loading open(unit=1,status='old',file= +'cocd.dat') write(6,*) '....Loading file: cocd.dat' do i__=1,520 read(1,'(A205)')ar__ read(ar__,1) + Seq,Name,OName,RAhour,DEdeg,GLON,GLAT,Rco,Rcl,RV,e_RV,n_RV, + pmRA,e_pmRA,pmDE,e_pmDE,pmGLON,pmGLAT,N1s,Dist,E_B_V,V_Mv, + r_Dist,logt,o_logt,RVref,e_RVref,r_RVref,logtref,r_logtref, + n_Seq c ..............Just test output........... write(6,1) + Seq,Name,OName,RAhour,DEdeg,GLON,GLAT,Rco,Rcl,RV,e_RV,n_RV, + pmRA,e_pmRA,pmDE,e_pmDE,pmGLON,pmGLAT,N1s,Dist,E_B_V,V_Mv, + r_Dist,logt,o_logt,RVref,e_RVref,r_RVref,logtref,r_logtref, + n_Seq c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'cluster.dat' ! Cluster list C Format for file interpretation 2 format(1X,I3,1X,A33,1X,F7.3,F7.2) C Effective file loading open(unit=1,status='old',file= +'cluster.dat') write(6,*) '....Loading file: cluster.dat' do i__=1,520 read(1,'(A53)')ar__1 read(ar__1,2)Seq_1,Name_1,RAhour_1,DEdeg_1 c ..............Just test output........... write(6,2)Seq_1,Name_1,RAhour_1,DEdeg_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'notes.dat' ! Individual notes C Format for file interpretation 3 format(I3,1X,A76) C Effective file loading open(unit=1,status='old',file= +'notes.dat') write(6,*) '....Loading file: notes.dat' do i__=1,488 read(1,'(A80)')ar__2 read(ar__2,3)Seq_2,Note c ..............Just test output........... write(6,3)Seq_2,Note c .......End.of.Just test output........... end do close(1) C============================================================================= stop end