FORTRAN Generation
(/./ftp/cats/J/ApJ/784/159)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/784/159 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-Oct-13
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/784/159      Revisited jet bending in {gamma}-ray AGNs     (Graham+, 2014)
*================================================================================
*The importance of jet bending in gamma-ray AGNs--Revisited.
*    Graham P.J., Tingay S.J.
*   <Astrophys. J., 784, 159 (2014)>
*   =2014ApJ...784..159G    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table1.dat'	! Jet-bend data for {gamma}-ray-loud radio Active
                                Galactic Nuclei (AGNs)

      integer*4 nr__
      parameter (nr__=151)	! Number of records
      character*61 ar__   	! Full-size record

      character*10  Name       (nr__) ! Source identifier (JHHMM+DDMM format)
      real*4        S4_85      (nr__) ! (Jy) The 4.85GHz flux density (S_4.85_) (1)
      integer*4     PA         (nr__) ! (deg) ? Parsec-scale jet position angle ({Phi}_pc_)
      integer*4     B1         (nr__) ! (deg) ? First bending angle along the jet
      integer*4     B2         (nr__) ! (deg) ? Second bending angle along the jet
      integer*4     Npc        (nr__) ! ? Number of parsec-scale bends (N_pc_)
      integer*4     Bend       (nr__) ! (deg) ? Maximum jet-bend angle (|{theta}_pc_|_max_)
      character*23  Ref        (nr__) ! References for the Very Long Baseline
*                                   Interferometry (VLBI) map (2)
*Note (1): Given by the CRATES catalog (Healey et al. 2007, cat. J/ApJS/171/61).
*Note (2): Reference code defined as follows:
*     * = denotes the reference used to determine jet bends and maximum
*         jet-bending angle where multiple references exist;
*     1 = Bondi et al. (1996A&A...308..415B);
*     2 = Dodson et al. 2008 (cat. J/ApJS/175/314) and Scott et al. 2004
*         (cat. J/ApJS/155/33);
*     3 = Fey & Charlot (1997ApJS..111...95F);
*     4 = Fey & Charlot 2000 (cat. J/ApJS/128/17);
*     5 = Fey, Clegg & Fomalont (1996ApJS..105..299F);
*     6 = Fomalont et al. 2000 (cat. J/ApJS/131/95);
*     7 = Henstock et al. 1995 (cat. J/ApJS/100/1);
*     8 = Lee et al. 2008 (cat. J/AJ/136/159);
*     9 = Lister et al. 2009 (MOJAVE; cat. J/AJ/137/3718);
*    10 = Ojha et al. 2005 (cat. J/AJ/130/2529);
*    11 = Ojha et al. 2004 (cat. J/AJ/127/3609);
*    12 = Ojha et al. (2010A&A...519A..45O);
*    13 = Pearson & Readhead (1988ApJ...328..114P);
*    14 = Radio Fundamental Catalog (RFC; version "rfc_2013d"; Beasley et al.
*         2002 (cat. J/ApJS/141/13), Fomalont et al. 2003 (cat. J/AJ/126/2562),
*         Immer et al. 2011 (cat. J/ApJS/194/25), Kovalev et al. 2007
*         (cat. J/AJ/133/1236), Petrov et al. (2005, cat. J/AJ/129/1163; 2006,
*         cat. J/AJ/131/1872; 2008, cat. J/AJ/136/580; 2011, cat. J/AJ/142/35;
*         2011, cat. J/MNRAS/414/2528), Petrov & Taylor 2011 (cat. J/AJ/142/89),
*         Petrov (2011, cat. J/AJ/142/105; 2012, cat. J/MNRAS/419/1097; 2013,
*         cat. J/AJ/146/5));
*    15 = Shen et al. (1998AJ....115.1357S);
*    16 = Taylor et al. 1994 (cat. J/ApJS/95/345);
*    17 = Taylor et al. (1996ApJS..107...37T);
*    18 = Tingay, Murphy & Edwards (Paper I; 1998ApJ...500..673T);
*    19 = Tingay et al. (2002ApJS..141..311T);
*    20 = Xu et al. 1995 (cat. J/ApJS/99/297).

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table2.dat'	! Jet-bend data for {gamma}-ray-quiet radio Active
                                Galactic Nuclei (AGNs)

      integer*4 nr__1
      parameter (nr__1=200)	! Number of records
      character*61 ar__1  	! Full-size record

      character*10  Name_1     (nr__1) ! Source identifier (JHHMM+DDMM format)
      real*4        S4_85_1    (nr__1) ! (Jy) The 4.85GHz flux density (S_4.85_) (1)
      integer*4     PA_1       (nr__1) ! (deg) ? Parsec-scale jet position angle ({Phi}_pc_)
      integer*4     B1_1       (nr__1) ! (deg) ? First bending angle along the jet
      integer*4     B2_1       (nr__1) ! (deg) ? Second bending angle along the jet
      integer*4     Npc_1      (nr__1) ! ? Number of parsec-scale bends (N_pc_)
      integer*4     Bend_1     (nr__1) ! (deg) ? Maximum jet-bend angle (|{theta}_pc_|_max_)
      character*23  Ref_1      (nr__1) ! References for the Very Long Baseline
*                                   Interferometry (VLBI) map (2)
*Note (1): Given by the CRATES catalog (Healey et al. 2007, cat. J/ApJS/171/61).
*Note (2): Reference code defined as follows:
*     * = denotes the reference used to determine jet bends and maximum
*         jet-bending angle where multiple references exist;
*     1 = Bondi et al. (1996A&A...308..415B);
*     2 = Dodson et al. 2008 (cat. J/ApJS/175/314) and Scott et al. 2004
*         (cat. J/ApJS/155/33);
*     3 = Fey & Charlot (1997ApJS..111...95F);
*     4 = Fey & Charlot 2000 (cat. J/ApJS/128/17);
*     5 = Fey, Clegg & Fomalont (1996ApJS..105..299F);
*     6 = Fomalont et al. 2000 (cat. J/ApJS/131/95);
*     7 = Henstock et al. 1995 (cat. J/ApJS/100/1);
*     8 = Lee et al. 2008 (cat. J/AJ/136/159);
*     9 = Lister et al. 2009 (MOJAVE; cat. J/AJ/137/3718);
*    10 = Ojha et al. 2005 (cat. J/AJ/130/2529);
*    11 = Ojha et al. 2004 (cat. J/AJ/127/3609);
*    12 = Ojha et al. (2010A&A...519A..45O);
*    13 = Pearson & Readhead (1988ApJ...328..114P);
*    14 = Radio Fundamental Catalog (RFC; version "rfc_2013d"; Beasley et al.
*         2002 (cat. J/ApJS/141/13), Fomalont et al. 2003 (cat. J/AJ/126/2562),
*         Immer et al. 2011 (cat. J/ApJS/194/25), Kovalev et al. 2007
*         (cat. J/AJ/133/1236), Petrov et al. (2005, cat. J/AJ/129/1163; 2006,
*         cat. J/AJ/131/1872; 2008, cat. J/AJ/136/580; 2011, cat. J/AJ/142/35;
*         2011, cat. J/MNRAS/414/2528), Petrov & Taylor 2011 (cat. J/AJ/142/89),
*         Petrov (2011, cat. J/AJ/142/105; 2012, cat. J/MNRAS/419/1097; 2013,
*         cat. J/AJ/146/5));
*    15 = Shen et al. (1998AJ....115.1357S);
*    16 = Taylor et al. 1994 (cat. J/ApJS/95/345);
*    17 = Taylor et al. (1996ApJS..107...37T);
*    18 = Tingay, Murphy & Edwards (Paper I; 1998ApJ...500..673T);
*    19 = Tingay et al. (2002ApJS..141..311T);
*    20 = Xu et al. 1995 (cat. J/ApJS/99/297).

C=============================================================================

C  Loading file 'table1.dat'	! Jet-bend data for {gamma}-ray-loud radio Active
*                                Galactic Nuclei (AGNs)

C  Format for file interpretation

    1 format(A10,1X,F6.3,1X,I3,1X,I4,1X,I4,1X,I1,1X,I3,1X,A23)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,151
        read(1,'(A61)')ar__
        read(ar__,1)
     +  Name(i__),S4_85(i__),PA(i__),B1(i__),B2(i__),Npc(i__),
     +  Bend(i__),Ref(i__)
        if(ar__(19:21) .EQ. '') PA(i__) = iNULL__
        if(ar__(23:26) .EQ. '') B1(i__) = iNULL__
        if(ar__(28:31) .EQ. '') B2(i__) = iNULL__
        if(ar__(33:33) .EQ. '') Npc(i__) = iNULL__
        if(ar__(35:37) .EQ. '') Bend(i__) = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  Name(i__),S4_85(i__),PA(i__),B1(i__),B2(i__),Npc(i__),
     +  Bend(i__),Ref(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table2.dat'	! Jet-bend data for {gamma}-ray-quiet radio Active
*                                Galactic Nuclei (AGNs)

C  Format for file interpretation

    2 format(A10,1X,F6.3,1X,I3,1X,I4,1X,I4,1X,I1,1X,I3,1X,A23)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,200
        read(1,'(A61)')ar__1
        read(ar__1,2)
     +  Name_1(i__),S4_85_1(i__),PA_1(i__),B1_1(i__),B2_1(i__),
     +  Npc_1(i__),Bend_1(i__),Ref_1(i__)
        if(ar__1(19:21) .EQ. '') PA_1(i__) = iNULL__
        if(ar__1(23:26) .EQ. '') B1_1(i__) = iNULL__
        if(ar__1(28:31) .EQ. '') B2_1(i__) = iNULL__
        if(ar__1(33:33) .EQ. '') Npc_1(i__) = iNULL__
        if(ar__1(35:37) .EQ. '') Bend_1(i__) = iNULL__
c    ..............Just test output...........
        write(6,2)
     +  Name_1(i__),S4_85_1(i__),PA_1(i__),B1_1(i__),B2_1(i__),
     +  Npc_1(i__),Bend_1(i__),Ref_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================
      stop
      end