Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/464/4545 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-Apr-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__=--2147483648.) ! NULL real number parameter (iNULL__=(-2147483647-1)) ! NULL int number integer idig ! testing NULL number C============================================================================= Cat. J/MNRAS/464/4545 Gamma Ray Bursts detected by Swift (2004-2015) (Buchner+, 2017) *================================================================================ *Galaxy gas as obscurer. *I. GRBs X-ray galaxies and find an N_H_^3^ {prop.to} M* relation. * Buchner J., Schulze S., Bauer F. * <Mon. Not. R. Astron. Soc. 464, 4545 (2017)> * =2017MNRAS.464.4545B (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'grbcat.dat' ! Catalog of SWIFT GRB (2004-2015) integer*4 nr__ parameter (nr__=920) ! Number of records character*270 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg character*11 Name ! GRB ID (GRB YYMMDDA) integer*4 Trigger ! Swift Trigger ID real*4 Dur ! (s) ?=-1 Duration integer*4 is_short ! [0/1] 1 if T90>2s real*8 RAdeg ! (deg) Right ascension (J2000) real*8 DEdeg ! (deg) Declination (J2000) real*8 GLON ! (deg) Galactic longitude real*8 GLAT ! (deg) Galactic latitude real*4 NHgal ! ([cm-2]) Galactic column density real*8 z ! Redshift character*52 Tint ! (s) Time interval(s) used for X-ray * spectral extraction real*8 NHT ! ([cm-2]) ?=-99 Posterior mean column density derived * using tbabs obscurer model real*8 e_NHT ! ([cm-2]) ?=-99 Standard deviation of NHT real*8 NHTq10 ! ([cm-2]) ?=-99 10% quantile of posterior NHT real*8 NHTq90 ! ([cm-2]) ?=-99 90% quantile of posterior NHT real*8 PhoIndexT ! ?=-99 Mean spectral slope, E^-{gamma}^ real*8 e_PhoIndexT ! ?=-99 Standard deviation of PhoIndexT real*8 NHS ! ([cm-2]) ?=-99 Posterior mean column density derived * using sphere obscurer model real*8 e_NHS ! ([cm-2]) ?=-99 Standard deviation of NHS real*8 NHSq10 ! ([cm-2]) ?=-99 10% quantile of posterior NHS real*8 NHSq90 ! ([cm-2]) ?=-99 90% quantile of posterior NHS real*8 PhoIndexS ! ?=-99 Mean spectral slope, E^-{gamma}^ real*8 e_PhoIndexS ! ?=-99 Standard deviation of PhoIndexTS C============================================================================= C Loading file 'grbcat.dat' ! Catalog of SWIFT GRB (2004-2015) C Format for file interpretation 1 format( + A11,1X,I8,1X,E12.6,1X,I1,1X,F9.5,1X,F10.6,1X,F9.5,1X,F10.6,1X, + E12.6,1X,F8.6,1X,A52,1X,F8.4,1X,F10.6,1X,F8.4,1X,F8.4,1X,F9.5, + 1X,F10.6,1X,F8.4,1X,F10.6,1X,F8.4,1X,F8.4,1X,F9.5,1X,F10.6) C Effective file loading open(unit=1,status='old',file= +'grbcat.dat') write(6,*) '....Loading file: grbcat.dat' do i__=1,920 read(1,'(A270)')ar__ read(ar__,1) + Name,Trigger,Dur,is_short,RAdeg,DEdeg,GLON,GLAT,NHgal,z,Tint, + NHT,e_NHT,NHTq10,NHTq90,PhoIndexT,e_PhoIndexT,NHS,e_NHS, + NHSq10,NHSq90,PhoIndexS,e_PhoIndexS c ..............Just test output........... write(6,1) + Name,Trigger,Dur,is_short,RAdeg,DEdeg,GLON,GLAT,NHgal,z,Tint, + NHT,e_NHT,NHTq10,NHTq90,PhoIndexT,e_PhoIndexT,NHS,e_NHS, + NHSq10,NHSq90,PhoIndexS,e_PhoIndexS c .......End.of.Just test output........... end do close(1) C============================================================================= stop end