Conversion of standardized ReadMe file for
file /./ftp/cats/VII/266 into FORTRAN code for reading data files line by line.
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-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. VII/266 Atlas of Virgo galaxies (McDonald+ 2011) *================================================================================ *A multi-wavelength atlas for structural and stellar-populations studies of *Virgo galaxies * McDonald M., Courteau S., Tully R.B., Roediger J. * <Mon. Not. R. Astron. Soc. 414, 2055 (2011)> * =2011MNRAS.414.2055M C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'vcc.dat' ! Summary of the galaxies observed integer*4 nr__ parameter (nr__=286) ! Number of records character*116 ar__ ! Full-size record integer*4 VCC ! VCC (Virgo Cluster Catalog) number character*5 Qual ! [3210] Quality of profile for grizH bands (G1) real*4 gmagT ! (mag) ?=- g-band Total flux, extrapolated to infinity real*4 rmagT ! (mag) ?=- r-band Total flux, extrapolated to infinity real*4 imagT ! (mag) ?=- i-band Total flux, extrapolated to infinity real*4 zmagT ! (mag) ?=- z-band Total flux, extrapolated to infinity real*4 HmagT ! (mag) H-band Total flux, extrapolated to infinity real*4 g_ell ! ?=- g-band ellipticity real*4 r_ell ! ?=- r-band ellipticity real*4 i_ell ! ?=- i-band ellipticity real*4 z_ell ! ?=- z-band ellipticity real*4 H_ell ! H-band ellipticity real*4 g_B_T ! ?=- g-band Bulge to Total ratio real*4 r_B_T ! ?=- r-band Bulge to Total ratio real*4 i_B_T ! ?=- i-band Bulge to Total ratio real*4 z_B_T ! ?=- z-band Bulge to Total ratio real*4 H_B_T ! H-band Bulge to Total ratio character*15 Mtype ! Morphological class (from NED) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'bdd_g.dat' ! Bulge-disk Decomposition in g-band integer*4 nr__1 parameter (nr__1=285) ! Number of records character*180 ar__1 ! Full-size record integer*4 VCC_1 ! Galaxy name from the VCC catalog integer*4 Q ! [1/3] Quality of fit (G1) real*4 m_tot ! (mag) Total flux, extrapolated to infinity real*4 ell_d ! Disk ellipticity real*4 B_T ! Bulge to total ratio real*4 C28 ! Galaxy light concentration real*4 mu50 ! (mag/arcsec2) ?=100 Effective surface brightness (SB) real*4 r50 ! (arcsec) Effective radius real*4 mu_d ! (mag/arcsec2) ?=100 Effective SB of disk real*4 r_d ! (arcsec) Effective radius of disk real*4 mu_b ! (mag/arcsec2) ?=100 Effective SB of bulge real*4 r_b ! (arcsec) Effective radius of bulge real*4 n_b ! ?=100 Sersic index n for bulge real*4 m_n ! (mag) ?=- Total flux of nucleus, in mag real*4 FWHM ! (arcsec) ? Moffat seeing width c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'bdd_r.dat' ! Bulge-disk Decomposition in r-band integer*4 nr__2 parameter (nr__2=285) ! Number of records character*180 ar__2 ! Full-size record integer*4 VCC_2 ! Galaxy name from the VCC catalog integer*4 Q_1 ! [1/3] Quality of fit (G1) real*4 m_tot_1 ! (mag) Total flux, extrapolated to infinity real*4 ell_d_1 ! Disk ellipticity real*4 B_T_1 ! Bulge to total ratio real*4 C28_1 ! Galaxy light concentration real*4 mu50_1 ! (mag/arcsec2) ?=100 Effective surface brightness (SB) real*4 r50_1 ! (arcsec) Effective radius real*4 mu_d_1 ! (mag/arcsec2) ?=100 Effective SB of disk real*4 r_d_1 ! (arcsec) Effective radius of disk real*4 mu_b_1 ! (mag/arcsec2) ?=100 Effective SB of bulge real*4 r_b_1 ! (arcsec) Effective radius of bulge real*4 n_b_1 ! ?=100 Sersic index n for bulge real*4 m_n_1 ! (mag) ?=- Total flux of nucleus, in mag real*4 FWHM_1 ! (arcsec) ? Moffat seeing width c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'bdd_i.dat' ! Bulge-disk Decomposition in i-band integer*4 nr__3 parameter (nr__3=285) ! Number of records character*180 ar__3 ! Full-size record integer*4 VCC_3 ! Galaxy name from the VCC catalog integer*4 Q_2 ! [1/3] Quality of fit (G1) real*4 m_tot_1 ! (mag) Total flux, extrapolated to infinity real*4 ell_d_1 ! Disk ellipticity real*4 B_T_2 ! Bulge to total ratio real*4 C28_2 ! Galaxy light concentration real*4 mu50_2 ! (mag/arcsec2) ?=100 Effective surface brightness (SB) real*4 r50_2 ! (arcsec) Effective radius real*4 mu_d_1 ! (mag/arcsec2) ?=100 Effective SB of disk real*4 r_d_1 ! (arcsec) Effective radius of disk real*4 mu_b_1 ! (mag/arcsec2) ?=100 Effective SB of bulge real*4 r_b_1 ! (arcsec) Effective radius of bulge real*4 n_b_1 ! ?=100 Sersic index n for bulge real*4 m_n_1 ! (mag) ?=- Total flux of nucleus, in mag real*4 FWHM_2 ! (arcsec) ? Moffat seeing width c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'bdd_z.dat' ! Bulge-disk Decomposition in z-band integer*4 nr__4 parameter (nr__4=282) ! Number of records character*180 ar__4 ! Full-size record integer*4 VCC_4 ! Galaxy name from the VCC catalog integer*4 Q_3 ! [1/3] Quality of fit (G1) real*4 m_tot_1 ! (mag) Total flux, extrapolated to infinity real*4 ell_d_1 ! Disk ellipticity real*4 B_T_3 ! Bulge to total ratio real*4 C28_3 ! Galaxy light concentration real*4 mu50_3 ! (mag/arcsec2) ?=100 Effective surface brightness (SB) real*4 r50_3 ! (arcsec) Effective radius real*4 mu_d_1 ! (mag/arcsec2) ?=100 Effective SB of disk real*4 r_d_1 ! (arcsec) Effective radius of disk real*4 mu_b_1 ! (mag/arcsec2) ?=100 Effective SB of bulge real*4 r_b_1 ! (arcsec) Effective radius of bulge real*4 n_b_1 ! ?=100 Sersic index n for bulge real*4 m_n_1 ! (mag) ?=- Total flux of nucleus, in mag real*4 FWHM_3 ! (arcsec) ? Moffat seeing width c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'bdd_h.dat' ! Bulge-disk Decomposition in H-band integer*4 nr__5 parameter (nr__5=286) ! Number of records character*180 ar__5 ! Full-size record integer*4 VCC_5 ! Galaxy name from the VCC catalog integer*4 Q_4 ! [1/3] Quality of fit (G1) real*4 m_tot_1 ! (mag) Total flux, extrapolated to infinity real*4 ell_d_1 ! Disk ellipticity real*4 B_T_4 ! Bulge to total ratio real*4 C28_4 ! Galaxy light concentration real*4 mu50_4 ! (mag/arcsec2) ?=100 Effective surface brightness (SB) real*4 r50_4 ! (arcsec) Effective radius real*4 mu_d_1 ! (mag/arcsec2) ?=100 Effective SB of disk real*4 r_d_1 ! (arcsec) Effective radius of disk real*4 mu_b_1 ! (mag/arcsec2) ?=100 Effective SB of bulge real*4 r_b_1 ! (arcsec) Effective radius of bulge real*4 n_b_1 ! ?=100 Sersic index n for bulge real*4 m_n_1 ! (mag) ?=- Total flux of nucleus, in mag real*4 FWHM_4 ! (arcsec) ? Moffat seeing width c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'prof_g/*' ! Profiles in SDSS-g band integer*4 nr__6 parameter (nr__6=285) ! Number of records character*132 ar__6 ! Full-size record real*8 Radius ! (arcsec) Major-axis radius real*8 SB ! (mag/arcsec2) Median surface brightness real*8 e_SB ! (mag/arcsec2) ?=--- 1-{sigma} error in surface brightness real*4 Ellip ! Isophote ellipticity real*4 PA ! (deg) ?=--- Isophote position angle real*8 EMAG ! (mag) Total flux inside elliptical contour real*8 ELLMAG ! (mag) Same as EMAG but different algorithm real*8 e_ELLMAG ! (mag) Error in ELLMAG real*8 XC ! (pix) X center of isophote real*8 YC ! (pix) Y center of isophote real*8 A1 ! ?=--- Fourier coefficient real*8 A2 ! ?=--- Fourier coefficient real*8 A4 ! ?=--- Fourier coefficient real*8 CIRCMAG ! (mag) Integrated flux interior to circle c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'prof_r/*' ! Profiles in SDSS-r band integer*4 nr__7 parameter (nr__7=285) ! Number of records character*132 ar__7 ! Full-size record real*8 Radius_1 ! (arcsec) Major-axis radius real*8 SB_1 ! (mag/arcsec2) Median surface brightness real*8 e_SB_1 ! (mag/arcsec2) ?=--- 1-{sigma} error in surface brightness real*4 Ellip_1 ! Isophote ellipticity real*4 PA_1 ! (deg) ?=--- Isophote position angle real*8 EMAG_1 ! (mag) Total flux inside elliptical contour real*8 ELLMAG_1 ! (mag) Same as EMAG but different algorithm real*8 e_ELLMAG_1 ! (mag) Error in ELLMAG real*8 XC_1 ! (pix) X center of isophote real*8 YC_1 ! (pix) Y center of isophote real*8 A1_1 ! ?=--- Fourier coefficient real*8 A2_1 ! ?=--- Fourier coefficient real*8 A4_1 ! ?=--- Fourier coefficient real*8 CIRCMAG_1 ! (mag) Integrated flux interior to circle c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'prof_i/*' ! Profiles in SDSS-i band integer*4 nr__8 parameter (nr__8=285) ! Number of records character*132 ar__8 ! Full-size record real*8 Radius_2 ! (arcsec) Major-axis radius real*8 SB_2 ! (mag/arcsec2) Median surface brightness real*8 e_SB_2 ! (mag/arcsec2) ?=--- 1-{sigma} error in surface brightness real*4 Ellip_2 ! Isophote ellipticity real*4 PA_2 ! (deg) ?=--- Isophote position angle real*8 EMAG_2 ! (mag) Total flux inside elliptical contour real*8 ELLMAG_2 ! (mag) Same as EMAG but different algorithm real*8 e_ELLMAG_2 ! (mag) Error in ELLMAG real*8 XC_2 ! (pix) X center of isophote real*8 YC_2 ! (pix) Y center of isophote real*8 A1_2 ! ?=--- Fourier coefficient real*8 A2_2 ! ?=--- Fourier coefficient real*8 A4_2 ! ?=--- Fourier coefficient real*8 CIRCMAG_2 ! (mag) Integrated flux interior to circle c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'prof_z/*' ! Profiles in SDSS-z band integer*4 nr__9 parameter (nr__9=285) ! Number of records character*132 ar__9 ! Full-size record real*8 Radius_3 ! (arcsec) Major-axis radius real*8 SB_3 ! (mag/arcsec2) Median surface brightness real*8 e_SB_3 ! (mag/arcsec2) ?=--- 1-{sigma} error in surface brightness real*4 Ellip_3 ! Isophote ellipticity real*4 PA_3 ! (deg) ?=--- Isophote position angle real*8 EMAG_3 ! (mag) Total flux inside elliptical contour real*8 ELLMAG_3 ! (mag) Same as EMAG but different algorithm real*8 e_ELLMAG_3 ! (mag) Error in ELLMAG real*8 XC_3 ! (pix) X center of isophote real*8 YC_3 ! (pix) Y center of isophote real*8 A1_3 ! ?=--- Fourier coefficient real*8 A2_3 ! ?=--- Fourier coefficient real*8 A4_3 ! ?=--- Fourier coefficient real*8 CIRCMAG_3 ! (mag) Integrated flux interior to circle c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'prof_h/*' ! Profiles in 2MASS-H band integer*4 nr__10 parameter (nr__10=286) ! Number of records character*132 ar__10 ! Full-size record real*8 Radius_4 ! (arcsec) Major-axis radius real*8 SB_4 ! (mag/arcsec2) Median surface brightness real*8 e_SB_4 ! (mag/arcsec2) ?=--- 1-{sigma} error in surface brightness real*4 Ellip_4 ! Isophote ellipticity real*4 PA_4 ! (deg) ?=--- Isophote position angle real*8 EMAG_4 ! (mag) Total flux inside elliptical contour real*8 ELLMAG_4 ! (mag) Same as EMAG but different algorithm real*8 e_ELLMAG_4 ! (mag) Error in ELLMAG real*8 XC_4 ! (pix) X center of isophote real*8 YC_4 ! (pix) Y center of isophote real*8 A1_4 ! ?=--- Fourier coefficient real*8 A2_4 ! ?=--- Fourier coefficient real*8 A4_4 ! ?=--- Fourier coefficient real*8 CIRCMAG_4 ! (mag) Integrated flux interior to circle C============================================================================= C Loading file 'vcc.dat' ! Summary of the galaxies observed C Format for file interpretation 1 format( + 3X,I4,1X,A5,1X,F5.2,2X,F5.2,2X,F5.2,2X,F5.2,2X,F5.2,3X,F4.2, + 1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,2X,F4.2,1X,F4.2,1X,F4.2,1X, + F4.2,1X,F4.2,1X,A15) C Effective file loading open(unit=1,status='old',file= +'vcc.dat') write(6,*) '....Loading file: vcc.dat' do i__=1,286 read(1,'(A116)')ar__ read(ar__,1) + VCC,Qual,gmagT,rmagT,imagT,zmagT,HmagT,g_ell,r_ell,i_ell, + z_ell,H_ell,g_B_T,r_B_T,i_B_T,z_B_T,H_B_T,Mtype if (idig(ar__(15:19)).EQ.0) gmagT = rNULL__ if (idig(ar__(22:26)).EQ.0) rmagT = rNULL__ if (idig(ar__(29:33)).EQ.0) imagT = rNULL__ if (idig(ar__(36:40)).EQ.0) zmagT = rNULL__ if (idig(ar__(51:54)).EQ.0) g_ell = rNULL__ if (idig(ar__(56:59)).EQ.0) r_ell = rNULL__ if (idig(ar__(61:64)).EQ.0) i_ell = rNULL__ if (idig(ar__(66:69)).EQ.0) z_ell = rNULL__ if (idig(ar__(77:80)).EQ.0) g_B_T = rNULL__ if (idig(ar__(82:85)).EQ.0) r_B_T = rNULL__ if (idig(ar__(87:90)).EQ.0) i_B_T = rNULL__ if (idig(ar__(92:95)).EQ.0) z_B_T = rNULL__ c ..............Just test output........... write(6,1) + VCC,Qual,gmagT,rmagT,imagT,zmagT,HmagT,g_ell,r_ell,i_ell, + z_ell,H_ell,g_B_T,r_B_T,i_B_T,z_B_T,H_B_T,Mtype c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'bdd_g.dat' ! Bulge-disk Decomposition in g-band C Format for file interpretation 2 format( + 3X,I4,3X,I1,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X, + E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4, + 3X,E10.4) C Effective file loading open(unit=1,status='old',file= +'bdd_g.dat') write(6,*) '....Loading file: bdd_g.dat' do i__=1,285 read(1,'(A180)')ar__1 read(ar__1,2) + VCC_1,Q,m_tot,ell_d,B_T,C28,mu50,r50,mu_d,r_d,mu_b,r_b,n_b, + m_n,FWHM if (idig(ar__1(158:167)).EQ.0) m_n = rNULL__ if(ar__1(171:180) .EQ. '') FWHM = rNULL__ c ..............Just test output........... write(6,2) + VCC_1,Q,m_tot,ell_d,B_T,C28,mu50,r50,mu_d,r_d,mu_b,r_b,n_b, + m_n,FWHM c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'bdd_r.dat' ! Bulge-disk Decomposition in r-band C Format for file interpretation 3 format( + 3X,I4,3X,I1,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X, + E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4, + 3X,E10.4) C Effective file loading open(unit=1,status='old',file= +'bdd_r.dat') write(6,*) '....Loading file: bdd_r.dat' do i__=1,285 read(1,'(A180)')ar__2 read(ar__2,3) + VCC_2,Q_1,m_tot_1,ell_d_1,B_T_1,C28_1,mu50_1,r50_1,mu_d_1, + r_d_1,mu_b_1,r_b_1,n_b_1,m_n_1,FWHM_1 if (idig(ar__2(158:167)).EQ.0) m_n_1 = rNULL__ if(ar__2(171:180) .EQ. '') FWHM_1 = rNULL__ c ..............Just test output........... write(6,3) + VCC_2,Q_1,m_tot_1,ell_d_1,B_T_1,C28_1,mu50_1,r50_1,mu_d_1, + r_d_1,mu_b_1,r_b_1,n_b_1,m_n_1,FWHM_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'bdd_i.dat' ! Bulge-disk Decomposition in i-band C Format for file interpretation 4 format( + 3X,I4,3X,I1,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X, + E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4, + 3X,E10.4) C Effective file loading open(unit=1,status='old',file= +'bdd_i.dat') write(6,*) '....Loading file: bdd_i.dat' do i__=1,285 read(1,'(A180)')ar__3 read(ar__3,4) + VCC_3,Q_2,m_tot_1,ell_d_1,B_T_2,C28_2,mu50_2,r50_2,mu_d_1, + r_d_1,mu_b_1,r_b_1,n_b_1,m_n_1,FWHM_2 if (idig(ar__3(158:167)).EQ.0) m_n_1 = rNULL__ if(ar__3(171:180) .EQ. '') FWHM_2 = rNULL__ c ..............Just test output........... write(6,4) + VCC_3,Q_2,m_tot_1,ell_d_1,B_T_2,C28_2,mu50_2,r50_2,mu_d_1, + r_d_1,mu_b_1,r_b_1,n_b_1,m_n_1,FWHM_2 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'bdd_z.dat' ! Bulge-disk Decomposition in z-band C Format for file interpretation 5 format( + 3X,I4,3X,I1,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X, + E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4, + 3X,E10.4) C Effective file loading open(unit=1,status='old',file= +'bdd_z.dat') write(6,*) '....Loading file: bdd_z.dat' do i__=1,282 read(1,'(A180)')ar__4 read(ar__4,5) + VCC_4,Q_3,m_tot_1,ell_d_1,B_T_3,C28_3,mu50_3,r50_3,mu_d_1, + r_d_1,mu_b_1,r_b_1,n_b_1,m_n_1,FWHM_3 if (idig(ar__4(158:167)).EQ.0) m_n_1 = rNULL__ if(ar__4(171:180) .EQ. '') FWHM_3 = rNULL__ c ..............Just test output........... write(6,5) + VCC_4,Q_3,m_tot_1,ell_d_1,B_T_3,C28_3,mu50_3,r50_3,mu_d_1, + r_d_1,mu_b_1,r_b_1,n_b_1,m_n_1,FWHM_3 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'bdd_h.dat' ! Bulge-disk Decomposition in H-band C Format for file interpretation 6 format( + 3X,I4,3X,I1,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X, + E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4,3X,E10.4, + 3X,E10.4) C Effective file loading open(unit=1,status='old',file= +'bdd_h.dat') write(6,*) '....Loading file: bdd_h.dat' do i__=1,286 read(1,'(A180)')ar__5 read(ar__5,6) + VCC_5,Q_4,m_tot_1,ell_d_1,B_T_4,C28_4,mu50_4,r50_4,mu_d_1, + r_d_1,mu_b_1,r_b_1,n_b_1,m_n_1,FWHM_4 if (idig(ar__5(158:167)).EQ.0) m_n_1 = rNULL__ if(ar__5(171:180) .EQ. '') FWHM_4 = rNULL__ c ..............Just test output........... write(6,6) + VCC_5,Q_4,m_tot_1,ell_d_1,B_T_4,C28_4,mu50_4,r50_4,mu_d_1, + r_d_1,mu_b_1,r_b_1,n_b_1,m_n_1,FWHM_4 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'prof_g/*' ! Profiles in SDSS-g band C Format for file interpretation 7 format( + F7.2,2X,F8.3,1X,F7.3,2X,F6.3,2X,F5.1,2X,F7.3,2X,F7.3,2X,F7.3, + 2X,F7.2,2X,F7.2,10X,F7.1,1X,F7.1,1X,F7.1,7X,F7.3) C Effective file loading open(unit=1,status='old',file= +'prof_g/*') write(6,*) '....Loading file: prof_g/*' do i__=1,285 read(1,'(A132)')ar__6 read(ar__6,7) + Radius,SB,e_SB,Ellip,PA,EMAG,ELLMAG,e_ELLMAG,XC,YC,A1,A2,A4, + CIRCMAG if (idig(ar__6(19:25)).EQ.0) e_SB = rNULL__ if (idig(ar__6(36:40)).EQ.0) PA = rNULL__ if (idig(ar__6(96:102)).EQ.0) A1 = rNULL__ if (idig(ar__6(104:110)).EQ.0) A2 = rNULL__ if (idig(ar__6(112:118)).EQ.0) A4 = rNULL__ c ..............Just test output........... write(6,7) + Radius,SB,e_SB,Ellip,PA,EMAG,ELLMAG,e_ELLMAG,XC,YC,A1,A2,A4, + CIRCMAG c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'prof_r/*' ! Profiles in SDSS-r band C Format for file interpretation 8 format( + F7.2,2X,F8.3,1X,F7.3,2X,F6.3,2X,F5.1,2X,F7.3,2X,F7.3,2X,F7.3, + 2X,F7.2,2X,F7.2,10X,F7.1,1X,F7.1,1X,F7.1,7X,F7.3) C Effective file loading open(unit=1,status='old',file= +'prof_r/*') write(6,*) '....Loading file: prof_r/*' do i__=1,285 read(1,'(A132)')ar__7 read(ar__7,8) + Radius_1,SB_1,e_SB_1,Ellip_1,PA_1,EMAG_1,ELLMAG_1,e_ELLMAG_1, + XC_1,YC_1,A1_1,A2_1,A4_1,CIRCMAG_1 if (idig(ar__7(19:25)).EQ.0) e_SB_1 = rNULL__ if (idig(ar__7(36:40)).EQ.0) PA_1 = rNULL__ if (idig(ar__7(96:102)).EQ.0) A1_1 = rNULL__ if (idig(ar__7(104:110)).EQ.0) A2_1 = rNULL__ if (idig(ar__7(112:118)).EQ.0) A4_1 = rNULL__ c ..............Just test output........... write(6,8) + Radius_1,SB_1,e_SB_1,Ellip_1,PA_1,EMAG_1,ELLMAG_1,e_ELLMAG_1, + XC_1,YC_1,A1_1,A2_1,A4_1,CIRCMAG_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'prof_i/*' ! Profiles in SDSS-i band C Format for file interpretation 9 format( + F7.2,2X,F8.3,1X,F7.3,2X,F6.3,2X,F5.1,2X,F7.3,2X,F7.3,2X,F7.3, + 2X,F7.2,2X,F7.2,10X,F7.1,1X,F7.1,1X,F7.1,7X,F7.3) C Effective file loading open(unit=1,status='old',file= +'prof_i/*') write(6,*) '....Loading file: prof_i/*' do i__=1,285 read(1,'(A132)')ar__8 read(ar__8,9) + Radius_2,SB_2,e_SB_2,Ellip_2,PA_2,EMAG_2,ELLMAG_2,e_ELLMAG_2, + XC_2,YC_2,A1_2,A2_2,A4_2,CIRCMAG_2 if (idig(ar__8(19:25)).EQ.0) e_SB_2 = rNULL__ if (idig(ar__8(36:40)).EQ.0) PA_2 = rNULL__ if (idig(ar__8(96:102)).EQ.0) A1_2 = rNULL__ if (idig(ar__8(104:110)).EQ.0) A2_2 = rNULL__ if (idig(ar__8(112:118)).EQ.0) A4_2 = rNULL__ c ..............Just test output........... write(6,9) + Radius_2,SB_2,e_SB_2,Ellip_2,PA_2,EMAG_2,ELLMAG_2,e_ELLMAG_2, + XC_2,YC_2,A1_2,A2_2,A4_2,CIRCMAG_2 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'prof_z/*' ! Profiles in SDSS-z band C Format for file interpretation 10 format( + F7.2,2X,F8.3,1X,F7.3,2X,F6.3,2X,F5.1,2X,F7.3,2X,F7.3,2X,F7.3, + 2X,F7.2,2X,F7.2,10X,F7.1,1X,F7.1,1X,F7.1,7X,F7.3) C Effective file loading open(unit=1,status='old',file= +'prof_z/*') write(6,*) '....Loading file: prof_z/*' do i__=1,285 read(1,'(A132)')ar__9 read(ar__9,10) + Radius_3,SB_3,e_SB_3,Ellip_3,PA_3,EMAG_3,ELLMAG_3,e_ELLMAG_3, + XC_3,YC_3,A1_3,A2_3,A4_3,CIRCMAG_3 if (idig(ar__9(19:25)).EQ.0) e_SB_3 = rNULL__ if (idig(ar__9(36:40)).EQ.0) PA_3 = rNULL__ if (idig(ar__9(96:102)).EQ.0) A1_3 = rNULL__ if (idig(ar__9(104:110)).EQ.0) A2_3 = rNULL__ if (idig(ar__9(112:118)).EQ.0) A4_3 = rNULL__ c ..............Just test output........... write(6,10) + Radius_3,SB_3,e_SB_3,Ellip_3,PA_3,EMAG_3,ELLMAG_3,e_ELLMAG_3, + XC_3,YC_3,A1_3,A2_3,A4_3,CIRCMAG_3 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'prof_h/*' ! Profiles in 2MASS-H band C Format for file interpretation 11 format( + F7.2,2X,F8.3,1X,F7.3,2X,F6.3,2X,F5.1,2X,F7.3,2X,F7.3,2X,F7.3, + 2X,F7.2,2X,F7.2,10X,F7.1,1X,F7.1,1X,F7.1,7X,F7.3) C Effective file loading open(unit=1,status='old',file= +'prof_h/*') write(6,*) '....Loading file: prof_h/*' do i__=1,286 read(1,'(A132)')ar__10 read(ar__10,11) + Radius_4,SB_4,e_SB_4,Ellip_4,PA_4,EMAG_4,ELLMAG_4,e_ELLMAG_4, + XC_4,YC_4,A1_4,A2_4,A4_4,CIRCMAG_4 if (idig(ar__10(19:25)).EQ.0) e_SB_4 = rNULL__ if (idig(ar__10(36:40)).EQ.0) PA_4 = rNULL__ if (idig(ar__10(96:102)).EQ.0) A1_4 = rNULL__ if (idig(ar__10(104:110)).EQ.0) A2_4 = rNULL__ if (idig(ar__10(112:118)).EQ.0) A4_4 = rNULL__ c ..............Just test output........... write(6,11) + Radius_4,SB_4,e_SB_4,Ellip_4,PA_4,EMAG_4,ELLMAG_4,e_ELLMAG_4, + XC_4,YC_4,A1_4,A2_4,A4_4,CIRCMAG_4 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end C Locate position of first digit in string; or return 0 integer function idig(c) character*(*) c character*1 c1 integer lc,i lc=len(c) idig=0 do i=1,lc if(c(i:i).ne.' ') go to 1 end do 1 if(i.gt.lc) return c1=c(i:i) if(c1.eq.'.'.or.c1.eq.'-'.or.c1.eq.'+') i=i+1 if(i.gt.lc) return c1=c(i:i) if(c1.ge.'0'.and.c1.le.'9') idig=i return end