Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/792/121 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 2026-Oct-12
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/792/121 Photometric survey of planetary nebulae in M31 (Veyette+, 2014)
*================================================================================
*Panchromatic Hubble Andromeda Treasury.
*IX. A photometric survey of planetary nebulae in M31.
* Veyette M.J., Williams B.F., Dalcanton J.J., Balick B., Caldwell N.,
* Fouesneau M., Girardi L., Gordon K.D., Kalirai J., Rosenfield P., Seth A.C.
* <Astrophys. J., 792, 121 (2014)>
* =2014ApJ...792..121V (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! M31 PNe Photometric Catalog
integer*4 nr__
parameter (nr__=467) ! Number of records
character*75 ar__ ! Full-size record
C J2000 position composed of: RAdeg DEdeg
integer*4 M06 ! Merrett et al. 2006 (J/MNRAS/369/120) identifier
* (NNNN, [MMD2006] NNNN in Simbad)
real*8 RAdeg ! (deg) PHAT Right Ascension in decimal degrees (J2000)
real*8 DEdeg ! (deg) PHAT Declination in decimal degrees (J2000)
real*4 F275W ! (mag) ? HST/WFC3 F275W band magnitude
real*4 F336W ! (mag) ? HST/WFC3 F336W band magnitude
real*4 F475W ! (mag) ? HST/ACS F475W band magnitude
real*4 F814W ! (mag) ? HST/ACS F814W band magnitude
real*4 F110W ! (mag) ? HST/WFC3 F110W band magnitude
real*4 F160W ! (mag) ? HST/WFC3 F160W band magnitude
real*4 EC ! ? Excitation classification (1)
character*4 zPN ! Standard score from typical PNe (2)
*Note (1): All PNe with F475W-mag5007>0.2 are assumed to have EC>3.8
*Note (2): A measure of classification confidence. See Section 2.2.2 for
* full derivation.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Misidentified Extended HII Regions
integer*4 nr__1
parameter (nr__1=78) ! Number of records
character*30 ar__1 ! Full-size record
C J2000 position composed of: RAdeg DEdeg
character*4 M06_1 ! Merrett et al. 2006 (J/MNRAS/369/120) identifier
* (NNNN)
real*8 RAdeg_1 ! (deg) M06 Right Ascension in decimal degrees (J2000)
real*8 DEdeg_1 ! (deg) M06 Declination in decimal degrees (J2000)
real*4 mag5007 ! (mag) M06 Apparent Magnitude at 500.7 nm
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Misidentified Stellar Sources
integer*4 nr__2
parameter (nr__2=74) ! Number of records
character*66 ar__2 ! Full-size record
C J2000 position composed of: RAdeg DEdeg
character*4 M06_2 ! Merrett et al. 2006 (J/MNRAS/369/120) identifier
* (NNNN) (1)
real*8 RAdeg_2 ! (deg) ? PHAT Right Ascension in decimal degrees (J2000)
real*8 DEdeg_2 ! (deg) ? PHAT Declination in decimal degrees (J2000)
real*4 F275W_1 ! (mag) ? HST/WFC3 F275W band magnitude
real*4 F336W_1 ! (mag) ? HST/WFC3 F336W band magnitude
real*4 F475W_1 ! (mag) ? HST/ACS F475W band magnitude
real*4 F814W_1 ! (mag) ? HST/ACS F814W band magnitude
real*4 F110W_1 ! (mag) ? HST/WFC3 F110W band magnitude
real*4 F160W_1 ! (mag) ? HST/WFC3 F160W band magnitude
*Note (1): M06 sources that are likely misidentified non-PN stellar sources and
* excluded from the PHAT PNe catalog.
C=============================================================================
C Loading file 'table2.dat' ! M31 PNe Photometric Catalog
C Format for file interpretation
1 format(
+ I4,1X,F9.6,1X,F9.6,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,
+ F6.3,1X,F3.1,1X,A4)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,467
read(1,'(A75)')ar__
read(ar__,1)
+ M06,RAdeg,DEdeg,F275W,F336W,F475W,F814W,F110W,F160W,EC,zPN
if(ar__(26:31) .EQ. '') F275W = rNULL__
if(ar__(33:38) .EQ. '') F336W = rNULL__
if(ar__(40:45) .EQ. '') F475W = rNULL__
if(ar__(47:52) .EQ. '') F814W = rNULL__
if(ar__(54:59) .EQ. '') F110W = rNULL__
if(ar__(61:66) .EQ. '') F160W = rNULL__
if(ar__(68:70) .EQ. '') EC = rNULL__
c ..............Just test output...........
write(6,1)
+ M06,RAdeg,DEdeg,F275W,F336W,F475W,F814W,F110W,F160W,EC,zPN
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Misidentified Extended HII Regions
C Format for file interpretation
2 format(A4,1X,F9.6,1X,F9.6,1X,F5.2)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,78
read(1,'(A30)')ar__1
read(ar__1,2)M06_1,RAdeg_1,DEdeg_1,mag5007
c ..............Just test output...........
write(6,2)M06_1,RAdeg_1,DEdeg_1,mag5007
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! Misidentified Stellar Sources
C Format for file interpretation
3 format(
+ A4,1X,F9.6,1X,F9.6,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,
+ F6.3)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,74
read(1,'(A66)')ar__2
read(ar__2,3)
+ M06_2,RAdeg_2,DEdeg_2,F275W_1,F336W_1,F475W_1,F814W_1,F110W_1,
+ F160W_1
if(ar__2(6:14) .EQ. '') RAdeg_2 = rNULL__
if(ar__2(16:24) .EQ. '') DEdeg_2 = rNULL__
if(ar__2(26:31) .EQ. '') F275W_1 = rNULL__
if(ar__2(33:38) .EQ. '') F336W_1 = rNULL__
if(ar__2(40:45) .EQ. '') F475W_1 = rNULL__
if(ar__2(47:52) .EQ. '') F814W_1 = rNULL__
if(ar__2(54:59) .EQ. '') F110W_1 = rNULL__
if(ar__2(61:66) .EQ. '') F160W_1 = rNULL__
c ..............Just test output...........
write(6,3)
+ M06_2,RAdeg_2,DEdeg_2,F275W_1,F336W_1,F475W_1,F814W_1,F110W_1,
+ F160W_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end