Conversion of standardized ReadMe file for
file /./ftp/cats/VII/208 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-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. VII/208 Faint Galaxies at the North Galactic Pole (Infante+ 1995) *================================================================================ *Faint Galaxies at the North Galactic Pole: The Catalogue * Infante L., Pritchet C.J., Hertling G. * <J. Astron. Data 1, N{deg}2 (1995)> * =1995JAD.....1....2I C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'faintgal.dat' ! The Catalog of Faint Galaxies at NGP integer*4 nr__ parameter (nr__=60852) ! Number of records character*112 ar__ ! Full-size record C 1950 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension 1950 real*8 DEdeg ! (deg) Declination 1950 C ---------------------------------- ! (position vector(s) in degrees) integer*4 NGPFG ! [1/60852] Running number integer*4 RAh ! (h) Right Ascension 1950 (hours) integer*4 RAm ! (min) Right Ascension 1950 (minutes) real*4 RAs ! (s) Right Ascension 1950 (seconds) character*1 DE_ ! Declination 1950 (sign) integer*4 DEd ! (deg) Declination 1950 (degrees) integer*4 DEm ! (arcmin) Declination 1950 (minutes) real*4 DEs ! (arcsec) Declination 1950 (seconds) real*4 Jmag ! (mag) ? Magnitude from IIIaJ plate (blue) real*4 Fmag ! (mag) ? Magnitude from IIIaF plate (red) real*4 Sxx ! (arcsec2) Covariance term (1) real*4 Sxy ! (arcsec2) Covariance term (1) real*4 Syy ! (arcsec2) Covariance term (1) real*4 Peak ! (mag/arcsec2) Height image above sky level integer*4 Field ! [1/5] Area ID real*4 A1 ! (arcsec2) Areal profile at threshold T+1 (2) real*4 A2 ! (arcsec2) Areal profile at threshold T+2 (2) real*4 A3 ! (arcsec2) Areal profile at threshold T+4 (2) real*4 A4 ! (arcsec2) Areal profile at threshold T+8 (2) real*4 A5 ! (arcsec2) Areal profile at threshold T+16 (2) real*4 A6 ! (arcsec2) Areal profile at threshold T+32 (2) real*4 A7 ! (arcsec2) Areal profile at threshold T+64 (2) real*4 A8 ! (arcsec2) Areal profile at threshold T+128 (2) *Note (1): The intensity-weighted covariance terms are defined in the * paper; they are related to the size, eccentricity and position * angle of the galaxy by: * S = sqrt(Sxx + Syy) * e = (Syy + sqrt((Sxx-Syy)^2^ + 4 Syx^2^))/(Sxx+Syy) * tan(PA) = Sxy/((Sxx + Syy)(1+e)/2 - Syy) *Note (2): defines the area enclosed by a given isophote. * The surface brightness values of the threshold are: * ---------------------- * Field T(J) T(F) * (mag/arcsec2) * ---------------------- * 1 25.84 24.38 * 2 25.66 * 3 25.06 24.60 * 4 25.79 24.41 * 5 25.69 24.58 * ---------------------- C============================================================================= C Loading file 'faintgal.dat' ! The Catalog of Faint Galaxies at NGP C Format for file interpretation 1 format( + I5,1X,I2,I2,F5.2,A1,I2,I2,F4.1,1X,F5.2,1X,F5.2,1X,F5.2,1X, + F5.2,1X,F5.2,1X,F5.2,1X,I1,1X,F6.2,1X,F6.2,1X,F5.2,1X,F5.2,1X, + F5.2,1X,F5.2,1X,F5.2,1X,F5.2) C Effective file loading open(unit=1,status='old',file= +'faintgal.dat') write(6,*) '....Loading file: faintgal.dat' do i__=1,60852 read(1,'(A112)')ar__ read(ar__,1) + NGPFG,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Jmag,Fmag,Sxx,Sxy,Syy,Peak, + Field,A1,A2,A3,A4,A5,A6,A7,A8 if(ar__(26:30) .EQ. '') Jmag = rNULL__ if(ar__(32:36) .EQ. '') Fmag = rNULL__ RAdeg = rNULL__ DEdeg = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh .GT. -180) RAdeg=RAh*15. if(RAm .GT. -180) RAdeg=RAdeg+RAm/4. if(RAs .GT. -180) RAdeg=RAdeg+RAs/240. if(DEd .GE. 0) DEdeg=DEd if(DEm .GE. 0) DEdeg=DEdeg+DEm/60. if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600. if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg c ..............Just test output........... write(6,1) + NGPFG,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Jmag,Fmag,Sxx,Sxy,Syy,Peak, + Field,A1,A2,A3,A4,A5,A6,A7,A8 write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= stop end