Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJS/277/5 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-May-15
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/ApJS/277/5 GECAM obs. of SGR J1935+2154. I. Burst catalog (Xie+, 2025)
*================================================================================
*GECAM observations of the Galactic magnetar SGR J1935+2154 during the 2021 and
*2022 burst active episodes.
*I. Burst catalog.
* Xie S.-L., Cai Ce, Yu Y.-W., Xiong S.-L., Lin L., Zhao Yi, Zhang S.-N.,
* Song L.-M., Wang P., Li X.-B., Xue W.-C., Zhang P., Zheng C., Zhang Y.-Q.,
* Liu J.-C., Wang C.-W., Tan W.-J., Wang Y., Yu Z.-H., Feng P.-Y.,
* Zhang J.-P., Xiao S., Zhao H.-S., Zhang W.-L., Zhang Y.-T., Huang Y.,
* Zhao X.-Y., Ma X., Zheng S.-J., Li X.-Q., Wen X.-Y., Gong Ke, An Z.-H.,
* Zhang D.-L., Yang S., Liu X.-J., Zhang F.
* <Astrophys. J. Suppl. Ser., 277, 5 (2025)>
* =2025ApJS..277....5X
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! SGR J1935+2154 burst list observed by GECAM-B
from 2021 January to 2022 December
integer*4 nr__
parameter (nr__=159) ! Number of records
character*86 ar__ ! Full-size record
C J2000 position composed of: RAdeg DEdeg
integer*4 Seq (nr__) ! [1/159] Running sequence number
character*10 T_date (nr__) ! ("Y/M/D") Trigger date (UTC)
integer*4 T_h (nr__) ! (h) Trigger hour (UTC)
integer*4 T_m (nr__) ! (min) Trigger minute (UTC)
real*4 T_s (nr__) ! (s) Trigger second (UTC)
character*8 Template (nr__) ! Template (1)
real*4 RAdeg (nr__) ! (deg) [275.9/312.2] Right ascension (J2000)
real*4 DEdeg (nr__) ! (deg) [2.2/42.4] Declination (J2000)
real*4 errPos (nr__) ! (deg) [0.15/29.7] Position uncertainty
real*4 sigma (nr__) ! [5/89.2] sigma value
real*8 Tbb (nr__) ! (ms) [1.9/2662] Burst duration derived by
* the Bayesian blocks algorithm
real*8 Tst (nr__) ! (ms) [-1051/805.01] Burst start time relative
* to the trigger time using the Bayesian
* blocks algorithm
character*3 GBM (nr__) ! Visible to GBM
character*3 GECAM (nr__) ! Visible to GECAM (-C for Table 2 or
* -B for Table 3)
*Note (1): We utilize the following spectral model templates:
* the SoftBand function (default softer template for GRB searching), CPL
* (a power law with high-energy exponential cutoff), OTTB (optically
* thin thermal bremsstrahlung), Blackbody (BB), and Powerlaw.
* See Section 2.1.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! SGR J1935+2154 burst list observed by GECAM-C
from 2022 October to December
integer*4 nr__1
parameter (nr__1=97) ! Number of records
character*86 ar__1 ! Full-size record
C J2000 position composed of: RAdeg DEdeg
integer*4 Seq_1 (nr__1) ! [1/159] Running sequence number
character*10 T_date_1 (nr__1) ! ("Y/M/D") Trigger date (UTC)
integer*4 T_h_1 (nr__1) ! (h) Trigger hour (UTC)
integer*4 T_m_1 (nr__1) ! (min) Trigger minute (UTC)
real*4 T_s_1 (nr__1) ! (s) Trigger second (UTC)
character*8 Template_1 (nr__1) ! Template (1)
real*4 RAdeg_1 (nr__1) ! (deg) [275.9/312.2] Right ascension (J2000)
real*4 DEdeg_1 (nr__1) ! (deg) [2.2/42.4] Declination (J2000)
real*4 errPos_1 (nr__1) ! (deg) [0.15/29.7] Position uncertainty
real*4 sigma_1 (nr__1) ! [5/89.2] sigma value
real*8 Tbb_1 (nr__1) ! (ms) [1.9/2662] Burst duration derived by
* the Bayesian blocks algorithm
real*8 Tst_1 (nr__1) ! (ms) [-1051/805.01] Burst start time relative
* to the trigger time using the Bayesian
* blocks algorithm
character*3 GBM_1 (nr__1) ! Visible to GBM
character*3 GECAM_1 (nr__1) ! Visible to GECAM (-C for Table 2 or
* -B for Table 3)
*Note (1): We utilize the following spectral model templates:
* the SoftBand function (default softer template for GRB searching), CPL
* (a power law with high-energy exponential cutoff), OTTB (optically
* thin thermal bremsstrahlung), Blackbody (BB), and Powerlaw.
* See Section 2.1.
C=============================================================================
C Loading file 'table2.dat' ! SGR J1935+2154 burst list observed by GECAM-B
* from 2021 January to 2022 December
C Format for file interpretation
1 format(
+ I3,1X,A10,1X,I2,1X,I2,1X,F6.3,1X,A8,1X,F6.2,1X,F5.2,1X,F5.2,
+ 1X,F5.2,1X,F7.2,1X,F8.2,1X,A3,1X,A3)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,159
read(1,'(A86)')ar__
read(ar__,1)
+ Seq(i__),T_date(i__),T_h(i__),T_m(i__),T_s(i__),Template(i__),
+ RAdeg(i__),DEdeg(i__),errPos(i__),sigma(i__),Tbb(i__),
+ Tst(i__),GBM(i__),GECAM(i__)
c ..............Just test output...........
write(6,1)
+ Seq(i__),T_date(i__),T_h(i__),T_m(i__),T_s(i__),Template(i__),
+ RAdeg(i__),DEdeg(i__),errPos(i__),sigma(i__),Tbb(i__),
+ Tst(i__),GBM(i__),GECAM(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! SGR J1935+2154 burst list observed by GECAM-C
* from 2022 October to December
C Format for file interpretation
2 format(
+ I3,1X,A10,1X,I2,1X,I2,1X,F6.3,1X,A8,1X,F6.2,1X,F5.2,1X,F5.2,
+ 1X,F5.2,1X,F7.2,1X,F8.2,1X,A3,1X,A3)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,97
read(1,'(A86)')ar__1
read(ar__1,2)
+ Seq_1(i__),T_date_1(i__),T_h_1(i__),T_m_1(i__),T_s_1(i__),
+ Template_1(i__),RAdeg_1(i__),DEdeg_1(i__),errPos_1(i__),
+ sigma_1(i__),Tbb_1(i__),Tst_1(i__),GBM_1(i__),GECAM_1(i__)
c ..............Just test output...........
write(6,2)
+ Seq_1(i__),T_date_1(i__),T_h_1(i__),T_m_1(i__),T_s_1(i__),
+ Template_1(i__),RAdeg_1(i__),DEdeg_1(i__),errPos_1(i__),
+ sigma_1(i__),Tbb_1(i__),Tst_1(i__),GBM_1(i__),GECAM_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end