Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/704/898 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-20 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/704/898 Photometry of the Hercules dwarf galaxy (Sand+, 2009) *================================================================================ *The star formation history and extended structure of the Hercules Milky Way *satellite. * Sand D.J., Olszewski E.W., Willman B., Zaritsky D., Seth A., Harris J., * Piatek S., Saha A. * <Astrophys. J., 704, 898-914 (2009)> * =2009ApJ...704..898S C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Hercules photometry - central field integer*4 nr__ parameter (nr__=24818) ! Number of records character*77 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg integer*4 Seq (nr__) ! Star identification number real*8 RAdeg (nr__) ! (deg) Right Ascension in decimal degrees (J2000) real*8 DEdeg (nr__) ! (deg) Declination in decimal degrees (J2000) real*4 Bmag (nr__) ! (mag) B band magnitude real*4 e_Bmag (nr__) ! (mag) Error in Bmag real*4 AB (nr__) ! (mag) B band extinction (1) real*4 Vmag (nr__) ! (mag) V band magnitude real*4 e_Vmag (nr__) ! (mag) Error in Vmag real*4 AV (nr__) ! (mag) V band extinction (1) real*4 rmag (nr__) ! (mag) r band magnitude real*4 e_rmag (nr__) ! (mag) Error in rmag real*4 Ar (nr__) ! (mag) r band extinction (1) character*4 Obs (nr__) ! [LBT/SDSS] Observed by SDSS or LBT * (Large Binocular Telescope) *Note (1): extinction from Schlegel et al. (1998ApJ...500..525S) dust maps c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Hercules photometry - adjacent fields integer*4 nr__1 parameter (nr__1=43637) ! Number of records character*63 ar__1 ! Full-size record C J2000 position composed of: RAdeg DEdeg integer*4 Seq_1 (nr__1) ! Star identification number real*8 RAdeg_1 (nr__1) ! (deg) Right Ascension in decimal degrees (J2000) real*8 DEdeg_1 (nr__1) ! (deg) Declination in decimal degrees (J2000) real*4 Bmag_1 (nr__1) ! (mag) B band magnitude real*4 e_Bmag_1 (nr__1) ! (mag) Error in Bmag real*4 AB_1 (nr__1) ! (mag) B band extinction real*4 rmag_1 (nr__1) ! (mag) r band magnitude real*4 e_rmag_1 (nr__1) ! (mag) Error in rmag real*4 Ar_1 (nr__1) ! (mag) r band extinction integer*4 F (nr__1) ! [1,4] Field number (1) character*4 Obs_1 (nr__1) ! [LBT/SDSS] Observed by SDSS or LBT * (Large Binocular Telescope) *Note (1): Smoothed contour plots of Hercules and adjacent fields are * presented in figure 9: the contours show the 3, 4, 5, 7, 10, 15, and * 20{sigma} levels. Each row shows our Hercules pointings arranged from * East to West, with the middle panel roughly centered on the position * of Hercules. The top row shows contour plots after smoothing the data * by 2arcmin. The middle row is smoothed by 1.5arcmin, and the bottom * row is smoothed by 1arcmin. C============================================================================= C Loading file 'table2.dat' ! Hercules photometry - central field C Format for file interpretation 1 format( + I5,1X,F9.5,1X,F8.5,1X,F5.2,1X,F4.2,1X,F4.2,1X,F5.2,1X,F4.2,1X, + F4.2,1X,F5.2,1X,F4.2,1X,F4.2,1X,A4) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,24818 read(1,'(A77)')ar__ read(ar__,1) + Seq(i__),RAdeg(i__),DEdeg(i__),Bmag(i__),e_Bmag(i__),AB(i__), + Vmag(i__),e_Vmag(i__),AV(i__),rmag(i__),e_rmag(i__),Ar(i__), + Obs(i__) c ..............Just test output........... write(6,1) + Seq(i__),RAdeg(i__),DEdeg(i__),Bmag(i__),e_Bmag(i__),AB(i__), + Vmag(i__),e_Vmag(i__),AV(i__),rmag(i__),e_rmag(i__),Ar(i__), + Obs(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Hercules photometry - adjacent fields C Format for file interpretation 2 format( + I5,1X,F9.5,1X,F8.5,1X,F5.2,1X,F4.2,1X,F4.2,1X,F5.2,1X,F4.2,1X, + F4.2,1X,I1,1X,A4) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,43637 read(1,'(A63)')ar__1 read(ar__1,2) + Seq_1(i__),RAdeg_1(i__),DEdeg_1(i__),Bmag_1(i__), + e_Bmag_1(i__),AB_1(i__),rmag_1(i__),e_rmag_1(i__),Ar_1(i__), + F(i__),Obs_1(i__) c ..............Just test output........... write(6,2) + Seq_1(i__),RAdeg_1(i__),DEdeg_1(i__),Bmag_1(i__), + e_Bmag_1(i__),AB_1(i__),rmag_1(i__),e_rmag_1(i__),Ar_1(i__), + F(i__),Obs_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end