Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_AS/139/305 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-15
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/139/305 Position of Saturn's satellites (1982-1988) (Veiga+, 1999)
*================================================================================
*Photographic positions for the first eight satellites of Saturn
* Veiga C.H., Vieira Martins R.
* <Astron. Astrophys. Suppl. Ser. 139, 305 (1999)>
* =1999A&AS..139..305V (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! *List of observed positions of the Saturnian
satellite
integer*4 nr__
parameter (nr__=813) ! Number of records
character*81 ar__ ! Full-size record
integer*4 Opp ! Opposition year code number (105=1989, 111=1988)
integer*4 Obs_Y ! (yr) Year of observation
integer*4 Obs_M ! Month of observation
real*8 Obs_D ! (d) UTC date of observation (DD.dddddd)
real*4 ET_UTC ! (s) ET-UTC to the nearest tenth of second
integer*4 Code ! [874] Observatory code
* (874: Laboratorio Nacional de Astrofisica)
character*2 Ref ! [**] Reference code (no entries)
integer*4 ObsType ! [2] Observation type ({Delta}RA, {Delta}DE)
integer*4 Sat ! Subject satellite, reference satellite (1)
integer*4 Obs1 ! [0/1] Presence flag for first observation
* of pair (2)
integer*4 Obs2 ! [0/1] Presence flag for second observation
* of pair (2)
real*8 DRA ! (s) Position {Delta}RA
real*8 DDE ! (arcsec) Position {Delta}DE
integer*4 Sys ! [2] Reference system (J2000.0)
integer*4 Frame ! [1] Reference frame (geocentric)
real*4 Res1 ! (arcsec) (O-C) {Delta}RAcosDE residual for first
* observation of pair
real*4 Res2 ! (arcsec) (O-C) {Delta}RAcosDE residual for second
* observation of pair
*Note (1): Satellite numbers used in the catalogue conform to the conventional
* IAU numbering system. 0 is used to denote the planet.
* 1: Mimas; 2: Enceladus; 3: Tethys; 4: Dione; 5: Rhea; 6: Titan;
* 7: Hyperion; 8: Iapetus; 9: Phoebe
*Note (2): 0: observation absent
* 1: observation present
C=============================================================================
C Loading file 'table2.dat' ! *List of observed positions of the Saturnian
* satellite
C Format for file interpretation
1 format(
+ I3,1X,I4,1X,I2,1X,F9.6,1X,F4.1,1X,I3,1X,A2,1X,I1,1X,I2,1X,I1,
+ I1,1X,F11.6,1X,F11.6,1X,I1,1X,I1,1X,F5.2,1X,F5.2)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,813
read(1,'(A81)')ar__
read(ar__,1)
+ Opp,Obs_Y,Obs_M,Obs_D,ET_UTC,Code,Ref,ObsType,Sat,Obs1,Obs2,
+ DRA,DDE,Sys,Frame,Res1,Res2
c ..............Just test output...........
write(6,1)
+ Opp,Obs_Y,Obs_M,Obs_D,ET_UTC,Code,Ref,ObsType,Sat,Obs1,Obs2,
+ DRA,DDE,Sys,Frame,Res1,Res2
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end