FORTRAN Generation
(/./ftp/cats/J/ApJ/706/1277)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/706/1277 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-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/ApJ/706/1277       Stromgren photometry in {omega} Cen       (Calamida+, 2009)
*================================================================================
*Stromgren photometry of Galactic globular clusters.
*II. Metallicity distribution of red giants in {omega} Centauri.
*    Calamida A., Bono G., Stetson P.B., Freyhammer L.M., Piersimoni A.M.,
*    Buonanno R., Caputo F., Cassisi S., Castellani M., Corsi C.E., Dall'Ora M.,
*    Degl'Innocenti S., Ferraro I., Grundahl F., Hilker M., Iannicola G.,
*    Monelli M., Nonino M., Patat N., Pietrinferni A., Prada Moroni P.G.,
*    Primas F., Pulone L., Richtler T., Romaniello M., Storm J., Walker A.R.
*   <Astrophys. J., 706, 1277-1298 (2009)>
*   =2009ApJ...706.1277C
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! Log of scientific CCD images of {omega} Cen
                             collected by L. Freyhammer (central field) and
                             by F. Grundahl (SW fields)

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

      character*12  Run        (nr__) ! Observation run identification
      character*14  Frame      (nr__) ! Frame identification
      character*4   Field      (nr__) ! Field identification
      character*10  Date       (nr__) ! ("YYYY/MM/DD") UT Day of the observation
      real*8        HJD        (nr__) ! (d) Heliocentric Julian Date
      integer*4     Exp        (nr__) ! (s) Individual exposure time (G2)
      character*7   Filt       (nr__) ! Stromgren or near-IR filter used (G1)
      real*4        See        (nr__) ! (arcsec) Individual seeing

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

C  Declarations for 'table4.dat'	! Log of scientific CCD images of {omega} Centauri
                             collected by M. Hilker (see fields in Figure 1)

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

      character*12  Run_1      (nr__1) ! Observation run identification
      character*14  Frame_1    (nr__1) ! Frame identification
      character*4   Field_1    (nr__1) ! Field identification
      character*10  Date_1     (nr__1) ! ("YYYY/MM/DD") UT Day of the observation
      real*8        HJD_1      (nr__1) ! (d) Heliocentric Julian Date
      integer*4     Exp_1      (nr__1) ! (s) Individual exposure time (G2)
      character*7   Filt_1     (nr__1) ! Stromgren or near-IR filter used (G1)
      real*4        See_1      (nr__1) ! (arcsec) Individual seeing

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

C  Declarations for 'table6.dat'	! Log of scientific NIR CCD images of {omega}
                             Centauri

      integer*4 nr__2
      parameter (nr__2=355)	! Number of records
      character*74 ar__2  	! Full-size record

      character*12  Run_2      (nr__2) ! Observation run identification
      character*14  Frame_2    (nr__2) ! Frame identification
      character*4   Field_2    (nr__2) ! Field identification
      character*10  Date_2     (nr__2) ! ("YYYY/MM/DD") UT Day of the observation
      real*8        HJD_2      (nr__2) ! (d) Heliocentric Julian Date
      integer*4     Exp_2      (nr__2) ! (s) Individual exposure time (G2)
      character*7   Filt_2     (nr__2) ! Stromgren or near-IR filter used (G1)
      real*4        See_2      (nr__2) ! (arcsec) Individual seeing

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

C  Declarations for 'table7.dat'	! Set of Stroemgren standard stars observed by
                             F. Grundahl (FG)

      integer*4 nr__3
      parameter (nr__3=114)	! Number of records
      character*27 ar__3  	! Full-size record

      character*8   Name       (nr__3) ! Star name (1)
      character*10  Date_3     (nr__3) ! ("YYYY/MM/DD") UT Day of the observation (2)
      character*7   Filt_3     (nr__3) ! [u,v,b,y] Filter used (u,v,b,y together)
*Note (1): Standard stars have been selected from catalogs of photometric
*     standards of Olsen (1993, Cat. J/A+AS/102/89) and Schuster & Nissen
*     (1988A&AS...73..225S). See text for more details.
*Note (2): Data set collected between April 1999 and June 1999 with the
*     1.54m Danish Telescope available at ESO (La Silla).

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

C  Declarations for 'table8.dat'	! Log of standard stars of the reference
                             photometric night

      integer*4 nr__4
      parameter (nr__4=88)	! Number of records
      character*26 ar__4  	! Full-size record

      character*8   Name_1     (nr__4) ! Star name (1)
      real*8        HJD_3      (nr__4) ! (d) Heliocentric Julian Date
      integer*4     Exp_3      (nr__4) ! (s) Individual exposure time
      character*1   Filt_4     (nr__4) ! [buvy] Filter used (Stromgren b,u,v or y)
*Note (1): HD standard stars have been observed during the night of June the
*     6th, 1999, with the 1.54m Danish Telescope available at ESO (La Silla).

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

C  Loading file 'table3.dat'	! Log of scientific CCD images of {omega} Cen
*                             collected by L. Freyhammer (central field) and
*                             by F. Grundahl (SW fields)

C  Format for file interpretation

    1 format(A12,1X,A14,1X,A4,1X,A10,1X,F12.4,1X,I4,1X,A7,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,135
        read(1,'(A74)')ar__
        read(ar__,1)
     +  Run(i__),Frame(i__),Field(i__),Date(i__),HJD(i__),Exp(i__),
     +  Filt(i__),See(i__)
c    ..............Just test output...........
        write(6,1)
     +  Run(i__),Frame(i__),Field(i__),Date(i__),HJD(i__),Exp(i__),
     +  Filt(i__),See(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Log of scientific CCD images of {omega} Centauri
*                             collected by M. Hilker (see fields in Figure 1)

C  Format for file interpretation

    2 format(A12,1X,A14,1X,A4,1X,A10,1X,F12.4,1X,I4,1X,A7,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,193
        read(1,'(A74)')ar__1
        read(ar__1,2)
     +  Run_1(i__),Frame_1(i__),Field_1(i__),Date_1(i__),HJD_1(i__),
     +  Exp_1(i__),Filt_1(i__),See_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  Run_1(i__),Frame_1(i__),Field_1(i__),Date_1(i__),HJD_1(i__),
     +  Exp_1(i__),Filt_1(i__),See_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! Log of scientific NIR CCD images of {omega}
*                             Centauri

C  Format for file interpretation

    3 format(A12,1X,A14,1X,A4,1X,A10,1X,F12.4,1X,I4,1X,A7,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,355
        read(1,'(A74)')ar__2
        read(ar__2,3)
     +  Run_2(i__),Frame_2(i__),Field_2(i__),Date_2(i__),HJD_2(i__),
     +  Exp_2(i__),Filt_2(i__),See_2(i__)
c    ..............Just test output...........
        write(6,3)
     +  Run_2(i__),Frame_2(i__),Field_2(i__),Date_2(i__),HJD_2(i__),
     +  Exp_2(i__),Filt_2(i__),See_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7.dat'	! Set of Stroemgren standard stars observed by
*                             F. Grundahl (FG)

C  Format for file interpretation

    4 format(A8,1X,A10,1X,A7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,114
        read(1,'(A27)')ar__3
        read(ar__3,4)Name(i__),Date_3(i__),Filt_3(i__)
c    ..............Just test output...........
        write(6,4)Name(i__),Date_3(i__),Filt_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table8.dat'	! Log of standard stars of the reference
*                             photometric night

C  Format for file interpretation

    5 format(A8,1X,F12.4,1X,I2,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table8.dat')
      write(6,*) '....Loading file: table8.dat'
      do i__=1,88
        read(1,'(A26)')ar__4
        read(ar__4,5)Name_1(i__),HJD_3(i__),Exp_3(i__),Filt_4(i__)
c    ..............Just test output...........
        write(6,5)Name_1(i__),HJD_3(i__),Exp_3(i__),Filt_4(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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