Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_AS/118/441 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.5, on 2013-May-19
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__
ter (rNULL__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. J/A+AS/118/441 Virgo & Fornax clusters galaxies UBVRI data (Schroeder+ 1996)
*================================================================================
*New aperture photometry for 217 galaxies in the Virgo and Fornax clusters.
* Schroeder A., Visvanathan N.
* <Astron. Astrophys. Suppl. Ser. 118, 441 (1996)>
* =1996A&AS..118..441S (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2' ! List of standard stars
integer*4 nr__
parameter (nr__=147) ! Number of records
character*67 ar__ ! Full-size record
character*1 n_star ! [*] * for stars observed with the S20 tube
character*10 star ! Standard star name
real*4 Vmag ! (mag) Standard V magnitude
real*4 B_V ! (mag) Standard (B-V) magnitude
real*4 DVmag ! (mag) Difference of our mean observed V magnitude
* and the standard value
integer*4 o_Vmag ! Number of useful observations
real*4 D_U_B ! (mag) Difference of our mean observed (U-B) colour
* and the standard value
real*4 D_B_V ! (mag) Difference of our mean observed (B-V) colour
* and the standard value
real*4 D_V_R ! (mag) Difference of our mean observed (V-R) colour
* and the standard value
real*4 D_R_I ! (mag) Difference of our mean observed (R-I) colour
* and the standard value
integer*4 o_UBVRI ! Number of useful observations of colours (can
* vary slightly from one colour to the next)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5' ! Virgo and Fornax clusters aperture data
integer*4 nr__1
parameter (nr__1=812) ! Number of records
character*120 ar__1 ! Full-size record
real*8 RA_ ! (deg) Right Ascension 1950
real*8 Dec ! (deg) Declination 1950
character*7 No ! Identification of the galaxy by the number
* of the respective catalogue:
* VCC: Binggeli et al. =1985AJ.....90.1681B
* FCC: Ferguson et al. =1989AJ.....98..367F
character*10 Name ! Name of the galaxy (NGC, IC, ESO, UGC or
* other identifications)
integer*4 RAh ! (h) Right ascension (1950)
integer*4 RAm ! (min) Right ascension (1950)
real*4 RAs ! (s) Right ascension (1950)
character*1 DE_ ! Declination sign
integer*4 DEd ! (deg) Declination (1950)
integer*4 DEm ! (arcmin) Declination (1950)
integer*4 DEs ! (arcsec) Declination (1950)
character*16 Mtype ! Morphological galaxy type (if available
* from VCC and FCC, else from RC3)
real*4 Ap ! (arcsec) Aperture size
real*4 logAp ! ([0.1arcmin]) Logarithm of the aperture
integer*4 Rot ! Total integration time in units of rotations
* of the filter wheel(1)
real*4 Bmag ! (mag) B magnitude
character*2 n_Bmag ! [:) ] Note on Bmag (2)
real*4 U_B ! (mag) U-B colour
character*2 n_U_B ! [:) ] Note on U-B (2)
real*4 B_V_1 ! (mag) B-V colour
character*2 n_B_V ! [:) ] Note on B-V (2)
real*4 V_R ! (mag) V-R colour
character*2 n_V_R ! [:) ] Note on V-R (2)
real*4 R_I ! (mag) R-I colour
character*2 n_R_I ! [:) ] Note on R-I (2)
character*8 Notes ! Notes (3)
*Note (1): One rotation corresponds to 4.418, 0.940, 0.752, 0.752 and
* 1.128 sec for the U, B, V, R and I filter, respectively
*Note (2): A colon indicates a signal-to-noise error of 0.10mag and more;
* bracket is used for data that has been excluded from further data
* reduction for various reasons, such as
* a) too low exposure times,
* b) exceptionally high sky counts (i.e., a large aperture),
* c) a bright star in the aperture was not measured or light from
* a star scattered into or out of the aperture,
* d) the aperture was not centered accurately,
* e) error too high.
* Sometimes only one or two passbands were affected.
* All data followed by bracket should be rejected.
*Note (3): A star indicates if a star (or more than one star) was included in
* and subtracted from the aperture.
* S20 indicates that the aperture was observed with the S20 tube.
* Brackets after S20 indicate an aperture that was partly observed
* with the S20 and with the GaAs tube.
C=============================================================================
C Loading file 'table2' ! List of standard stars
C Format for file interpretation
1 format(
+ A1,A10,F6.3,1X,F6.3,1X,F6.3,1X,I3,1X,F6.3,1X,F6.3,1X,F6.3,1X,
+ F6.3,1X,I3)
C Effective file loading
open(unit=1,file='table2', status='old')
write(6,*) '....Loading file: table2'
do i__=1,147
read(1,'(A67)')ar__
read(ar__,1)
+ n_star,star,Vmag,B_V,DVmag,o_Vmag,D_U_B,D_B_V,D_V_R,D_R_I,
+ o_UBVRI
c ..............Just test output...........
write(6,1)
+ n_star,star,Vmag,B_V,DVmag,o_Vmag,D_U_B,D_B_V,D_V_R,D_R_I,
+ o_UBVRI
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5' ! Virgo and Fornax clusters aperture data
C Format for file interpretation
2 format(
+ A7,1X,A10,1X,I2,I2,F4.1,A1,I2,I2,I2,1X,A16,1X,F5.1,1X,F5.3,1X,
+ I3,2X,F5.2,A2,2X,F5.2,A2,1X,F5.2,A2,1X,F5.2,A2,1X,F5.2,A2,1X,
+ A8)
C Effective file loading
open(unit=1,file='table5', status='old')
write(6,*) '....Loading file: table5'
do i__=1,812
read(1,'(A120)')ar__1
read(ar__1,2)
+ No,Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Mtype,Ap,logAp,Rot,Bmag,
+ n_Bmag,U_B,n_U_B,B_V_1,n_B_V,V_R,n_V_R,R_I,n_R_I,Notes
c Derive coordinates RA_ and Dec from input data
c (RA_ and Dec are set to rNULL_ when unknown)
RA_ = RAh
if(RAh .GE. 0) RA_=RAh*15.
if(RAm .GE. 0) RA_=RA_+RAm/4.
if(RAs .GE. 0) RA_=RA_+RAs/240.
Dec = DEd
if(DEm .GE. 0) Dec=Dec+DEm/60.
if(DEs .GE. 0) Dec=Dec+DEs/3600.
if(DE_.EQ.'-'.AND.Dec.GE.0) Dec=-Dec
c ..............Just test output...........
write(6,2)
+ No,Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Mtype,Ap,logAp,Rot,Bmag,
+ n_Bmag,U_B,n_U_B,B_V_1,n_B_V,V_R,n_V_R,R_I,n_R_I,Notes
write(6,'(6H Pos: 2F8.4)') RA_,Dec
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end