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-Jun-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__
parameter (rNULL__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. J/PASP/117/773 Classifications of SN host galaxies. III (van den Bergh+, 2005)
*================================================================================
*Classifications of the host galaxies of supernovae, set III.
* van den Bergh S., Li W., Filippenko A.V.
* <Publ. Astron. Soc. Pac., 117, 773-782 (2005)>
* =2005PASP..117..773V
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Classifications of SN host galaxies
integer*4 nr__
parameter (nr__=212) ! Number of records
character*67 ar__ ! Full-size record
character*6 SN (nr__) ! Supernova name
character*12 Galaxy (nr__) ! Host galaxy
character*17 SNType (nr__) ! SN type
character*3 Yerkes (nr__) ! Host galaxy type on the Yerkes system
character*15 DDO (nr__) ! Host galaxy type on the DDO system
integer*4 cz (nr__) ! (km/s) ? Radial velocity of the host galaxy
integer*4 Com (nr__) ! ? Comment (1)
character*1 u_Com (nr__) ! [?] Uncertainty flag
*Note (1): Comment, defined as follows:
* 1 = merger;
* 2 = edge-on;
* 3 = tides;
* 4 = dusty;
* 5 = SN closest to peculiar galaxy;
* 6 = SN in small distant galaxy, not in nearer large SBb;
* 7 = might also be classified E2/Sa;
* 8 = our images of M60 (= NGC 4649) are overexposed, so the adopted
* E1 classification is from van den Bergh (1960PDDO....2..159V
* Publ. David Dunlap Obs. 2, 159)
* 9 = has bright Sc II companion;
* 10 = strong Galactic foreground absorption possible;
* 11 = galaxy too large to classify with present images, so we have adopted
* the Sc III classification from van den Bergh (1960PDDO....2..159V)
* 12 = bright foreground star superimposed on the nucleus.
C=============================================================================
C Loading file 'table1.dat' ! Classifications of SN host galaxies
C Format for file interpretation
1 format(A6,1X,A12,1X,A17,1X,A3,1X,A15,1X,I5,1X,I2,A1)
C Effective file loading
open(unit=1,file='table1.dat', status='old')
write(6,*) '....Loading file: table1.dat'
do i__=1,212
read(1,'(A67)')ar__
read(ar__,1)
+ SN(i__),Galaxy(i__),SNType(i__),Yerkes(i__),DDO(i__),cz(i__),
+ Com(i__),u_Com(i__)
if(ar__(59:63) .EQ. '') cz(i__) = iNULL__
if(ar__(65:66) .EQ. '') Com(i__) = iNULL__
c ..............Just test output...........
write(6,1)
+ SN(i__),Galaxy(i__),SNType(i__),Yerkes(i__),DDO(i__),cz(i__),
+ Com(i__),u_Com(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end