Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/122/1486 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-19 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/AJ/122/1486 NGC 2451A proper motions and membership (Platais+, 2001) *================================================================================ *WIYN open cluster study. VII. NGC 2451A and the Hipparcos distance scale. * Platais I., Kozhurina-Platais V., Barnes S., Girard T.M., Demarque P., * van Altena W.F., Deliyannis C.P., Horch E. * <Astron. J. 122, 1486 (2001)> * =2001AJ....122.1486P C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Astrometry and photometry for probable cluster members in NGC 2451A integer*4 nr__ parameter (nr__=136) ! Number of records character*65 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs (Epoch=J2000) real*8 RAdeg ! (deg) Right Ascension J2000, Epoch=J2000 real*8 DEdeg ! (deg) Declination J2000, Epoch=J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 PKB ! Running identification number, * Cl* NGC 2451 PKB NNNNN in Simbad integer*4 Will ! ? The Williams (1967MNSSA..26...30W) number, * NGC 2451 NNN in Simbad integer*4 RAh ! (h) Right Ascension (J2000, epoch J2000) (1) integer*4 RAm ! (min) Right Ascension (J2000, epoch J2000) (1) real*4 RAs ! (s) Right Ascension (J2000, epoch J2000) (1) character*1 DE_ ! Declination sign (J2000, epoch J2000) (1) integer*4 DEd ! (deg) Declination (J2000, epoch J2000) (1) integer*4 DEm ! (arcmin) Declination (J2000, epoch J2000) (1) real*4 DEs ! (arcsec) Declination (J2000, epoch J2000) (1) real*4 pmX ! (mas/yr) Relative proper motion along X (2) real*4 pmY ! (mas/yr) Relative proper motion along Y (2) real*4 Vmag ! (mag) The Johnson V band magnitude character*1 r_Vmag ! [aeu] Source of Vmag (3) real*4 B_V ! (mag) The (B-V) color integer*4 o_Vmag ! Number of observations for Vmag integer*4 Prob ! (%) Cluster membership probability *Note (1): Epoch and equinox J2000. *Note (2): Relative proper motions to X, Y directions, specified in spm.dat file. *Note (3): Reference for photometry: * a = B and V photometry adopted from Hipparcos, Cat. <I/239> * e = B and V photometry from SPM photometry (see Sec.2.2) * u = B and V photometry from Williams (1967MNSSA..26...30W) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Radial velocities integer*4 nr__1 parameter (nr__1=67) ! Number of records character*34 ar__1 ! Full-size record integer*4 PKB_1 ! Running identification number, * Cl* NGC 2451 PKB NNNNN in Simbad real*8 HJD ! (d) Heliocentric Julian date real*4 HRV ! (km/s) Heliocentric radial velocity character*1 n_HRV ! [a] indicates a broad cross-correlation peak character*4 Memb ! Membership status based on membership * probability (2) *Note (2): Membership status: * ms: star located on the main sequence of NGC 2451A or up to 0.75mag above * B-cl: probable NGC 2451B members * fld: star located below or well above the main sequence of NGC 2451A, * considered as field star c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'spm.dat' ! Catalog of positions, relative proper motions and BV photographic photometry in the region of open cluster NGC 2451 integer*4 nr__2 parameter (nr__2=5868) ! Number of records character*129 ar__2 ! Full-size record C 1991.25 position composed of: RArad DErad (Epoch=1991.25) integer*4 PKB_2 ! Running identification number, * Cl* NGC 2451 PKB NNNNN in Simbad real*4 Xpos ! (mm) X position (1) real*4 Ypos ! (mm) Y position (1) real*8 RArad ! (rad) Right ascension for the epoch 1991.25 * and in the ICRS reference system * (i.e. equinox 2000.0) real*8 DErad ! (rad) Declination for the epoch 1991.25 and * equinox 2000.0 integer*4 e_RArad ! (mas) Estimated standard error in right ascension * multiplied by cos(DE) integer*4 e_DErad ! (mas) Estimated standard error in declination real*4 pmRA ! (mas/yr) Relative proper motion in right ascension * multiplied by cos(DE) real*4 pmDE ! (mas/yr) Relative proper motion in declination integer*4 o_Bmag ! The number of grating images per star detected * on blue plates (grating image pairs are * counted as one image) integer*4 o_Vmag_1 ! The number of grating images per star on * visual plates real*4 e_pmRA ! (mas/yr) Estimated standard error in right ascension's * proper motion real*4 e_pmDE ! (mas/yr) Estimated standard error in declination's * proper motion real*4 Bmag ! (mag) ?=0.00 Photographic B-magnitude * (if missing then set to 0.00) real*4 e_Bmag ! (mag) Estimated standard error of B-magnitude real*4 Vmag_1 ! (mag) ?=0.00 Photographic V-magnitude * (if missing then set to 0.00) real*4 e_Vmag ! (mag) Estimated standard error of V-magnitude real*4 Vmagc ! (mag) ?=-1.000 CCD V-magnitude * (if missing then set to -1.000) real*4 B_Vc ! (mag) ?=-1.000 CCD B-V color * (if missing then set to -1.000) real*4 e_Vmagc ! (mag) IRAF generated error in CCD V-magnitude real*4 e_B_Vc ! (mag) IRAF generated error in CCD B-V color integer*4 Nframe ! [0/4]? Number of frames per star (G1) *Note (1): Approximate rectangular coordinates on the SPM plate #18. * The scale of SPM plates is 55.1"/mm. East is in the direction of * increasing X, North is in the direction of Y. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'ccd.dat' ! Catalog of CCD BV photometry in the region of open cluster NGC 2451 integer*4 nr__3 parameter (nr__3=14836) ! Number of records character*71 ar__3 ! Full-size record C 1996.6 position composed of: RAdeg DEdeg (Epoch=1996.6,) integer*4 Seq ! Object identifier (1) real*8 RAdeg_1 ! (deg) Right ascension * (mean epoch=1996.6, equinox J2000.0) real*8 DEdeg_1 ! (deg) Declination (mean epoch=1996.6, equinox J2000.0) real*4 Vmag_2 ! (mag) CCD V magnitude real*4 B_V_1 ! (mag) CCD B-V magnitude real*4 e_Vmag_1 ! (mag) IRAF generated error in CCD V-magnitude real*4 e_B_V ! (mag) IRAF generated error in CCD B-V color real*4 DRA ! (arcsec) "CCD-USNOA2.0" (<I/252>) coordinate difference * in right ascension multiplied by cos(DE) real*4 DDE ! (arcsec) "CCD-USNOA2.0" (<I/252>) coordinate difference * in declination integer*4 Nframe_1 ! [1/4] Number of frames per star (G1) *Note (1): Normally, first four digits indicate the probable NGC 2451A member * which usually was placed at the center of CCD chip C============================================================================= C Loading file 'table1.dat' ! Astrometry and photometry for probable cluster * members in NGC 2451A C Format for file interpretation 1 format( + I4,1X,I3,1X,I1,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F5.2,1X,F5.1, + 1X,F4.1,1X,F6.3,1X,A1,1X,F6.3,1X,I1,1X,I2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,136 read(1,'(A65)')ar__ read(ar__,1) + PKB,Will,RAh,RAm,RAs,DE_,DEd,DEm,DEs,pmX,pmY,Vmag,r_Vmag,B_V, + o_Vmag,Prob if(ar__(6:8) .EQ. '') Will = iNULL__ RAdeg = rNULL__ DEdeg = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh .GT. -180) RAdeg=RAh*15. if(RAm .GT. -180) RAdeg=RAdeg+RAm/4. if(RAs .GT. -180) RAdeg=RAdeg+RAs/240. if(DEd .GE. 0) DEdeg=DEd if(DEm .GE. 0) DEdeg=DEdeg+DEm/60. if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600. if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg c ..............Just test output........... write(6,1) + PKB,Will,RAh,RAm,RAs,DE_,DEd,DEm,DEs,pmX,pmY,Vmag,r_Vmag,B_V, + o_Vmag,Prob write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Radial velocities C Format for file interpretation 2 format(I4,1X,F11.3,1X,F6.2,A1,2X,A4) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,67 read(1,'(A34)')ar__1 read(ar__1,2)PKB_1,HJD,HRV,n_HRV,Memb c ..............Just test output........... write(6,2)PKB_1,HJD,HRV,n_HRV,Memb c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'spm.dat' ! Catalog of positions, relative proper motions * and BV photographic photometry in the region of * open cluster NGC 2451 C Format for file interpretation 3 format( + 1X,I4,1X,F6.2,1X,F6.2,1X,F10.7,1X,F10.7,1X,I3,1X,I3,1X,F6.1, + 1X,F6.1,1X,I2,1X,I2,1X,F4.1,1X,F4.1,1X,F5.2,1X,F4.2,1X,F5.2, + 1X,F4.2,1X,F6.3,1X,F6.3,1X,F5.3,1X,F5.3,1X,I1) C Effective file loading open(unit=1,status='old',file= +'spm.dat') write(6,*) '....Loading file: spm.dat' do i__=1,5868 read(1,'(A129)')ar__2 read(ar__2,3) + PKB_2,Xpos,Ypos,RArad,DErad,e_RArad,e_DErad,pmRA,pmDE,o_Bmag, + o_Vmag_1,e_pmRA,e_pmDE,Bmag,e_Bmag,Vmag_1,e_Vmag,Vmagc,B_Vc, + e_Vmagc,e_B_Vc,Nframe if(ar__2(129:129) .EQ. '') Nframe = iNULL__ c ..............Just test output........... write(6,3) + PKB_2,Xpos,Ypos,RArad,DErad,e_RArad,e_DErad,pmRA,pmDE,o_Bmag, + o_Vmag_1,e_pmRA,e_pmDE,Bmag,e_Bmag,Vmag_1,e_Vmag,Vmagc,B_Vc, + e_Vmagc,e_B_Vc,Nframe c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'ccd.dat' ! Catalog of CCD BV photometry in the region of * open cluster NGC 2451 C Format for file interpretation 4 format( + I9,1X,F9.5,1X,F9.5,1X,F6.3,1X,F6.3,1X,F5.3,1X,F5.3,1X,F6.3,1X, + F6.3,1X,I1) C Effective file loading open(unit=1,status='old',file= +'ccd.dat') write(6,*) '....Loading file: ccd.dat' do i__=1,14836 read(1,'(A71)')ar__3 read(ar__3,4) + Seq,RAdeg_1,DEdeg_1,Vmag_2,B_V_1,e_Vmag_1,e_B_V,DRA,DDE, + Nframe_1 c ..............Just test output........... write(6,4) + Seq,RAdeg_1,DEdeg_1,Vmag_2,B_V_1,e_Vmag_1,e_B_V,DRA,DDE, + Nframe_1 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end