Conversion of standardized ReadMe file for
file /./ftp/cats/I/242 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.5, on 2013-May-20
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__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. I/242 Pulkovo Photographic Vertical Circle (PVC96) (Gontcharov+ 1998)
*================================================================================
*The catalogue PVC96
* Gontcharov A.G., Bagildinsky B.K., Kornilov E.V.,
* Polojentsev D.D., Shkutov V.D.
* <Izv. Glav. Astron. Obs., 213, 48 (1998)>
* =1998IzPul.213...48G
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'pvc96.dat' ! The catalog
integer*4 nr__
parameter (nr__=760) ! Number of records
character*52 ar__ ! Full-size record
integer*4 FK5 (nr__) ! Number from FK5 (<I/149>)
integer*4 HIC (nr__) ! Number from Hipparcos Input Catalogue <I/196>
integer*4 Nobs (nr__) ! Number of observations
real*4 Ep_1900 (nr__) ! (yr) Mean epoch of observation (years), offset 1900
real*8 DEdeg (nr__) ! (deg) Declination (degrees), equinox=J2000,
* epoch of observation
integer*4 PVC96_FK5 (nr__) ! (10mas) Difference between observed and FK5
* declination (hundredths of arcseconds),
* equinox=J2000, epoch of observation
integer*4 fpDEdeg (nr__) ! (10mas) Formal precision of declination
* (hundredths of arcseconds)
integer*4 e_DEdeg (nr__) ! (10mas) Evaluated accuracy of declination
* (hundredths of arcseconds)
real*8 RAhour (nr__) ! (h) Right ascension from FK5 (hours),
* equinox=J2000, equator=J2000
C=============================================================================
C Loading file 'pvc96.dat' ! The catalog
C Format for file interpretation
1 format(
+ I4,1X,I6,1X,I2,1X,F5.2,1X,F10.6,1X,I3,1X,I2,1X,I2,1X,F10.7)
C Effective file loading
open(unit=1,file='pvc96.dat', status='old')
write(6,*) '....Loading file: pvc96.dat'
do i__=1,760
read(1,'(A52)')ar__
read(ar__,1)
+ FK5(i__),HIC(i__),Nobs(i__),Ep_1900(i__),DEdeg(i__),
+ PVC96_FK5(i__),fpDEdeg(i__),e_DEdeg(i__),RAhour(i__)
c ..............Just test output...........
write(6,1)
+ FK5(i__),HIC(i__),Nobs(i__),Ep_1900(i__),DEdeg(i__),
+ PVC96_FK5(i__),fpDEdeg(i__),e_DEdeg(i__),RAhour(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end