Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/135/2177 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-Jun-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__
parame++++Only one proper motion (pm) found for: table1.dat
ter (rNULL__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. J/AJ/135/2177 High proper motion stars in the DSS. IV. (Lepine, 2008)
*================================================================================
*New high proper motion stars from the Digitized Sky Survey.
*IV. Completion of the southern survey and 170 additional stars with
*{mu}>0.45"/yr.
* Lepine S.
* <Astron. J., 135, 2177-2193 (2008)>
* =2008AJ....135.2177L
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! New high proper motion stars
integer*4 nr__
parameter (nr__=170) ! Number of records
character*116 ar__ ! Full-size record
character*12 PM (nr__) ! Star identification (PM INNNNN-NNNN)
real*8 RAdeg (nr__) ! (deg) ICRS Right Ascension in decimal degrees
real*8 DEdeg (nr__) ! (deg) ICRS Declination in decimal degrees
real*4 pm_1 (nr__) ! (arcsec/yr) Total proper motion
real*4 pmRA (nr__) ! (arcsec/yr) Proper motion in Right Ascension
real*4 pmDE (nr__) ! (arcsec/yr) Proper motion in Declination
real*4 dt (nr__) ! (yr) Temporal baseline between 1st & 2nd DSS epoch
real*4 e_pm (nr__) ! (arcsec/yr) Estimated error in pm
real*4 BJmag (nr__) ! (mag) ?=99.9 Photographic B_J_ (IIIaJ) magnitude (1)
real*4 Fmag (nr__) ! (mag) ?=99.9 Photographic R_F_ (IIIaF) magnitude (1)
real*4 Nmag (nr__) ! (mag) ?=99.9 Photographic I_N_ (IVN) magnitude (1)
real*4 Jmag (nr__) ! (mag) ?=99.99 2MASS J band magnitude (2)
real*4 Hmag (nr__) ! (mag) ?=99.99 2MASS H band magnitude (2)
real*4 Kmag (nr__) ! (mag) ?=99.99 2MASS Ks band magnitude (2)
real*4 Vmag (nr__) ! (mag) V band magnitude
real*4 V_J (nr__) ! (mag) ?=99.99 The (V-J) color index (2)
character*2 cl (nr__) ! Luminosity class: d (dwarf), sd (subdwarf)
* or wd (white dwarf).
*Note (1): From the USNO-B1.0 (Cat. I/284) catalog.
*Note (2): From the All-Sky Point Source (Cat. II/246) catalog.
C=============================================================================
C Loading file 'table1.dat' ! New high proper motion stars
C Format for file interpretation
1 format(
+ 3X,A12,1X,F10.6,1X,F10.6,1X,F5.3,1X,F6.3,1X,F6.3,1X,F4.1,1X,
+ F5.3,1X,F4.1,1X,F4.1,1X,F4.1,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,
+ 1X,F5.2,1X,A2)
C Effective file loading
open(unit=1,file='table1.dat', status='old')
write(6,*) '....Loading file: table1.dat'
do i__=1,170
read(1,'(A116)')ar__
read(ar__,1)
+ PM(i__),RAdeg(i__),DEdeg(i__),pm_1(i__),pmRA(i__),pmDE(i__),
+ dt(i__),e_pm(i__),BJmag(i__),Fmag(i__),Nmag(i__),Jmag(i__),
+ Hmag(i__),Kmag(i__),Vmag(i__),V_J(i__),cl(i__)
c ..............Just test output...........
write(6,1)
+ PM(i__),RAdeg(i__),DEdeg(i__),pm_1(i__),pmRA(i__),pmDE(i__),
+ dt(i__),e_pm(i__),BJmag(i__),Fmag(i__),Nmag(i__),Jmag(i__),
+ Hmag(i__),Kmag(i__),Vmag(i__),V_J(i__),cl(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end