Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/862/173 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-11
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/ApJ/862/173 Nearby low-mass stars proper motions (Theissen, 2018)
*================================================================================
*Parallaxes of cool objects with WISE: filling in for Gaia.
* Theissen C.A.
* <Astrophys. J., 862, 173-173 (2018)>
* =2018ApJ...862..173T (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table.dat' ! Proper motion and parallaxes for low-mass stars
with estimated photometric distances <=17pc
(tables 1 and 2 of the paper)
integer*4 nr__
parameter (nr__=43) ! Number of records
character*56 ar__ ! Full-size record
character*26 Name (nr__) ! Identifier
integer*4 pmRA (nr__) ! (mas/yr) Proper motion in RA*cos(DE)
* (pmRA*cos(DE)) from our best fit model
integer*4 e_pmRA (nr__) ! (mas/yr) Error in pmRA
integer*4 pmDE (nr__) ! (mas/yr) Proper motion in Declination
* (pmDE) from our best fit model
integer*4 e_pmDE (nr__) ! (mas/yr) Error in pmDE
real*4 Plx (nr__) ! (mas) Absolute trigonometric parallax
real*4 e_Plx (nr__) ! (mas) Error in Plx
C=============================================================================
C Loading file 'table.dat' ! Proper motion and parallaxes for low-mass stars
* with estimated photometric distances <=17pc
* (tables 1 and 2 of the paper)
C Format for file interpretation
1 format(A26,1X,I5,1X,I2,1X,I5,1X,I2,1X,F5.1,1X,F5.1)
C Effective file loading
open(unit=1,status='old',file=
+'table.dat')
write(6,*) '....Loading file: table.dat'
do i__=1,43
read(1,'(A56)')ar__
read(ar__,1)
+ Name(i__),pmRA(i__),e_pmRA(i__),pmDE(i__),e_pmDE(i__),
+ Plx(i__),e_Plx(i__)
c ..............Just test output...........
write(6,1)
+ Name(i__),pmRA(i__),e_pmRA(i__),pmDE(i__),e_pmDE(i__),
+ Plx(i__),e_Plx(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end