Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/391/767 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 2024-Apr-17 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+A/391/767 CCD observations of Phoebe in 1998-1999 (Fienga+, 2002) *================================================================================ *CCD observations of Phoebe, 9th satellite of Saturn, made in 1998 and 1999 at *Observatoire de Haute Provence. * Fienga A., Arlot J.-E., Baron N., Bec-Borsenberger A., Crochot A., * Emelyanov N., Thuillot W. * <Astron. Astrophys. 391, 767 (2002)> * =2002A&A...391..767F C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'phoebe.dat' ! Observed positions of Phoebe. integer*4 nr__ parameter (nr__=163) ! Number of records character*46 ar__ ! Full-size record C Position composed of: RAh RAm RAs DE- DEd DEm DEs integer*4 Obs_Y ! (yr) Year of observation integer*4 Obs_M ! ("month") Month of observation real*8 Obs_D ! (d) UTC day of observation integer*4 RAh ! (h) Right ascension (Topocentric, ICRF J2000) (1) integer*4 RAm ! (min) Right ascension (Topocentric, ICRF J2000) (1) real*4 RAs ! (s) Right ascension (Topocentric, ICRF J2000) (1) character*1 DE_ ! Declination sign (Topocentric, ICRF J2000) (1) integer*4 DEd ! (deg) Declination (Topocentric, ICRF J2000) (1) integer*4 DEm ! (arcmin) Declination (Topocentric, ICRF J2000) (1) real*4 DEs ! (arcsec) Declination (Topocentric, ICRF J2000) (1) *Note (1): These positions are topocentric, ICRF J2000 and corrected from * the USNO A2.0 (Cat. <I/252>) zonal error C============================================================================= C Loading file 'phoebe.dat' ! Observed positions of Phoebe. C Format for file interpretation 1 format( + I4,1X,I2,1X,F11.8,1X,I2,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F5.2) C Effective file loading open(unit=1,status='old',file= +'phoebe.dat') write(6,*) '....Loading file: phoebe.dat' do i__=1,163 read(1,'(A46)')ar__ read(ar__,1)Obs_Y,Obs_M,Obs_D,RAh,RAm,RAs,DE_,DEd,DEm,DEs c ..............Just test output........... write(6,1)Obs_Y,Obs_M,Obs_D,RAh,RAm,RAs,DE_,DEd,DEm,DEs c .......End.of.Just test output........... end do close(1) C============================================================================= stop end