Conversion of standardized ReadMe file for
file /./ftp/cats/I/252 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.5, on 2013-May-21
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/252 The USNO-A2.0 Catalogue (Monet+ 1998)
*================================================================================
*USNO-A V2.0, A Catalog of Astrometric Standards
* Monet D.
* Bird A., Canzian B., Dahn C., Guetter H., Harris H., Henden A.,
* Levine S., Luginbuhl C., Monet A.K.B., Rhodes A., Riepe B.,
* Sell S., Stone R., Vrba F., Walker R.
* <U.S. Naval Observatory Flagstaff Station (USNOFS) and
* Universities Space Research Association (USRA) stationed at USNOFS.
* (1998)>
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'out.sam' ! *Sample output (out of 526,280,881 stars)
integer*4 nr__
parameter (nr__=100) ! Number of records
character*55 ar__ ! Full-size record
character*13 USNO_A2_0 ! *Original designation in USNO-A2.0 catalogue
real*8 RAdeg ! (deg) Right ascension (ICRS) mean of blue/red plates
real*8 DEdeg ! (deg) Declination (ICRS) mean of blue/red plates
character*1 ACTflag ! [A] 'A' when star belongs to ACT (Cat. <I/246>)
character*1 Mflag ! [*] '*' magnitudes are probably wrong
real*4 Bmag ! (mag) Magnitude from blue plate
real*4 Rmag ! (mag) Magnitude from red plate
real*8 Epoch ! (yr) *?=0.0 Mean epoch of position
*Note on USNO-A2.0:
* This number allows to retrieve the exact original record: it is made
* of a zone number (4 digits from 0000 to 1725 representing the distance
* in 0.1deg to the South Pole, stepped by 75 = 7.5degrees), a dash (-)
* and a number in the area (8 digits, order by IRCS (J2000) RA);
* ****Note that this number differs from the USNO-A1.0 one.
*Note on Epoch:
* Epoch is the averaged date of observation between the blue and
* the red plates.
C=============================================================================
C Loading file 'out.sam' ! *Sample output (out of 526,280,881 stars)
C Format for file interpretation
1 format(A13,1X,F10.6,F10.6,A1,A1,1X,F4.1,1X,F4.1,1X,F8.3)
C Effective file loading
open(unit=1,file='out.sam', status='old')
write(6,*) '....Loading file: out.sam'
do i__=1,100
read(1,'(A55)')ar__
read(ar__,1)
+ USNO_A2_0,RAdeg,DEdeg,ACTflag,Mflag,Bmag,Rmag,Epoch
c ..............Just test output...........
write(6,1)
+ USNO_A2_0,RAdeg,DEdeg,ACTflag,Mflag,Bmag,Rmag,Epoch
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end