Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/728/14 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 2024-Mar-28 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/728/14 Photometry of SN 2009bb (Pignata+, 2011) *================================================================================ *SN 2009bb: a peculiar broad-lined type Ic supernova. * Pignata G., Stritzinger M., Soderberg A., Mazzali P., Phillips M.M., * Morrell N., Anderson J.P., Boldt L., Campillay A., Contreras C., * Folatelli G., Forster F., Gonzalez S., Hamuy M., Krzeminski W., Maza J., * Roth M., Salgado F., Levesque E.M., Rest A., Crain J.A., Foster A.C., * Haislip J.B., Ivarsen K.M., Lacluyze A.P., Nysewander M.C., Reichart D.E. * <Astrophys. J., 728, 14 (2011)> * =2011ApJ...728...14P C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! BVRI photometry of SN 2009bb integer*4 nr__ parameter (nr__=100) ! Number of records character*73 ar__ ! Full-size record character*11 Date (nr__) ! ("YYYY/MMM/DD") Observation date real*8 JD (nr__) ! (d) Julian date of observation real*4 Bmag (nr__) ! (mag) ? B-band magnitude real*4 e_Bmag (nr__) ! (mag) ? Bmag uncertainty real*4 Vmag (nr__) ! (mag) ? V-band magnitude real*4 e_Vmag (nr__) ! (mag) ? Vmag uncertainty real*4 Rmag (nr__) ! (mag) ? R-band magnitude real*4 e_Rmag (nr__) ! (mag) ? Rmag uncertainty real*4 Imag (nr__) ! (mag) ? I-band magnitude real*4 e_Imag (nr__) ! (mag) ? Imag uncertainty character*7 Tel (nr__) ! Telescope (PROMPT3/PROMPT5 at CTIO, * Swope at Las Campanas Obs.) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! u'g'r'i'z' photometry of SN 2009bb integer*4 nr__1 parameter (nr__1=98) ! Number of records character*83 ar__1 ! Full-size record character*11 Date_1 (nr__1) ! ("YYYY/MMM/DD") Observation date real*8 JD_1 (nr__1) ! (d) Julian date of observation real*4 u_mag (nr__1) ! (mag) ? u'-band magnitude real*4 e_u_mag (nr__1) ! (mag) ? u'mag uncertainty real*4 g_mag (nr__1) ! (mag) ? g'-band magnitude real*4 e_g_mag (nr__1) ! (mag) ? g'mag uncertainty real*4 r_mag (nr__1) ! (mag) ? r'-band magnitude real*4 e_r_mag (nr__1) ! (mag) ? r'mag uncertainty real*4 i_mag (nr__1) ! (mag) ? i'-band magnitude real*4 e_i_mag (nr__1) ! (mag) ? i'mag uncertainty real*4 z_mag (nr__1) ! (mag) ? z'-band magnitude real*4 e_z_mag (nr__1) ! (mag) ? z'mag uncertainty character*7 Tel_1 (nr__1) ! Telescope (PROMPT3/PROMPT5 at CTIO, * Swope at Las Campanas Obs.) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! YJH photometry of SN 2009bb integer*4 nr__2 parameter (nr__2=10) ! Number of records character*63 ar__2 ! Full-size record character*11 Date_2 (nr__2) ! ("YYYY/MMM/DD") Observation date real*8 JD_2 (nr__2) ! (d) Julian date of observation real*4 Ymag (nr__2) ! (mag) ? Y-band magnitude real*4 e_Ymag (nr__2) ! (mag) ? Ymag uncertainty real*4 Jmag (nr__2) ! (mag) ? J-band magnitude real*4 e_Jmag (nr__2) ! (mag) ? Jmag uncertainty real*4 Hmag (nr__2) ! (mag) H-band magnitude real*4 e_Hmag (nr__2) ! (mag) Hmag uncertainty character*8 Inst (nr__2) ! Instrument (RetroCam) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table7.dat' ! BVRI photometry of the local photometric sequence integer*4 nr__3 parameter (nr__3=31) ! Number of records character*72 ar__3 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg (nr__3) ! (deg) Right Ascension J2000 real*8 DEdeg (nr__3) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 Seq (nr__3) ! [1/31] Running sequential number * (<[PSS2011] NN> in Simbad) (G1) integer*4 RAh (nr__3) ! (h) Hour of right ascension (J2000) integer*4 RAm (nr__3) ! (min) Minute of right ascension (J2000) real*4 RAs (nr__3) ! (s) Second of right ascension (J2000) character*1 DE_ (nr__3) ! Sign of declination (J2000) integer*4 DEd (nr__3) ! (deg) Degree of declination (J2000) integer*4 DEm (nr__3) ! (arcmin) Degree of declination (J2000) real*4 DEs (nr__3) ! (arcsec) Arcsecond of declination (J2000) real*4 Bmag_1 (nr__3) ! (mag) B-band magnitude real*4 e_Bmag_1 (nr__3) ! (mag) Bmag uncertainty real*4 Vmag_1 (nr__3) ! (mag) V-band magnitude real*4 e_Vmag_1 (nr__3) ! (mag) Vmag uncertainty real*4 Rmag_1 (nr__3) ! (mag) R-band magnitude real*4 e_Rmag_1 (nr__3) ! (mag) Rmag uncertainty real*4 Imag_1 (nr__3) ! (mag) I-band magnitude real*4 e_Imag_1 (nr__3) ! (mag) Imag uncertainty c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table8.dat' ! u'g'r'i'z' photometry of the local photometric sequence integer*4 nr__4 parameter (nr__4=31) ! Number of records character*83 ar__4 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_1 (nr__4) ! (deg) Right Ascension J2000 real*8 DEdeg_1 (nr__4) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 Seq_1 (nr__4) ! [1/31] Running sequential number * (<[PSS2011] NN> in Simbad) (G1) integer*4 RAh_1 (nr__4) ! (h) Hour of right ascension (J2000) integer*4 RAm_1 (nr__4) ! (min) Minute of right ascension (J2000) real*4 RAs_1 (nr__4) ! (s) Second of right ascension (J2000) character*1 DE__1 (nr__4) ! Sign of declination (J2000) integer*4 DEd_1 (nr__4) ! (deg) Degree of declination (J2000) integer*4 DEm_1 (nr__4) ! (arcmin) Degree of declination (J2000) real*4 DEs_1 (nr__4) ! (arcsec) Arcsecond of declination (J2000) real*4 u_mag_1 (nr__4) ! (mag) ? u'-band magnitude real*4 e_u_mag_1 (nr__4) ! (mag) ? u'mag uncertainty real*4 g_mag_1 (nr__4) ! (mag) ? g'-band magnitude real*4 e_g_mag_1 (nr__4) ! (mag) ? g'mag uncertainty real*4 r_mag_1 (nr__4) ! (mag) r'-band magnitude real*4 e_r_mag_1 (nr__4) ! (mag) r'mag uncertainty real*4 i_mag_1 (nr__4) ! (mag) i'-band magnitude real*4 e_i_mag_1 (nr__4) ! (mag) i'mag uncertainty real*4 z_mag_1 (nr__4) ! (mag) z'-band magnitude real*4 e_z_mag_1 (nr__4) ! (mag) z'mag uncertainty c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table9.dat' ! YJH photometry of the local photometric sequence integer*4 nr__5 parameter (nr__5=31) ! Number of records character*61 ar__5 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_2 (nr__5) ! (deg) Right Ascension J2000 real*8 DEdeg_2 (nr__5) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 Seq_2 (nr__5) ! [1/32] Running sequential number * (<[PSS2011] NN> in Simbad) (G1) integer*4 RAh_2 (nr__5) ! (h) Hour of right ascension (J2000) integer*4 RAm_2 (nr__5) ! (min) Minute of right ascension (J2000) real*4 RAs_2 (nr__5) ! (s) Second of right ascension (J2000) character*1 DE__2 (nr__5) ! Sign of declination (J2000) integer*4 DEd_2 (nr__5) ! (deg) Degree of declination (J2000) integer*4 DEm_2 (nr__5) ! (arcmin) Degree of declination (J2000) real*4 DEs_2 (nr__5) ! (arcsec) Arcsecond of declination (J2000) real*4 Ymag_1 (nr__5) ! (mag) Y-band magnitude real*4 e_Ymag_1 (nr__5) ! (mag) Ymag uncertainty real*4 Jmag_1 (nr__5) ! (mag) J-band magnitude real*4 e_Jmag_1 (nr__5) ! (mag) Jmag uncertainty real*4 Hmag_1 (nr__5) ! (mag) H-band magnitude real*4 e_Hmag_1 (nr__5) ! (mag) Hmag uncertainty C============================================================================= C Loading file 'table1.dat' ! BVRI photometry of SN 2009bb C Format for file interpretation 1 format( + A11,1X,F9.1,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2, + 1X,F5.2,1X,F4.2,1X,A7) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,100 read(1,'(A73)')ar__ read(ar__,1) + Date(i__),JD(i__),Bmag(i__),e_Bmag(i__),Vmag(i__),e_Vmag(i__), + Rmag(i__),e_Rmag(i__),Imag(i__),e_Imag(i__),Tel(i__) if(ar__(23:27) .EQ. '') Bmag(i__) = rNULL__ if(ar__(29:32) .EQ. '') e_Bmag(i__) = rNULL__ if(ar__(34:38) .EQ. '') Vmag(i__) = rNULL__ if(ar__(40:43) .EQ. '') e_Vmag(i__) = rNULL__ if(ar__(45:49) .EQ. '') Rmag(i__) = rNULL__ if(ar__(51:54) .EQ. '') e_Rmag(i__) = rNULL__ if(ar__(56:60) .EQ. '') Imag(i__) = rNULL__ if(ar__(62:65) .EQ. '') e_Imag(i__) = rNULL__ c ..............Just test output........... write(6,1) + Date(i__),JD(i__),Bmag(i__),e_Bmag(i__),Vmag(i__),e_Vmag(i__), + Rmag(i__),e_Rmag(i__),Imag(i__),e_Imag(i__),Tel(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! u'g'r'i'z' photometry of SN 2009bb C Format for file interpretation 2 format( + A11,1X,F9.1,1X,F5.2,1X,F3.1,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2, + 1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,A7) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,98 read(1,'(A83)')ar__1 read(ar__1,2) + Date_1(i__),JD_1(i__),u_mag(i__),e_u_mag(i__),g_mag(i__), + e_g_mag(i__),r_mag(i__),e_r_mag(i__),i_mag(i__),e_i_mag(i__), + z_mag(i__),e_z_mag(i__),Tel_1(i__) if(ar__1(23:27) .EQ. '') u_mag(i__) = rNULL__ if(ar__1(29:31) .EQ. '') e_u_mag(i__) = rNULL__ if(ar__1(33:37) .EQ. '') g_mag(i__) = rNULL__ if(ar__1(39:42) .EQ. '') e_g_mag(i__) = rNULL__ if(ar__1(44:48) .EQ. '') r_mag(i__) = rNULL__ if(ar__1(50:53) .EQ. '') e_r_mag(i__) = rNULL__ if(ar__1(55:59) .EQ. '') i_mag(i__) = rNULL__ if(ar__1(61:64) .EQ. '') e_i_mag(i__) = rNULL__ if(ar__1(66:70) .EQ. '') z_mag(i__) = rNULL__ if(ar__1(72:75) .EQ. '') e_z_mag(i__) = rNULL__ c ..............Just test output........... write(6,2) + Date_1(i__),JD_1(i__),u_mag(i__),e_u_mag(i__),g_mag(i__), + e_g_mag(i__),r_mag(i__),e_r_mag(i__),i_mag(i__),e_i_mag(i__), + z_mag(i__),e_z_mag(i__),Tel_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! YJH photometry of SN 2009bb C Format for file interpretation 3 format( + A11,1X,F9.1,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2, + 1X,A8) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,10 read(1,'(A63)')ar__2 read(ar__2,3) + Date_2(i__),JD_2(i__),Ymag(i__),e_Ymag(i__),Jmag(i__), + e_Jmag(i__),Hmag(i__),e_Hmag(i__),Inst(i__) if(ar__2(23:27) .EQ. '') Ymag(i__) = rNULL__ if(ar__2(29:32) .EQ. '') e_Ymag(i__) = rNULL__ if(ar__2(34:38) .EQ. '') Jmag(i__) = rNULL__ if(ar__2(40:43) .EQ. '') e_Jmag(i__) = rNULL__ c ..............Just test output........... write(6,3) + Date_2(i__),JD_2(i__),Ymag(i__),e_Ymag(i__),Jmag(i__), + e_Jmag(i__),Hmag(i__),e_Hmag(i__),Inst(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table7.dat' ! BVRI photometry of the local photometric sequence C Format for file interpretation 4 format( + I2,1X,I2,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F5.2,1X,F5.2,1X,F4.2, + 1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table7.dat') write(6,*) '....Loading file: table7.dat' do i__=1,31 read(1,'(A72)')ar__3 read(ar__3,4) + Seq(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__), + DEm(i__),DEs(i__),Bmag_1(i__),e_Bmag_1(i__),Vmag_1(i__), + e_Vmag_1(i__),Rmag_1(i__),e_Rmag_1(i__),Imag_1(i__), + e_Imag_1(i__) RAdeg(i__) = rNULL__ DEdeg(i__) = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15. if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4. if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240. if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__) if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60. if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600. if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__) c ..............Just test output........... write(6,4) + Seq(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__), + DEm(i__),DEs(i__),Bmag_1(i__),e_Bmag_1(i__),Vmag_1(i__), + e_Vmag_1(i__),Rmag_1(i__),e_Rmag_1(i__),Imag_1(i__), + e_Imag_1(i__) write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table8.dat' ! u'g'r'i'z' photometry of the local photometric * sequence C Format for file interpretation 5 format( + I2,1X,I2,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F5.2,1X,F5.2,1X,F4.2, + 1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X, + F4.2) C Effective file loading open(unit=1,status='old',file= +'table8.dat') write(6,*) '....Loading file: table8.dat' do i__=1,31 read(1,'(A83)')ar__4 read(ar__4,5) + Seq_1(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__), + DEd_1(i__),DEm_1(i__),DEs_1(i__),u_mag_1(i__),e_u_mag_1(i__), + g_mag_1(i__),e_g_mag_1(i__),r_mag_1(i__),e_r_mag_1(i__), + i_mag_1(i__),e_i_mag_1(i__),z_mag_1(i__),e_z_mag_1(i__) if(ar__4(30:34) .EQ. '') u_mag_1(i__) = rNULL__ if(ar__4(36:39) .EQ. '') e_u_mag_1(i__) = rNULL__ if(ar__4(41:45) .EQ. '') g_mag_1(i__) = rNULL__ if(ar__4(47:50) .EQ. '') e_g_mag_1(i__) = rNULL__ RAdeg_1(i__) = rNULL__ DEdeg_1(i__) = rNULL__ c Derive coordinates RAdeg_1 and DEdeg_1 from input data c (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown) if(RAh_1(i__) .GT. -180) RAdeg_1(i__)=RAh_1(i__)*15. if(RAm_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAm_1(i__)/4. if(RAs_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAs_1(i__)/240. if(DEd_1(i__) .GE. 0) DEdeg_1(i__)=DEd_1(i__) if(DEm_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEm_1(i__)/60. if(DEs_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEs_1(i__)/3600. if(DE__1(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__) c ..............Just test output........... write(6,5) + Seq_1(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__), + DEd_1(i__),DEm_1(i__),DEs_1(i__),u_mag_1(i__),e_u_mag_1(i__), + g_mag_1(i__),e_g_mag_1(i__),r_mag_1(i__),e_r_mag_1(i__), + i_mag_1(i__),e_i_mag_1(i__),z_mag_1(i__),e_z_mag_1(i__) write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table9.dat' ! YJH photometry of the local photometric sequence C Format for file interpretation 6 format( + I2,1X,I2,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F5.2,1X,F5.2,1X,F4.2, + 1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table9.dat') write(6,*) '....Loading file: table9.dat' do i__=1,31 read(1,'(A61)')ar__5 read(ar__5,6) + Seq_2(i__),RAh_2(i__),RAm_2(i__),RAs_2(i__),DE__2(i__), + DEd_2(i__),DEm_2(i__),DEs_2(i__),Ymag_1(i__),e_Ymag_1(i__), + Jmag_1(i__),e_Jmag_1(i__),Hmag_1(i__),e_Hmag_1(i__) RAdeg_2(i__) = rNULL__ DEdeg_2(i__) = rNULL__ c Derive coordinates RAdeg_2 and DEdeg_2 from input data c (RAdeg_2 and DEdeg_2 are set to rNULL__ when unknown) if(RAh_2(i__) .GT. -180) RAdeg_2(i__)=RAh_2(i__)*15. if(RAm_2(i__) .GT. -180) RAdeg_2(i__)=RAdeg_2(i__)+RAm_2(i__)/4. if(RAs_2(i__) .GT. -180) RAdeg_2(i__)=RAdeg_2(i__)+RAs_2(i__)/240. if(DEd_2(i__) .GE. 0) DEdeg_2(i__)=DEd_2(i__) if(DEm_2(i__) .GE. 0) DEdeg_2(i__)=DEdeg_2(i__)+DEm_2(i__)/60. if(DEs_2(i__) .GE. 0) DEdeg_2(i__)=DEdeg_2(i__)+DEs_2(i__)/3600. if(DE__2(i__).EQ.'-'.AND.DEdeg_2(i__).GE.0) DEdeg_2(i__)=-DEdeg_2(i__) c ..............Just test output........... write(6,6) + Seq_2(i__),RAh_2(i__),RAm_2(i__),RAs_2(i__),DE__2(i__), + DEd_2(i__),DEm_2(i__),DEs_2(i__),Ymag_1(i__),e_Ymag_1(i__), + Jmag_1(i__),e_Jmag_1(i__),Hmag_1(i__),e_Hmag_1(i__) write(6,'(6H Pos: 2F8.4)') RAdeg_2(i__),DEdeg_2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end