Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/154/195 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-Jun-10
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/154/195 New binaries in the {epsilon} Cha association (Briceno+, 2017)
*================================================================================
*New binaries in the {epsilon} Cha association.
* Briceno C., Tokovinin A.
* <Astron. J., 154, 195 (2017)>
* =2017AJ....154..195B (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Targets Observed in the epsilon Cha Stellar Group
integer*4 nr__
parameter (nr__=47) ! Number of records
character*92 ar__ ! Full-size record
C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg (nr__) ! (deg) Right Ascension J2000
real*8 DEdeg (nr__) ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
character*20 Name (nr__) ! Star name
character*15 Memb (nr__) ! Designation from Murphy et al. (2013,
* J/MNRAS/435/1325) (1)
integer*4 RAh (nr__) ! (h) Hour of Right Ascension (J2000)
integer*4 RAm (nr__) ! (min) Minute of Right Ascension (J2000)
real*4 RAs (nr__) ! (s) Second of Right Ascension (J2000)
character*1 DE_ (nr__) ! Sign of the Declination (J2000)
integer*4 DEd (nr__) ! (deg) Degree of Declination (J2000)
integer*4 DEm (nr__) ! (arcmin) Arcminute of Declination (J2000)
real*4 DEs (nr__) ! (arcsec) Arcsecond of Declination (J2000)
real*4 Imag (nr__) ! (mag) [5.39/14.0] Cousins I-band magnitude
character*5 SpType (nr__) ! MK spectral type
integer*4 Dist1 (nr__) ! (pc) [90/477]? Distance from Gaia DR1 parallax
* (Cat. I/337)
integer*4 e_Dist1 (nr__) ! (pc) [5/157]? Uncertainty in Dist1
integer*4 Dist2 (nr__) ! (pc) [94/165]? Distance from Murphy et al.
* (2013, J/MNRAS/435/1325)
character*1 r_Dist2 (nr__) ! [H] Reference for Dist2 (2)
real*4 Sep (nr__) ! (arcsec) [0.03/4.2]? Separation between components
character*1 f_Sep (nr__) ! [*T] Flag on separation (3)
*Note (1): Membership confirmed by Murphy et al. (2013, J/MNRAS/435/1325) have
* their corresponding Cha-NN numbers indicated. Candidate members are marked as
* "Cha-cand", while rejected members are labeled as "Cha-rej". For previously
* known multiples listed in the Washington Double Star catalog (Mason et al.
* 2001, Cat. B/wds) the "discoverer codes" are also provided.
*Note (2): Reference as follows:
* H = The parallax is from Hipparcos (Cat. I/239).
* Otherwise, parallaxes are kinematic.
*Note (3): Flag as follows:
* * = First-time resolution;
* T = Triple system.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Measurements of Resolved Multiples in epsilon Cha
integer*4 nr__1
parameter (nr__1=31) ! Number of records
character*78 ar__1 ! Full-size record
character*10 WDS (nr__1) ! Washington Double Star catalog designation
* (HHMMm+DDMM)
character*28 Name_1 (nr__1) ! Star name (1)
real*8 Epoch (nr__1) ! (yr) [16.0474/17.3719] Besselian epoch of observation
* (minus 2000)
character*1 Filter (nr__1) ! [Iy] Filter used
real*4 theta (nr__1) ! (deg) [5.5/311.3] Position angle {theta}
real*4 rho (nr__1) ! (arcsec) [0.0306/4.2409] Separation {rho}
real*4 Dm (nr__1) ! (mag) [0/5.7] Magnitude difference {Delta}m between
* components
character*1 f_Dm (nr__1) ! [*:q] Flag on Dm (2)
character*9 Note (nr__1) ! Short note
*Note (1): From Table 1, Murphy et al. (2013, J/MNRAS/435/1325).
*Note (2): Flag as follows:
* * = {Delta}m and the true quadrant are determined from the resolved
* long-exposure image;
* : = Indicates that the data are noisy and {Delta}m is likely overestimated
* (see Tokovinin et al. 2010, J/AJ/139/743 for details);
* q = The quadrant is determined from the SAA image. In cases of multiple
* stars, the positions and photometry refer to the pairings between
* individual stars, not the photocenters of subsystems.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Detection Limits for Unresolved Targets
integer*4 nr__2
parameter (nr__2=28) ! Number of records
character*34 ar__2 ! Full-size record
character*21 Name_2 (nr__2) ! Target name
real*4 rho_min (nr__2) ! (arcsec) [0.04/0.1] Minimum separation {rho}_min_ (1)
real*4 Dm_0_15 (nr__2) ! (mag) [0.7/2.6] Magnitude difference for 0.15 arcsec
* separation (2)
real*4 Dm_1 (nr__2) ! (mag) [2.2/6.1] Magnitude difference for 1 arcsec
* separation (2)
*Note (1): The minimum separation equals the diffraction limit of 40 mas for
* all targets except the faintest ones, for which it is 0.1 arcsec.
*Note (2): The maximum detectable magnitude difference in the Cousins I-band
* at separations of 0.15 and 1 arcsec respectively, estimated from the
* autocorrelation function.
C=============================================================================
C Loading file 'table1.dat' ! Targets Observed in the epsilon Cha Stellar Group
C Format for file interpretation
1 format(
+ A20,1X,A15,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,F4.1,1X,F5.2,
+ 1X,A5,1X,I3,1X,I3,1X,I3,1X,A1,1X,F4.2,1X,A1)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,47
read(1,'(A92)')ar__
read(ar__,1)
+ Name(i__),Memb(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),
+ DEd(i__),DEm(i__),DEs(i__),Imag(i__),SpType(i__),Dist1(i__),
+ e_Dist1(i__),Dist2(i__),r_Dist2(i__),Sep(i__),f_Sep(i__)
if(ar__(73:75) .EQ. '') Dist1(i__) = iNULL__
if(ar__(77:79) .EQ. '') e_Dist1(i__) = iNULL__
if(ar__(81:83) .EQ. '') Dist2(i__) = iNULL__
if(ar__(87:90) .EQ. '') Sep(i__) = rNULL__
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(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240.
if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600.
if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c ..............Just test output...........
write(6,1)
+ Name(i__),Memb(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),
+ DEd(i__),DEm(i__),DEs(i__),Imag(i__),SpType(i__),Dist1(i__),
+ e_Dist1(i__),Dist2(i__),r_Dist2(i__),Sep(i__),f_Sep(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' ! Measurements of Resolved Multiples in epsilon Cha
C Format for file interpretation
2 format(
+ A10,1X,A28,1X,F7.4,1X,A1,1X,F5.1,1X,F6.4,1X,F3.1,1X,A1,1X,A9)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,31
read(1,'(A78)')ar__1
read(ar__1,2)
+ WDS(i__),Name_1(i__),Epoch(i__),Filter(i__),theta(i__),
+ rho(i__),Dm(i__),f_Dm(i__),Note(i__)
c ..............Just test output...........
write(6,2)
+ WDS(i__),Name_1(i__),Epoch(i__),Filter(i__),theta(i__),
+ rho(i__),Dm(i__),f_Dm(i__),Note(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Detection Limits for Unresolved Targets
C Format for file interpretation
3 format(A21,1X,F4.2,1X,F3.1,1X,F3.1)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,28
read(1,'(A34)')ar__2
read(ar__2,3)Name_2(i__),rho_min(i__),Dm_0_15(i__),Dm_1(i__)
c ..............Just test output...........
write(6,3)Name_2(i__),rho_min(i__),Dm_0_15(i__),Dm_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end