Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/355/1251 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.81 (2015-09-23), on 2026-Oct-05
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/355/1251 Bar-induced strengths in spiral galaxies (Laurikainen+, 2004)
*================================================================================
*Bar-induced perturbation strengths of the galaxies in the
*Ohio State University Bright Galaxy Survey - I.
* Laurikainen E., Salo H., Buta R., Vasylyev S.
* <Mon. Not. R. Astron. Soc., 355, 1251-1271 (2004)>
* =2004MNRAS.355.1251L
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Structural parameters from 2D decompositions
integer*4 nr__
parameter (nr__=180) ! Number of records
character*57 ar__ ! Full-size record
character*1 Sample ! [O2] 2=2MASS, O=OSUBGS (J/ApJS/143/73)
* (Ohio State University Bright Galaxy Survey)
character*9 Galaxy ! Galaxy name
character*3 n_Galaxy ! Note on Galaxy (1)
real*4 Reff ! (arcsec) ? Effective radius of the bulge
character*1 u_Reff ! Uncertainty flag on Reff
real*4 beta ! ? beta index of the bulge
character*1 u_beta ! Uncertainty flag on beta
real*4 hr ! (arcsec) Exponential scale-length of the disc
character*1 u_hr ! Uncertainty flag on hr
character*2 n_hr ! [B MH] Band used for the decomposition , if
* not H-band
real*4 B_D ! ? Bulge-to-disk ratio
character*1 u_B_D ! Uncertainty flag on B/D
character*1 n_B_D ! [B] Band used for the decomposition, if not
* H-band
character*8 Bar_oval ! Indicates whether a bar/oval was fitted in
* the decomposition
*Note (1): Notes on galaxies as follows:
* a = Manual decomposition fit
* b = H-band image not deep enough to determine h_r_ well, but the
* bulge model is reasonable
* c = Bulge model is taken from the fit to the inner regions, and the
* disc parameters from the fit to the outer regions of the galaxy.
* d = No bar is fitted, although the galaxy is barred in RC3.
* e = The number of iterations is limited in the decomposition.
* f = The H-band image field is too small
* g = Prominent outer ring dominates the disc
C=============================================================================
C Loading file 'table2.dat' ! Structural parameters from 2D decompositions
C Format for file interpretation
1 format(
+ A1,2X,A9,A3,1X,F6.3,A1,2X,F5.3,A1,1X,F5.1,A1,A2,1X,F5.3,A1,A1,
+ 1X,A8)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,180
read(1,'(A57)')ar__
read(ar__,1)
+ Sample,Galaxy,n_Galaxy,Reff,u_Reff,beta,u_beta,hr,u_hr,n_hr,
+ B_D,u_B_D,n_B_D,Bar_oval
if(ar__(17:22) .EQ. '') Reff = rNULL__
if(ar__(26:30) .EQ. '') beta = rNULL__
if(ar__(42:46) .EQ. '') B_D = rNULL__
c ..............Just test output...........
write(6,1)
+ Sample,Galaxy,n_Galaxy,Reff,u_Reff,beta,u_beta,hr,u_hr,n_hr,
+ B_D,u_B_D,n_B_D,Bar_oval
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end