Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_AS/139/305 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-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 (nr__) ! Opposition year code number (105=1989, 111=1988)
integer*4 Obs_Y (nr__) ! (yr) Year of observation
integer*4 Obs_M (nr__) ! Month of observation
real*8 Obs_D (nr__) ! (d) UTC date of observation (DD.dddddd)
real*4 ET_UTC (nr__) ! (s) ET-UTC to the nearest tenth of second
integer*4 Code (nr__) ! [874] Observatory code
* (874: Laboratorio Nacional de Astrofisica)
character*2 Ref (nr__) ! [**] Reference code (no entries)
integer*4 ObsType (nr__) ! [2] Observation type ({Delta}RA, {Delta}DE)
integer*4 Sat (nr__) ! Subject satellite, reference satellite (1)
integer*4 Obs1 (nr__) ! [0/1] Presence flag for first observation
* of pair (2)
integer*4 Obs2 (nr__) ! [0/1] Presence flag for second observation
* of pair (2)
real*8 DRA (nr__) ! (s) Position {Delta}RA
real*8 DDE (nr__) ! (arcsec) Position {Delta}DE
integer*4 Sys (nr__) ! [2] Reference system (J2000.0)
integer*4 Frame (nr__) ! [1] Reference frame (geocentric)
real*4 Res1 (nr__) ! (arcsec) (O-C) {Delta}RAcosDE residual for first
* observation of pair
real*4 Res2 (nr__) ! (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(i__),Obs_Y(i__),Obs_M(i__),Obs_D(i__),ET_UTC(i__),
+ Code(i__),Ref(i__),ObsType(i__),Sat(i__),Obs1(i__),Obs2(i__),
+ DRA(i__),DDE(i__),Sys(i__),Frame(i__),Res1(i__),Res2(i__)
c ..............Just test output...........
write(6,1)
+ Opp(i__),Obs_Y(i__),Obs_M(i__),Obs_D(i__),ET_UTC(i__),
+ Code(i__),Ref(i__),ObsType(i__),Sat(i__),Obs1(i__),Obs2(i__),
+ DRA(i__),DDE(i__),Sys(i__),Frame(i__),Res1(i__),Res2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end