Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/700/1647 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-Mar-29 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/700/1647 Search for planetary companions with Spitzer/IRAC (Marengo+ 2009) *================================================================================ *Spitzer/Infrared array camera limits to planetary companions of Fomalhaut and *{epsilon} Eridani. * Marengo M., Stapelfeldt K., Werner M.W., Hora J.L., Fazio G.G., * Schuster M.T., Carson J.C., Megeath S.T. * <Astrophys. J., 700, 1647-1657 (2009)> * =2009ApJ...700.1647M C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table6.dat' ! Fomalhaut 3.6um dropout sources integer*4 nr__ parameter (nr__=22) ! Number of records character*65 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg real*8 RAdeg (nr__) ! (deg) Right ascension in decimal degrees (J2000) real*8 DEdeg (nr__) ! (deg) Declination in decimal degrees (J2000) integer*4 Dist (nr__) ! (AU) Distance real*4 v_4_5_ (nr__) ! (mag) Spitzer/IRAC 4.5um-band magnitude real*4 e__4_5_ (nr__) ! (mag) Uncertainty of 4.5um magnitude real*4 v_5_8_ (nr__) ! (mag) ? Spitzer/IRAC 5.8um-band magnitude real*4 e__5_8_ (nr__) ! (mag) ? Uncertainty of 5.8um magnitude real*4 v_8_0_ (nr__) ! (mag) ? Spitzer/IRAC 8.0um-band magnitude real*4 e__8_0_ (nr__) ! (mag) ? Uncertainty of 8.0um magnitude character*5 Note (nr__) ! Note(s) (1) *Note (1): Notes as follows: * 1 = [4.5]-[5.8] or [4.5]-[8.0] color suggest source being a background giant. * 2 = Source listed in Table 5, Marengo et al. (2006ApJ...647.1437M; * <[MMF2006] NN> in Simbad). * 3 = Source 11 in Table 3, Marengo et al. (2006ApJ...647.1437M). * 4 = Within field of view, but not detected by Macintosh et al. * (2003ApJ...594..538M; <[MBK2003] eps Eri NN> in Simbad). c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table7.dat' ! {epsilon} Eridani 3.6um dropout sources integer*4 nr__1 parameter (nr__1=33) ! Number of records character*65 ar__1 ! Full-size record C J2000 position composed of: RAdeg DEdeg 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) integer*4 Dist_1 (nr__1) ! (AU) Distance real*4 v_4_5__1 (nr__1) ! (mag) Spitzer/IRAC 4.5um-band magnitude real*4 e__4_5__1 (nr__1) ! (mag) Uncertainty of 4.5um magnitude real*4 v_5_8__1 (nr__1) ! (mag) ? Spitzer/IRAC 5.8um-band magnitude real*4 e__5_8__1 (nr__1) ! (mag) ? Uncertainty of 5.8um magnitude real*4 v_8_0__1 (nr__1) ! (mag) ? Spitzer/IRAC 8.0um-band magnitude real*4 e__8_0__1 (nr__1) ! (mag) ? Uncertainty of 8.0um magnitude character*5 Note_1 (nr__1) ! Note(s) (1) *Note (1): Notes as follows: * 1 = [4.5]-[5.8] or [4.5]-[8.0] color suggest source being a background giant. * 2 = Source listed in Table 5, Marengo et al. (2006ApJ...647.1437M; * <[MMF2006] NN> in Simbad). * 3 = Source 11 in Table 3, Marengo et al. (2006ApJ...647.1437M). * 4 = Within field of view, but not detected by Macintosh et al. * (2003ApJ...594..538M; <[MBK2003] eps Eri NN> in Simbad). C============================================================================= C Loading file 'table6.dat' ! Fomalhaut 3.6um dropout sources C Format for file interpretation 1 format( + F10.6,1X,F10.6,1X,I4,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2, + 1X,F4.2,1X,A5) C Effective file loading open(unit=1,status='old',file= +'table6.dat') write(6,*) '....Loading file: table6.dat' do i__=1,22 read(1,'(A65)')ar__ read(ar__,1) + RAdeg(i__),DEdeg(i__),Dist(i__),v_4_5_(i__),e__4_5_(i__), + v_5_8_(i__),e__5_8_(i__),v_8_0_(i__),e__8_0_(i__),Note(i__) if(ar__(39:43) .EQ. '') v_5_8_(i__) = rNULL__ if(ar__(45:48) .EQ. '') e__5_8_(i__) = rNULL__ if(ar__(50:54) .EQ. '') v_8_0_(i__) = rNULL__ if(ar__(56:59) .EQ. '') e__8_0_(i__) = rNULL__ c ..............Just test output........... write(6,1) + RAdeg(i__),DEdeg(i__),Dist(i__),v_4_5_(i__),e__4_5_(i__), + v_5_8_(i__),e__5_8_(i__),v_8_0_(i__),e__8_0_(i__),Note(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table7.dat' ! {epsilon} Eridani 3.6um dropout sources C Format for file interpretation 2 format( + F10.6,1X,F10.6,1X,I4,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2, + 1X,F4.2,1X,A5) C Effective file loading open(unit=1,status='old',file= +'table7.dat') write(6,*) '....Loading file: table7.dat' do i__=1,33 read(1,'(A65)')ar__1 read(ar__1,2) + RAdeg_1(i__),DEdeg_1(i__),Dist_1(i__),v_4_5__1(i__), + e__4_5__1(i__),v_5_8__1(i__),e__5_8__1(i__),v_8_0__1(i__), + e__8_0__1(i__),Note_1(i__) if(ar__1(39:43) .EQ. '') v_5_8__1(i__) = rNULL__ if(ar__1(45:48) .EQ. '') e__5_8__1(i__) = rNULL__ if(ar__1(50:54) .EQ. '') v_8_0__1(i__) = rNULL__ if(ar__1(56:59) .EQ. '') e__8_0__1(i__) = rNULL__ c ..............Just test output........... write(6,2) + RAdeg_1(i__),DEdeg_1(i__),Dist_1(i__),v_4_5__1(i__), + e__4_5__1(i__),v_5_8__1(i__),e__5_8__1(i__),v_8_0__1(i__), + e__8_0__1(i__),Note_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end