Conversion of standardized ReadMe file for
file /./ftp/cats/J/AZh/85/794 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/AZh/85/794 UBVRH{alpha} photometry on 5 galaxies (Gusev+, 2008) *================================================================================ *Age and interstellar absorption in young star-formation regions in the galaxies *NGC 1068, NGC 4449, NGC 4490, NGC 4631, and NGC 4656/57 derived from multicolor *photometry. * Gusev A.S., Myakutin V.I., Piskunov A.E., Sakhibov F.K., Khramtsova M.S. * <Astron. Zh. 85, 794 (2008)> * =2008AZh....85..794G * =2008ARep...52..714G C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Photometry of star formation complexes (SFCs) in galaxies integer*4 nr__ parameter (nr__=170) ! Number of records character*64 ar__ ! Full-size record character*8 Galaxy (nr__) ! Galaxy name character*3 m_Galaxy (nr__) ! [/57 ] For Galaxy = NGC 4556/57 integer*4 HII (nr__) ! Giant HII region number within the cluster real*4 U_B (nr__) ! (mag) ?=- U-B colour index real*4 B_V (nr__) ! (mag) ?=- B-V colour index real*4 V_R (nr__) ! (mag) ?=- V-R colour index real*4 LCI (nr__) ! (mag) ?=- Lyman continuum index (1) real*4 Bmag (nr__) ! (mag) B magnitude real*4 D (nr__) ! (arcsec) Size of the image of the object in the * H{alpha}+[NII] filter real*4 AV (nr__) ! (mag) ? Interstellar absorption in V band real*4 logt (nr__) ! ([yr]) ? Age estimate real*4 Delta (nr__) ! (mag) ? Error in the colours corrected for the * interstellar absorption (2) *Note (1): LCI=2-log(F(Ha+[NII])/F(B)), where F(Ha+[NII] is the flux in * close hydrogen and nitrogen emission lines and F(B) the flux in the * stellar continuum in the B Band. *Note (2): Error is deviations of color indices corrected for interstellar * absorption from theoretical color indices for the nearest node of * evolutionary model grid. C============================================================================= C Loading file 'table1.dat' ! Photometry of star formation complexes (SFCs) * in galaxies C Format for file interpretation 1 format( + A8,A3,1X,I2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F4.1, + 1X,F4.2,1X,F4.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,170 read(1,'(A64)')ar__ read(ar__,1) + Galaxy(i__),m_Galaxy(i__),HII(i__),U_B(i__),B_V(i__),V_R(i__), + LCI(i__),Bmag(i__),D(i__),AV(i__),logt(i__),Delta(i__) if (idig(ar__(16:20)).EQ.0) U_B(i__) = rNULL__ if (idig(ar__(22:26)).EQ.0) B_V(i__) = rNULL__ if (idig(ar__(28:32)).EQ.0) V_R(i__) = rNULL__ if (idig(ar__(34:38)).EQ.0) LCI(i__) = rNULL__ if(ar__(51:54) .EQ. '') AV(i__) = rNULL__ if(ar__(56:59) .EQ. '') logt(i__) = rNULL__ if(ar__(61:64) .EQ. '') Delta(i__) = rNULL__ c ..............Just test output........... write(6,1) + Galaxy(i__),m_Galaxy(i__),HII(i__),U_B(i__),B_V(i__),V_R(i__), + LCI(i__),Bmag(i__),D(i__),AV(i__),logt(i__),Delta(i__) 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