Conversion of standardized ReadMe file for
catalog 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-25
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. J/MNRAS/405/1089 Photometric scaling for L/S0 galaxies (Laurikainen+ 2010)
*================================================================================
*Photometric scaling relations of lenticular and spiral galaxies.
* Laurikainen E., Salo H., Buta R., Knapen J.H., Comeron S.
* <Mon. Not. R. Astron. Soc., 405, 1089-1118 (2010)>
* =2010MNRAS.405.1089L
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Parameters of the bulge and the disc, derived
from 2D decompositions
integer*4 nr__
parameter (nr__=158) ! Number of records
character*59 ar__ ! Full-size record
character*11 Name (nr__) ! Galaxy name
character*2 n_Name (nr__) ! [abd ] Note on Nane (1)
real*4 Inc (nr__) ! (deg) Inclination (2)
real*4 n (nr__) ! ? Sersic number (3)
character*1 n_n (nr__) ! [d] Note on n (1)
real*4 reff (nr__) ! (kpc) ? Effective radius (2)
real*4 KMAGB (nr__) ! (mag) Bulge absolute K magnitude (2)
real*4 hr (nr__) ! (kpc) ? Scalelength of the disc (2)
character*1 n_hr (nr__) ! [c] Note on hr (1)
real*4 SuBr0 (nr__) ! (mag/arcsec2) ? Observed central surface brightness (2)
character*1 n_SuBr0 (nr__) ! [c] Note on SuBr0 (1)
real*4 B_T (nr__) ! ? Bugle-to-total flux ratio (2)
real*4 B_Tc (nr__) ! ? Galactic and internal dust effects
* corrected bugle-to-total flux ratio
*Note (1): Notes as follows:
* a = From Laurikainen et al. (2005MNRAS.362.1319L)
* b = From Laurikainen et al. (2006AJ....132.2634L)
* c = Inner disc
* d = Elliptical galaxy
*Note (2): Parameters are uncorrected for the effects of dust.
*Note (3): {beta}=1/n determines the slope of the projected surface brightness
* distribution of the bulge (n=1 for an exponential, and n=4 for the
* R^1/4^-law)
C=============================================================================
C Loading file 'table1.dat' ! Parameters of the bulge and the disc, derived
* from 2D decompositions
C Format for file interpretation
1 format(
+ A11,A2,1X,F4.1,1X,F3.1,A1,F5.2,1X,F6.2,1X,F5.2,A1,1X,F5.2,A1,
+ 1X,F4.2,1X,F4.2)
C Effective file loading
open(unit=1,file='table1.dat', status='old')
write(6,*) '....Loading file: table1.dat'
do i__=1,158
read(1,'(A59)')ar__
read(ar__,1)
+ Name(i__),n_Name(i__),Inc(i__),n(i__),n_n(i__),reff(i__),
+ KMAGB(i__),hr(i__),n_hr(i__),SuBr0(i__),n_SuBr0(i__),B_T(i__),
+ B_Tc(i__)
if(ar__(20:22) .EQ. '') n(i__) = rNULL__
if(ar__(24:28) .EQ. '') reff(i__) = rNULL__
if(ar__(37:41) .EQ. '') hr(i__) = rNULL__
if(ar__(44:48) .EQ. '') SuBr0(i__) = rNULL__
if(ar__(51:54) .EQ. '') B_T(i__) = rNULL__
if(ar__(56:59) .EQ. '') B_Tc(i__) = rNULL__
c ..............Just test output...........
write(6,1)
+ Name(i__),n_Name(i__),Inc(i__),n(i__),n_n(i__),reff(i__),
+ KMAGB(i__),hr(i__),n_hr(i__),SuBr0(i__),n_SuBr0(i__),B_T(i__),
+ B_Tc(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end