Conversion of standardized ReadMe file for
file /./home/cats/J/A_A/627/A174 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-May-17
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/A+A/627/A174 Early light curve of SN 2013gy (Holmbo+, 2019)
*================================================================================
*Discovery and progenitor constraints on the Type Ia supernova 2013gy.
* Holmbo S., Stritzinger M.D., Shappee B.J., Tucker M.A., Zheng W., Ashall C.,
* Phillips M.M., Contreras C., Filippenko A.V., Hoeflich P., Huber M.,
* Piro A.L., Wang X.F., Zhang J.-J., Anais J., Baron E., Burns C.R.,
* Campillay A., Castellon S., Corco C., Hsiao E.Y., Krisciunas K., Morrell N.,
* Nielsen M.T.B., Persson S.E., Taddia F., Tomasella L., Zhang T.-M.,
* Zhao X.-L.
* <Astron. Astrophys. 627, A174 (2019)>
* =2019A&A...627A.174H (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'list.dat' ! Journal of spectroscopic observations and
list of spectra
integer*4 nr__
parameter (nr__=24) ! Number of records
character*103 ar__ ! Full-size record
character*11 FileName ! Name of the spectrum file in subdirectory sp
character*13 Obs_date ! ("datime") Observation date
real*8 MJD ! (d) Modifiate Julian date
real*4 Phase ! (d) Phase (1)
character*40 Tel ! Telescope
character*6 Inst ! Instrument
character*1 n_Inst ! [c] Note on Inst (2)
integer*4 mVabs ! (km/s) ?=- -v_abs_ SiII {lambda}6355
integer*4 E_mVabs ! (km/s) ? Error on mVabs (upper value)
integer*4 e_mVabs_1 ! (km/s) ? Error on mVabs (lower value)
*Note (1): phase given in days with respect to the time of B-band maximum light
* on MJD=56648.5+/-0.10, i.e., 2013 December 22.
*Note (2): c: Spectra were published by Graham et al. (2017MNRAS.472.3437G).
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'sp/*' ! Individual spectra
integer*4 nr__1
parameter (nr__1=24) ! Number of records
character*50 ar__1 ! Full-size record
real*4 lambda ! (0.1nm) Wavelength in Angstroems
real*4 Flux ! (10-2W/m2/nm) Flux in units of erg/s/cm^2^/Angstroems
C=============================================================================
C Loading file 'list.dat' ! Journal of spectroscopic observations and
* list of spectra
C Format for file interpretation
1 format(
+ A11,1X,A13,1X,F7.1,1X,F6.1,1X,A40,1X,A6,A1,1X,I5,1X,I3,1X,I3)
C Effective file loading
open(unit=1,status='old',file=
+'list.dat')
write(6,*) '....Loading file: list.dat'
do i__=1,24
read(1,'(A103)')ar__
read(ar__,1)
+ FileName,Obs_date,MJD,Phase,Tel,Inst,n_Inst,mVabs,E_mVabs,
+ e_mVabs_1
if (mVabs .EQ. 45) mVabs = iNULL__
if(ar__(97:99) .EQ. '') E_mVabs = iNULL__
if(ar__(101:103) .EQ. '') e_mVabs_1 = iNULL__
c ..............Just test output...........
write(6,1)
+ FileName,Obs_date,MJD,Phase,Tel,Inst,n_Inst,mVabs,E_mVabs,
+ e_mVabs_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'sp/*' ! Individual spectra
C Format for file interpretation
2 format(E24.18,1X,E25.18)
C Effective file loading
open(unit=1,status='old',file=
+'sp/*')
write(6,*) '....Loading file: sp/*'
do i__=1,24
read(1,'(A50)')ar__1
read(ar__1,2)lambda,Flux
c ..............Just test output...........
write(6,2)lambda,Flux
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end