Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/508/593 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 2024-Mar-29 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/508/593 GRB 080710 bright optical/NIR afterglow (Kruehler+, 2009) *================================================================================ *The bright optical/NIR afterglow of the faint GRB 080710 - *evidence of a jet viewed off-axis. * Kruehler T., Greiner J., Afonso P., Burlon D., Clemens C., Filgas R., * Kann D.A., Klose S., Kuepcue Yoldas S., McBreen A., Olivares F., Rau A., * Rossi A., Schulze S., Szokoly G.P., Updike A., Yoldas A. * <Astron. Astrophys. 508, 593 (2009)> * =2009A&A...508..593K C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! griz photometric data integer*4 nr__ parameter (nr__=69) ! Number of records character*79 ar__ ! Full-size record real*8 t_t0 ! (ks) Time since t0=07:13:10 UT on 10 July 2008 character*5 texp ! (s) Exposure time real*4 g_mag ! (mag) ? g' magnitude, in AB system (1) real*4 e_g_mag ! (mag) ? rms uncertainty on g'mag (2) real*4 r_mag ! (mag) ? r' magnitude, in AB system (1) real*4 e_r_mag ! (mag) ? rms uncertainty on r'mag (2) real*4 i_mag ! (mag) ? i' magnitude, in AB system (1) real*4 e_i_mag ! (mag) ? rms uncertainty on i'mag (2) real*4 z_mag ! (mag) ? z' magnitude, in AB system (1) real*4 e_z_mag ! (mag) ? rms uncertainty on z'mag (2) character*1 Filt ! [RI] Filter real*4 mag ! (mag) ? Magnitude in Filter (3) real*4 e_mag ! (mag) ? rms uncertainty on mag *Note (1): Not corrected for Galactic foreground reddening. *Note (2): In the light curve fitting, a systematic error of 0.012mag was * added quadratically to the quoted statistical error. For the SED * fitting, the additional error of the absolute calibration of 0.05mag * was added. *Note (3): Calibrated using the GROND r' and i' field calibration, including * a (r'-i') color term. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! JHKs photometric data integer*4 nr__1 parameter (nr__1=38) ! Number of records character*57 ar__1 ! Full-size record real*8 t_t0_1 ! (ks) Time since t0=07:13:10 UT on 10 July 2008 character*6 texp_1 ! (s) Exposure time character*1 l_Jmag ! Limit flag on Jmag real*4 Jmag ! (mag) ? J magnitude, in AB system (1) real*4 e_Jmag ! (mag) ? rms uncertainty on Jmag (2) character*1 l_Hmag ! Limit flag on Hmag real*4 Hmag ! (mag) ? H magnitude, in AB system (1) real*4 e_Hmag ! (mag) ? rms uncertainty on Hmag (2) character*1 l_Ksmag ! Limit flag on KsHmag real*4 Ksmag ! (mag) ? Ks magnitude, in AB system (1) real*4 e_Ksmag ! (mag) ? rms uncertainty on Ksmag (2) *Note (1): Not corrected for Galactic foreground reddening. *Note (2): In the light curve fitting, a systematic error of 0.02mag was * added quadratically to the quoted statistical error. * For the SED fitting, the additional error of the absolute calibration * of 0.07mag (J and H) and 0.09mag (Ks) was added. C============================================================================= C Loading file 'table1.dat' ! griz photometric data C Format for file interpretation 1 format( + F8.4,1X,A5,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X, + F6.3,1X,F5.3,1X,A1,1X,F5.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,69 read(1,'(A79)')ar__ read(ar__,1) + t_t0,texp,g_mag,e_g_mag,r_mag,e_r_mag,i_mag,e_i_mag,z_mag, + e_z_mag,Filt,mag,e_mag if(ar__(16:21) .EQ. '') g_mag = rNULL__ if(ar__(23:27) .EQ. '') e_g_mag = rNULL__ if(ar__(29:34) .EQ. '') r_mag = rNULL__ if(ar__(36:40) .EQ. '') e_r_mag = rNULL__ if(ar__(42:47) .EQ. '') i_mag = rNULL__ if(ar__(49:53) .EQ. '') e_i_mag = rNULL__ if(ar__(55:60) .EQ. '') z_mag = rNULL__ if(ar__(62:66) .EQ. '') e_z_mag = rNULL__ if(ar__(70:74) .EQ. '') mag = rNULL__ if(ar__(76:79) .EQ. '') e_mag = rNULL__ c ..............Just test output........... write(6,1) + t_t0,texp,g_mag,e_g_mag,r_mag,e_r_mag,i_mag,e_i_mag,z_mag, + e_z_mag,Filt,mag,e_mag c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! JHKs photometric data C Format for file interpretation 2 format( + F8.4,1X,A6,1X,A1,F6.3,1X,F5.3,1X,A1,F6.3,1X,F5.3,1X,A1,F6.3, + 1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,38 read(1,'(A57)')ar__1 read(ar__1,2) + t_t0_1,texp_1,l_Jmag,Jmag,e_Jmag,l_Hmag,Hmag,e_Hmag,l_Ksmag, + Ksmag,e_Ksmag if(ar__1(18:23) .EQ. '') Jmag = rNULL__ if(ar__1(25:29) .EQ. '') e_Jmag = rNULL__ if(ar__1(32:37) .EQ. '') Hmag = rNULL__ if(ar__1(39:43) .EQ. '') e_Hmag = rNULL__ if(ar__1(46:51) .EQ. '') Ksmag = rNULL__ if(ar__1(53:57) .EQ. '') e_Ksmag = rNULL__ c ..............Just test output........... write(6,2) + t_t0_1,texp_1,l_Jmag,Jmag,e_Jmag,l_Hmag,Hmag,e_Hmag,l_Ksmag, + Ksmag,e_Ksmag c .......End.of.Just test output........... end do close(1) C============================================================================= stop end