Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_AS/136/293 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 2026-Aug-11
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+AS/136/293 Sirius photographic observations (Jasinta+, 1999)
*================================================================================
*The photographic observations on the components of Sirius
* Jasinta D.M.D., Hidayat B.
* <Astron. Astrophys. Suppl. Ser. 136, 293 (1999)>
* =1999A&AS..136..293J (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Individual observational data on Sirius
integer*4 nr__
parameter (nr__=54) ! Number of records
character*89 ar__ ! Full-size record
integer*4 Plate ! Plate number
real*8 Epoch ! (yr) Epoch of observation
real*4 DRAcosDE ! (arcsec) Mean value of {DELTA}{alpha}cos{delta}
integer*4 e_DRAcosDE ! (mas) Mean error of DRAcosDE
real*4 DDE ! (arcsec) Mean position of {DELTA}{delta}
integer*4 e_DDE ! (mas) Mean error of DDE
real*4 PA ! (deg) Position angle
integer*4 e_PA ! (0.01deg) Mean error of position angle
real*4 Sep ! (arcsec) Measured separation
integer*4 e_Sep ! (mas) Mean error of measured separation
real*4 Cont ! ? Contraction of emulsion
integer*4 e_Cont ! (0.0001) ? Mean error of contraction of emulsion
real*4 SepCor ! (arcsec) ? Corrected separation
integer*4 e_SepCor ! (mas) ? Mean error of corrected separation
integer*4 q_PA ! ? Weight of position angle
integer*4 q_SepCor ! ? Weight of corrected separation
integer*4 Nimages ! Number of images
character*2 Obs ! Observer
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Weighted means of observations on Sirius
integer*4 nr__1
parameter (nr__1=11) ! Number of records
character*40 ar__1 ! Full-size record
real*8 EpPA ! (yr) Mean epoch for position angle
real*4 PA_1 ! (deg) Mean value of position angle
integer*4 q_PA_1 ! ? Weight of mean value of position angle
real*8 EpSepCor ! (yr) Mean epoch for corrected separation
real*4 SepCor_1 ! (arcsec) Mean value of corrected separation
integer*4 q_SepCor_1 ! ? Weight of mean value of SepCor
integer*4 Nplates ! Number of plates
C=============================================================================
C Loading file 'table1.dat' ! Individual observational data on Sirius
C Format for file interpretation
1 format(
+ I4,2X,F8.3,1X,F5.3,1X,I3,1X,F5.3,1X,I3,1X,F5.2,1X,I3,1X,F6.3,
+ 1X,I3,1X,F6.4,1X,I3,1X,F6.3,1X,I3,1X,I1,2X,I1,2X,I2,1X,A2)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,54
read(1,'(A89)')ar__
read(ar__,1)
+ Plate,Epoch,DRAcosDE,e_DRAcosDE,DDE,e_DDE,PA,e_PA,Sep,e_Sep,
+ Cont,e_Cont,SepCor,e_SepCor,q_PA,q_SepCor,Nimages,Obs
if(ar__(57:62) .EQ. '') Cont = rNULL__
if(ar__(64:66) .EQ. '') e_Cont = iNULL__
if(ar__(68:73) .EQ. '') SepCor = rNULL__
if(ar__(75:77) .EQ. '') e_SepCor = iNULL__
if(ar__(79:79) .EQ. '') q_PA = iNULL__
if(ar__(82:82) .EQ. '') q_SepCor = iNULL__
c ..............Just test output...........
write(6,1)
+ Plate,Epoch,DRAcosDE,e_DRAcosDE,DDE,e_DDE,PA,e_PA,Sep,e_Sep,
+ Cont,e_Cont,SepCor,e_SepCor,q_PA,q_SepCor,Nimages,Obs
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Weighted means of observations on Sirius
C Format for file interpretation
2 format(F8.3,1X,F5.2,1X,I2,1X,F8.3,1X,F6.3,1X,I2,1X,I1)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,11
read(1,'(A40)')ar__1
read(ar__1,2)
+ EpPA,PA_1,q_PA_1,EpSepCor,SepCor_1,q_SepCor_1,Nplates
if(ar__1(16:17) .EQ. '') q_PA_1 = iNULL__
if(ar__1(35:36) .EQ. '') q_SepCor_1 = iNULL__
c ..............Just test output...........
write(6,2)
+ EpPA,PA_1,q_PA_1,EpSepCor,SepCor_1,q_SepCor_1,Nplates
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end