Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/795/142 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-Oct-14
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/ApJ/795/142 Defining photometric peculiar SNe Ia (Gonzalez-Gaitan+, 2014)
*================================================================================
*Defining photometric peculiar type Ia supernovae.
* Gonzalez-Gaitan S., Hsiao E.Y., Pignata G., Forster F., Gutierrez C.P.,
* Bufano F., Galbany L., Folatelli G., Phillips M.M., Hamuy M.,
* Anderson J.P., De Jaeger T.
* <Astrophys. J., 795, 142 (2014)>
* =2014ApJ...795..142G (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Nearby SNe Ia Used in This Study Requiring
Enough Light Curve Coverage
integer*4 nr__
parameter (nr__=311) ! Number of records
character*129 ar__ ! Full-size record
character*14 Name (nr__) ! SNe Ia name
character*13 Type (nr__) ! SNe Ia type
real*4 Chi2Ia (nr__) ! Reduced quality of fit to normal template
real*4 Chi291bg (nr__) ! Reduced quality of fit to 91bg template
character*86 Ref (nr__) ! References (listed in refs.dat file)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Nearby CC SNe Used in This Study Requiring
Enough Light Curve Coverage
integer*4 nr__1
parameter (nr__1=130) ! Number of records
character*129 ar__1 ! Full-size record
character*14 Name_1 (nr__1) ! SNe Ia name
character*13 Type_1 (nr__1) ! SNe Ia type
real*4 Chi2Ia_1 (nr__1) ! Reduced quality of fit to normal template
real*4 Chi291bg_1 (nr__1) ! Reduced quality of fit to 91bg template
character*86 Ref_1 (nr__1) ! References (listed in refs.dat file)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'refs.dat' ! References
integer*4 nr__2
parameter (nr__2=188) ! Number of records
character*68 ar__2 ! Full-size record
character*32 Ref_2 (nr__2) ! Reference
character*19 Bibcode (nr__2) ! Reference bibcode
character*15 Com (nr__2) ! Comment on reference
C=============================================================================
C Loading file 'table2.dat' ! Nearby SNe Ia Used in This Study Requiring
* Enough Light Curve Coverage
C Format for file interpretation
1 format(A14,1X,A13,1X,F6.2,1X,F6.2,1X,A86)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,311
read(1,'(A129)')ar__
read(ar__,1)
+ Name(i__),Type(i__),Chi2Ia(i__),Chi291bg(i__),Ref(i__)
c ..............Just test output...........
write(6,1)
+ Name(i__),Type(i__),Chi2Ia(i__),Chi291bg(i__),Ref(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Nearby CC SNe Used in This Study Requiring
* Enough Light Curve Coverage
C Format for file interpretation
2 format(A14,1X,A13,1X,F6.2,1X,F6.2,1X,A86)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,130
read(1,'(A129)')ar__1
read(ar__1,2)
+ Name_1(i__),Type_1(i__),Chi2Ia_1(i__),Chi291bg_1(i__),
+ Ref_1(i__)
c ..............Just test output...........
write(6,2)
+ Name_1(i__),Type_1(i__),Chi2Ia_1(i__),Chi291bg_1(i__),
+ Ref_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'refs.dat' ! References
C Format for file interpretation
3 format(A32,1X,A19,1X,A15)
C Effective file loading
open(unit=1,status='old',file=
+'refs.dat')
write(6,*) '....Loading file: refs.dat'
do i__=1,188
read(1,'(A68)')ar__2
read(ar__2,3)Ref_2(i__),Bibcode(i__),Com(i__)
c ..............Just test output...........
write(6,3)Ref_2(i__),Bibcode(i__),Com(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end