Conversion of standardized ReadMe file for
file /./ftp/cats/J/AZh/80/291 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 2026-Aug-12
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/AZh/80/291 Proper motions of open clusters (Kharchenko+, 2003)
*================================================================================
*Subsystem of open clusters in the post-Hipparcos era:
*cluster structural parameters and proper motions.
* Kharchenko N.V., Pakulyak L.K., Piskunov A.E.
* <Astron. Zh. 80, 291 (2003)>
* =2003AZh....80..291K
* =2003ARep...47..263K
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'catalog.dat' ! Catalog
integer*4 nr__
parameter (nr__=401) ! Number of records
character*107 ar__ ! Full-size record
C J2000.0 position composed of: RAhr DEdeg
character*9 IAU (nr__) ! IAU number, based on B1950 position (1)
character*14 Name (nr__) ! Traditional name and/or number
real*4 RAhr (nr__) ! (h) Right Ascension J2000.0 (2)
real*4 DEdeg (nr__) ! (deg) Declination J2000.0 (2)
real*4 r1_ASCC (nr__) ! (deg) Core radius from ASCC-2.5
real*4 r2_ASCC (nr__) ! (deg) Corona radius from ASCC-2.5
real*4 r1_USNO (nr__) ! (deg) ? Core radius from USNO-A2.0
real*4 r2_USNO (nr__) ! (deg) ? Corona radius from USNO-A2.0
real*4 Bc (nr__) ! (mag) ? Completing B-magnitude in USNO-A2.0
integer*4 N_P_61 (nr__) ! Number of the most probable members,
* Pmemb >= 61%
integer*4 Npm (nr__) ! Number of stars for cluster proper motion
real*4 pmRA (nr__) ! (mas/yr) Proper motion of cluster in RA*cos(DE)
real*4 e_pmRA (nr__) ! (mas/yr) Standard error in pmRA
real*4 pmDE (nr__) ! (mas/yr) Proper motion of cluster in DE
real*4 e_pmDE (nr__) ! (mas/yr) Standard error in pmDE
integer*4 Dist (nr__) ! (pc) Distance of cluster
real*4 E_B_V (nr__) ! (mag) ? Colour-excess
integer*4 Ref (nr__) ! Flag of Dist and E(B-V) source (3)
*Note (1): IAU: Cluster notation according to the system accepted by the
* International Astronomical Union in Montreal 1979
*Note (2): RAh, DEdeg are corrected in accordance with maximum member
* spatial density
*Note (3): This flag has the following meaning:
* 1: Loktin et al. (1994, Cat. <V/96>),
* Loktin et al. (2001a, Astron. Astrophys. Trans. 20, 607,
* 2001b, Private communication)
* 2: Robichon et al. (1999, Cat. <J/A+A/345/471>)
* 3: Lynga (1987, see Cat. <VII/229>)
* 4: Mermilliod (1995, WEBDA, The DataBase for Stars in Open Clusters,
* http://obswww.unige.ch/webda)
* 5: Kharchenko et al., this paper
C=============================================================================
C Loading file 'catalog.dat' ! Catalog
C Format for file interpretation
1 format(
+ A9,1X,A14,1X,F6.3,1X,F6.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,
+ F4.1,1X,I3,1X,I3,1X,F6.2,1X,F4.2,1X,F6.2,1X,F4.2,1X,I4,1X,
+ F4.2,1X,I1)
C Effective file loading
open(unit=1,status='old',file=
+'catalog.dat')
write(6,*) '....Loading file: catalog.dat'
do i__=1,401
read(1,'(A107)')ar__
read(ar__,1)
+ IAU(i__),Name(i__),RAhr(i__),DEdeg(i__),r1_ASCC(i__),
+ r2_ASCC(i__),r1_USNO(i__),r2_USNO(i__),Bc(i__),N_P_61(i__),
+ Npm(i__),pmRA(i__),e_pmRA(i__),pmDE(i__),e_pmDE(i__),
+ Dist(i__),E_B_V(i__),Ref(i__)
if(ar__(50:53) .EQ. '') r1_USNO(i__) = rNULL__
if(ar__(55:58) .EQ. '') r2_USNO(i__) = rNULL__
if(ar__(60:63) .EQ. '') Bc(i__) = rNULL__
if(ar__(102:105) .EQ. '') E_B_V(i__) = rNULL__
c ..............Just test output...........
write(6,1)
+ IAU(i__),Name(i__),RAhr(i__),DEdeg(i__),r1_ASCC(i__),
+ r2_ASCC(i__),r1_USNO(i__),r2_USNO(i__),Bc(i__),N_P_61(i__),
+ Npm(i__),pmRA(i__),e_pmRA(i__),pmDE(i__),e_pmDE(i__),
+ Dist(i__),E_B_V(i__),Ref(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end