Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/121/3224 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-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/121/3224 Speckle interferometry of HIP binaries (Mason+, 2001) *================================================================================ *Speckle interferometry of new and problem Hipparcos binaries. *II. Observations obtained in 1998-1999 from McDonald observatory. * Mason B.D., Hartkopf W.I., Holdenried E.R., Rafferty T.J. * <Astron. J. 121, 3224 (2001)> * =2001AJ....121.3224M C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Newly resolved double stars integer*4 nr__ parameter (nr__=8) ! Number of records character*65 ar__ ! Full-size record C J2000 position composed of: RAh RAm DE- DEd DEm real*8 RAdeg (nr__) ! (deg) Right Ascension J2000 real*8 DEdeg (nr__) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 RAh (nr__) ! (h) Right Ascension (J2000) real*4 RAm (nr__) ! (min) Right Ascension (J2000) character*1 DE_ (nr__) ! Sign of the Declination (J2000) integer*4 DEd (nr__) ! (deg) Declination (J2000) integer*4 DEm (nr__) ! (arcmin) Declination (J2000) character*6 Disc (nr__) ! Discovery designation integer*4 HIP (nr__) ! ? HIP (Cat. <I/239>) number character*1 Type (nr__) ! [XGO] Hipparcos solution (G1) real*8 Obs (nr__) ! (yr) Besselian year of observation real*4 PA (nr__) ! (deg) Position angle character*1 u_PA (nr__) ! [:] Indicates reduced accuracy in PA real*4 Sep (nr__) ! (arcsec) Angular separation character*1 u_Sep (nr__) ! [:] Indicates reduced accuracy in Sep integer*4 Per (nr__) ! (yr) ? Estimated period character*1 Note (nr__) ! [ab] Notes (1) *Note (1): Notes: * a: Suspected double from the Tycho-2 project, not a Hipparcos "problem" star. * b: High proper motion star. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Resolved binaries (no orbit) integer*4 nr__1 parameter (nr__1=180) ! Number of records character*58 ar__1 ! Full-size record C J2000 position composed of: RAh RAm DE- DEd DEm real*8 RAdeg_1 (nr__1) ! (deg) Right Ascension J2000 real*8 DEdeg_1 (nr__1) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 RAh_1 (nr__1) ! (h) Right Ascension (J2000) real*4 RAm_1 (nr__1) ! (min) Right Ascension (J2000) character*1 DE__1 (nr__1) ! Sign of the Declination (J2000) integer*4 DEd_1 (nr__1) ! (deg) Declination (J2000) integer*4 DEm_1 (nr__1) ! (arcmin) Declination (J2000) character*13 Disc_1 (nr__1) ! Discovery designation real*8 Obs_1 (nr__1) ! (yr) Besselian year of observation real*4 PA_1 (nr__1) ! (deg) Position angle character*1 u_PA_1 (nr__1) ! [:] Indicates reduced accuracy in PA real*4 Sep_1 (nr__1) ! (arcsec) Angular separation (1) character*1 u_Sep_1 (nr__1) ! [:] Indicates reduced accuracy in Sep integer*4 NumPos (nr__1) ! Number of observations to calculate the mean * position integer*4 Note_1 (nr__1) ! ? An additional note (2) *Note (1): Not been corrected for precession and are, thus, based upon the * equinox for the epoch of observation. *Note (2): Additional notes: * 1 = Binary not detected in Paper I, Mason et al., 1999AJ....117.1890M. * 2 = System observed for Tycho-2 project (see Mason et al., * 2000AJ....120.3244M) * 3 = {theta_1_} Ori: Observed with 5x objective that has limited * calibration. * 4 = Large change in position (5.8{deg}/yr, {rho} increasing). * 5 = Agrees well with Hipparcos observation but not Paper I. * 6 = Also known as CHR 212. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Resolved binaries (with orbit residuals) integer*4 nr__2 parameter (nr__2=126) ! Number of records character*77 ar__2 ! Full-size record C J2000 position composed of: RAh RAm DE- DEd DEm real*8 RAdeg_2 (nr__2) ! (deg) Right Ascension J2000 real*8 DEdeg_2 (nr__2) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 RAh_2 (nr__2) ! (h) Right Ascension (J2000) real*4 RAm_2 (nr__2) ! (min) Right Ascension (J2000) character*1 DE__2 (nr__2) ! Sign of the Declination (J2000) integer*4 DEd_2 (nr__2) ! (deg) Declination (J2000) integer*4 DEm_2 (nr__2) ! (arcmin) Declination (J2000) character*11 Disc_2 (nr__2) ! Discovery designation real*8 Obs_2 (nr__2) ! (yr) Besselian year of observation real*4 PA_2 (nr__2) ! (deg) Position angle character*1 u_PA_2 (nr__2) ! [:] Indicates reduced accuracy in PA real*4 Sep_2 (nr__2) ! (arcsec) Angular separation character*1 u_Sep_2 (nr__2) ! [:] Indicates reduced accuracy in Sep integer*4 nPos (nr__2) ! Number of observations to calculate the mean * position real*4 v_O_C_PA (nr__2) ! (deg) Position angle residual real*4 v_O_C_Sep (nr__2) ! (arcsec) Angular separation residual character*8 r__O_C (nr__2) ! Orbit calculation references (in refs.dat file) integer*4 Note_2 (nr__2) ! ? An additional note (1) *Note (1): Additional note: * 1 = System used for spatial calibration. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'refs.dat' ! References to table3.dat integer*4 nr__3 parameter (nr__3=57) ! Number of records character*130 ar__3 ! Full-size record character*8 Ref (nr__3) ! Reference number character*19 BibCode (nr__3) ! BibCode character*28 Aut (nr__3) ! Author's names character*72 Com (nr__3) ! Comments c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! Unresolved Hipparcos double stars integer*4 nr__4 parameter (nr__4=47) ! Number of records character*33 ar__4 ! Full-size record C J2000 position composed of: RAh RAm DE- DEd DEm real*8 RAdeg_3 (nr__4) ! (deg) Right Ascension J2000 real*8 DEdeg_3 (nr__4) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 RAh_3 (nr__4) ! (h) Right Ascension (J2000) real*4 RAm_3 (nr__4) ! (min) Right Ascension (J2000) character*1 DE__3 (nr__4) ! Sign of the Declination (J2000) integer*4 DEd_3 (nr__4) ! (deg) Declination (J2000) integer*4 DEm_3 (nr__4) ! (arcmin) Declination (J2000) integer*4 HDS (nr__4) ! Hipparcos double star number character*2 n_HDS (nr__4) ! Multiplicity index on HDS integer*4 HIP_1 (nr__4) ! HIP (Cat. <I/239>) number character*3 Note_3 (nr__4) ! [abc, ] Notes (1) *Note (1): Notes: * a: Observed in Paper I, Mason et al., 1999AJ....117.1890M. Not resolved. * b: Observed twice. * c: Observed in Paper I, Mason et al., 1999AJ....117.1890M. Measured. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5.dat' ! Unresolved Hipparcos "problem" stars integer*4 nr__5 parameter (nr__5=462) ! Number of records character*13 ar__5 ! Full-size record integer*4 HIP_2 (nr__5) ! HIP (Cat. <I/239>) number character*3 Note_4 (nr__5) ! [abc, ] Note (1) character*3 Type_1 (nr__5) ! Hippacos solution (G1) *Note (1): Notes: * a: Observed in Paper I, Mason et al., 1999AJ....117.1890M. Not resolved. * b: Observed thrice. * c: Observed twice. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table6.dat' ! Unresolved Hipparcos stars integer*4 nr__6 parameter (nr__6=246) ! Number of records character*10 ar__6 ! Full-size record integer*4 HIP_3 (nr__6) ! HIP (Cat. <I/239>) number character*1 Note_5 (nr__6) ! [a] a: Observed twice C============================================================================= C Loading file 'table1.dat' ! Newly resolved double stars C Format for file interpretation 1 format( + I2,1X,F4.1,1X,A1,I2,1X,I2,1X,A6,1X,I6,1X,A1,1X,F9.4,1X,F5.1, + A1,1X,F5.3,A1,1X,I3,1X,A1) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,8 read(1,'(A65)')ar__ read(ar__,1) + RAh(i__),RAm(i__),DE_(i__),DEd(i__),DEm(i__),Disc(i__), + HIP(i__),Type(i__),Obs(i__),PA(i__),u_PA(i__),Sep(i__), + u_Sep(i__),Per(i__),Note(i__) if(ar__(23:28) .EQ. '') HIP(i__) = iNULL__ if(ar__(56:58) .EQ. '') Per(i__) = iNULL__ RAdeg(i__) = rNULL__ DEdeg(i__) = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15. if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4. if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__) if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60. if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__) c ..............Just test output........... write(6,1) + RAh(i__),RAm(i__),DE_(i__),DEd(i__),DEm(i__),Disc(i__), + HIP(i__),Type(i__),Obs(i__),PA(i__),u_PA(i__),Sep(i__), + u_Sep(i__),Per(i__),Note(i__) write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Resolved binaries (no orbit) C Format for file interpretation 2 format( + I2,1X,F4.1,1X,A1,I2,1X,I2,1X,A13,1X,F9.4,1X,F5.1,A1,1X,F6.3, + A1,1X,I1,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,180 read(1,'(A58)')ar__1 read(ar__1,2) + RAh_1(i__),RAm_1(i__),DE__1(i__),DEd_1(i__),DEm_1(i__), + Disc_1(i__),Obs_1(i__),PA_1(i__),u_PA_1(i__),Sep_1(i__), + u_Sep_1(i__),NumPos(i__),Note_1(i__) if(ar__1(57:57) .EQ. '') Note_1(i__) = iNULL__ RAdeg_1(i__) = rNULL__ DEdeg_1(i__) = rNULL__ c Derive coordinates RAdeg_1 and DEdeg_1 from input data c (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown) if(RAh_1(i__) .GT. -180) RAdeg_1(i__)=RAh_1(i__)*15. if(RAm_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAm_1(i__)/4. if(DEd_1(i__) .GE. 0) DEdeg_1(i__)=DEd_1(i__) if(DEm_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEm_1(i__)/60. if(DE__1(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__) c ..............Just test output........... write(6,2) + RAh_1(i__),RAm_1(i__),DE__1(i__),DEd_1(i__),DEm_1(i__), + Disc_1(i__),Obs_1(i__),PA_1(i__),u_PA_1(i__),Sep_1(i__), + u_Sep_1(i__),NumPos(i__),Note_1(i__) write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Resolved binaries (with orbit residuals) C Format for file interpretation 3 format( + I2,1X,F4.1,1X,A1,I2,1X,I2,1X,A11,1X,F9.4,1X,F5.1,A1,1X,F5.3, + A1,1X,I1,1X,F5.1,1X,F6.3,1X,A8,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,126 read(1,'(A77)')ar__2 read(ar__2,3) + RAh_2(i__),RAm_2(i__),DE__2(i__),DEd_2(i__),DEm_2(i__), + Disc_2(i__),Obs_2(i__),PA_2(i__),u_PA_2(i__),Sep_2(i__), + u_Sep_2(i__),nPos(i__),v_O_C_PA(i__),v_O_C_Sep(i__), + r__O_C(i__),Note_2(i__) if(ar__2(76:76) .EQ. '') Note_2(i__) = iNULL__ RAdeg_2(i__) = rNULL__ DEdeg_2(i__) = rNULL__ c Derive coordinates RAdeg_2 and DEdeg_2 from input data c (RAdeg_2 and DEdeg_2 are set to rNULL__ when unknown) if(RAh_2(i__) .GT. -180) RAdeg_2(i__)=RAh_2(i__)*15. if(RAm_2(i__) .GT. -180) RAdeg_2(i__)=RAdeg_2(i__)+RAm_2(i__)/4. if(DEd_2(i__) .GE. 0) DEdeg_2(i__)=DEd_2(i__) if(DEm_2(i__) .GE. 0) DEdeg_2(i__)=DEdeg_2(i__)+DEm_2(i__)/60. if(DE__2(i__).EQ.'-'.AND.DEdeg_2(i__).GE.0) DEdeg_2(i__)=-DEdeg_2(i__) c ..............Just test output........... write(6,3) + RAh_2(i__),RAm_2(i__),DE__2(i__),DEd_2(i__),DEm_2(i__), + Disc_2(i__),Obs_2(i__),PA_2(i__),u_PA_2(i__),Sep_2(i__), + u_Sep_2(i__),nPos(i__),v_O_C_PA(i__),v_O_C_Sep(i__), + r__O_C(i__),Note_2(i__) write(6,'(6H Pos: 2F8.4)') RAdeg_2(i__),DEdeg_2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'refs.dat' ! References to table3.dat C Format for file interpretation 4 format(A8,1X,A19,1X,A28,1X,A72) C Effective file loading open(unit=1,status='old',file= +'refs.dat') write(6,*) '....Loading file: refs.dat' do i__=1,57 read(1,'(A130)')ar__3 read(ar__3,4)Ref(i__),BibCode(i__),Aut(i__),Com(i__) c ..............Just test output........... write(6,4)Ref(i__),BibCode(i__),Aut(i__),Com(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table4.dat' ! Unresolved Hipparcos double stars C Format for file interpretation 5 format(I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I4,1X,A2,1X,I6,1X,A3) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,47 read(1,'(A33)')ar__4 read(ar__4,5) + RAh_3(i__),RAm_3(i__),DE__3(i__),DEd_3(i__),DEm_3(i__), + HDS(i__),n_HDS(i__),HIP_1(i__),Note_3(i__) RAdeg_3(i__) = rNULL__ DEdeg_3(i__) = rNULL__ c Derive coordinates RAdeg_3 and DEdeg_3 from input data c (RAdeg_3 and DEdeg_3 are set to rNULL__ when unknown) if(RAh_3(i__) .GT. -180) RAdeg_3(i__)=RAh_3(i__)*15. if(RAm_3(i__) .GT. -180) RAdeg_3(i__)=RAdeg_3(i__)+RAm_3(i__)/4. if(DEd_3(i__) .GE. 0) DEdeg_3(i__)=DEd_3(i__) if(DEm_3(i__) .GE. 0) DEdeg_3(i__)=DEdeg_3(i__)+DEm_3(i__)/60. if(DE__3(i__).EQ.'-'.AND.DEdeg_3(i__).GE.0) DEdeg_3(i__)=-DEdeg_3(i__) c ..............Just test output........... write(6,5) + RAh_3(i__),RAm_3(i__),DE__3(i__),DEd_3(i__),DEm_3(i__), + HDS(i__),n_HDS(i__),HIP_1(i__),Note_3(i__) write(6,'(6H Pos: 2F8.4)') RAdeg_3(i__),DEdeg_3(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table5.dat' ! Unresolved Hipparcos "problem" stars C Format for file interpretation 6 format(I6,A3,1X,A3) C Effective file loading open(unit=1,status='old',file= +'table5.dat') write(6,*) '....Loading file: table5.dat' do i__=1,462 read(1,'(A13)')ar__5 read(ar__5,6)HIP_2(i__),Note_4(i__),Type_1(i__) c ..............Just test output........... write(6,6)HIP_2(i__),Note_4(i__),Type_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table6.dat' ! Unresolved Hipparcos stars C Format for file interpretation 7 format(I6,A1) C Effective file loading open(unit=1,status='old',file= +'table6.dat') write(6,*) '....Loading file: table6.dat' do i__=1,246 read(1,'(A10)')ar__6 read(ar__6,7)HIP_3(i__),Note_5(i__) c ..............Just test output........... write(6,7)HIP_3(i__),Note_5(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end