Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/406/165 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-Jun-08
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/MNRAS/406/165 Comparison of Lick indexes (Johansson+, 2010)
*================================================================================
*Empirical calibrations of optical absorption-line indices based on the stellar
*library MILES.
* Johansson J., Thomas D., Maraston C.
* <Mon. Not. R. Astron. Soc., 406, 165-180 (2010)>
* =2010MNRAS.406..165J
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Typical Lick index errors and offsets to the
Lick/IDS library
integer*4 nr__
parameter (nr__=25) ! Number of records
character*76 ar__ ! Full-size record
integer*4 Index (nr__) ! Index number
character*9 Name (nr__) ! Index name
real*4 sigM (nr__) ! Index error at the resolution of the MILES library
real*4 sigL (nr__) ! Index error at the resolution of the Lick/IDS
* library
real*4 sigT98 (nr__) ! Index error presented in Trager et al. (1998,
* Cat. J/ApJS/116/1) for the Lick/IDS library
real*4 aM (nr__) ! MILES a coefficient (1)
real*8 bM (nr__) ! MILES b coefficient (1)
real*4 aE (nr__) ! ELODIE a coefficient (1)
real*8 bE (nr__) ! ELODIE b coefficient (1)
real*4 aS (nr__) ! STELIB a coefficient (1)
real*8 bS (nr__) ! STELIB b coefficient (1)
*Note (1): Offset I_lib_=a*I_Lick_+b, where I_lib_ are indices measured on
* the libraries (MILES, ELODIE and STELIB) for which offsets to the
* Lick/IDS library are presented. I_Lick_ are indices measured on the
* Lick/IDS library.
C=============================================================================
C Loading file 'table1.dat' ! Typical Lick index errors and offsets to the
* Lick/IDS library
C Format for file interpretation
1 format(
+ I2,1X,A9,1X,F6.4,2X,F6.4,2X,F5.3,1X,F5.3,1X,F7.4,1X,F5.3,1X,
+ F7.4,1X,F5.3,1X,F7.4)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,25
read(1,'(A76)')ar__
read(ar__,1)
+ Index(i__),Name(i__),sigM(i__),sigL(i__),sigT98(i__),aM(i__),
+ bM(i__),aE(i__),bE(i__),aS(i__),bS(i__)
c ..............Just test output...........
write(6,1)
+ Index(i__),Name(i__),sigM(i__),sigL(i__),sigT98(i__),aM(i__),
+ bM(i__),aE(i__),bE(i__),aS(i__),bS(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end