Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/455/3413 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.
++++Only one proper motion (pm) found for: table6.dat table7.dat
program load_ReadMe
C=============================================================================
C F77-compliant program generated by readme2f_1.81 (2015-09-23), on 2026-Aug-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/MNRAS/455/3413 New white dwarf and subdwarf stars in SDSS DR12 (Kepler+, 2016)
*================================================================================
*New white dwarf and subdwarf stars in the Sloan Digital Sky Survey
*Data Release 12.
* Kepler S.O., Pelisoli I., Koester D., Ourique G., Romero A.D., Reindl N.,
* Kleinman S.J., Eisenstein D.J., Valois A.D.M., Amaral L.A.
* <Mon. Not. R. Astron. Soc., 455, 3413-3423 (2016)>
* =2016MNRAS.455.3413K (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table6.dat' ! New white dwarf stars
integer*4 nr__
parameter (nr__=6647) ! Number of records
character*366 ar__ ! Full-size record
C Position composed of: GLON GLAT
character*15 PMF (nr__) ! SDSS Plate-MJD-Fiber
character*19 SDSS (nr__) ! SDSS object name (HHMMSS.ss+DDMMSS.s)
integer*4 S_N (nr__) ! SDSS g-band signal-to-noise ratio
real*4 umag (nr__) ! (mag) SDSS u-band PSF magnitude
real*4 e_umag (nr__) ! (mag) rms uncertainty on umag
real*4 gmag (nr__) ! (mag) SDSS g-band PSF magnitude
real*4 e_gmag (nr__) ! (mag) rms uncertainty on gmag
real*4 rmag (nr__) ! (mag) SDSS r-band PSF magnitude
real*4 e_rmag (nr__) ! (mag) rms uncertainty on rmag
real*4 imag (nr__) ! (mag) SDSS i-band PSF magnitude
real*4 e_imag (nr__) ! (mag) rms uncertainty on imag
real*4 zmag (nr__) ! (mag) SDSS z-band PSF magnitude
real*4 e_zmag (nr__) ! (mag) rms uncertainty on zmag
real*4 E_B_V (nr__) ! (mag) Colour excess
real*8 pm (nr__) ! (mas/yr) USNO proper motion
real*4 GLON (nr__) ! (deg) Galactic longitude
real*4 GLAT (nr__) ! (deg) Galactic latitude
character*9 SpType (nr__) ! Human classification
* (: for uncertain classification)
integer*4 Teff (nr__) ! (K) ? Effective temperature
integer*4 e_Teff (nr__) ! (K) ? rms uncertainty on Teff
real*4 logg (nr__) ! ([cm/s2]) ? Surface gravity
real*4 e_logg (nr__) ! ([cm/s2]) ? rms uncertainty on logg (1)
integer*4 Teff_3D (nr__) ! (K) ? Teff for pure DAs and DBs
integer*4 e_Teff_3D (nr__) ! (K) ? rms uncertainty on Teff(3D)
real*4 logg_3D (nr__) ! ([cm/s2]) ? Surface gravity for pure DAs and DBs (2)
real*4 e_logg_3D (nr__) ! ([cm/s2]) ? rms uncertainty on logg(3D)
real*8 Mass (nr__) ! (Msun) ? Calculated mass, corrected to 3D convection
real*8 e_Mass (nr__) ! (Msun) ? rms uncertainty on Mass
character*160 Com (nr__) ! Comments (3)
*Note (1): Where e_logg=0/000, we have assumed logg=8.0, not fitted the
* surface gravity.
*Note (2): The temperatures and surface gravities are corrected to the 3D
* convection models of Tremblay et al. (2013A&A...559A.104T).
*Note (3): The Ca/He for DZs and C/He abundances for DQs, calculated assuming
* logg=8.0, are indicated by -log(Ca/He) or -log(C/He).
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table7.dat' ! New classification of known white dwarf stars
integer*4 nr__1
parameter (nr__1=409) ! Number of records
character*366 ar__1 ! Full-size record
C Position composed of: GLON GLAT
character*15 PMF_1 (nr__1) ! SDSS Plate-MJD-Fiber
character*19 SDSS_1 (nr__1) ! SDSS object name (HHMMSS.ss+DDMMSS.s)
integer*4 S_N_1 (nr__1) ! SDSS g-band signal-to-noise ratio
real*4 umag_1 (nr__1) ! (mag) SDSS u-band PSF magnitude
real*4 e_umag_1 (nr__1) ! (mag) rms uncertainty on umag
real*4 gmag_1 (nr__1) ! (mag) SDSS g-band PSF magnitude
real*4 e_gmag_1 (nr__1) ! (mag) rms uncertainty on gmag
real*4 rmag_1 (nr__1) ! (mag) SDSS r-band PSF magnitude
real*4 e_rmag_1 (nr__1) ! (mag) rms uncertainty on rmag
real*4 imag_1 (nr__1) ! (mag) SDSS i-band PSF magnitude
real*4 e_imag_1 (nr__1) ! (mag) rms uncertainty on imag
real*4 zmag_1 (nr__1) ! (mag) SDSS z-band PSF magnitude
real*4 e_zmag_1 (nr__1) ! (mag) rms uncertainty on zmag
real*4 E_B_V_1 (nr__1) ! (mag) Colour excess
real*8 pm_1 (nr__1) ! (mas/yr) USNO proper motion
real*4 GLON_1 (nr__1) ! (deg) Galactic longitude
real*4 GLAT_1 (nr__1) ! (deg) Galactic latitude
character*9 SpType_1 (nr__1) ! Human classification
* (: for uncertain classification)
integer*4 Teff_1 (nr__1) ! (K) ? Effective temperature
integer*4 e_Teff_1 (nr__1) ! (K) ? rms uncertainty on Teff
real*4 logg_1 (nr__1) ! ([cm/s2]) ? Surface gravity
real*4 e_logg_1 (nr__1) ! ([cm/s2]) ? rms uncertainty on logg (1)
integer*4 Teff_3D_1 (nr__1) ! (K) ? Teff for pure DAs and DBs
integer*4 e_Teff_3D_1(nr__1) ! (K) ? rms uncertainty on Teff(3D)
real*4 logg_3D_1 (nr__1) ! ([cm/s2]) ? Surface gravity for pure DAs and DBs (2)
real*4 e_logg_3D_1(nr__1) ! ([cm/s2]) ? rms uncertainty on logg(3D)
real*8 Mass_1 (nr__1) ! (Msun) ? Calculated mass, corrected to 3D convection
real*8 e_Mass_1 (nr__1) ! (Msun) ? rms uncertainty on Mass
character*160 Com_1 (nr__1) ! Comments (3)
*Note (1): Where e_logg=0/000, we have assumed logg=8.0, not fitted the
* surface gravity.
*Note (2): The temperatures and surface gravities are corrected to the 3D
* convection models of Tremblay et al. (2013A&A...559A.104T).
*Note (3): The Ca/He for DZs and C/He abundances for DQs, calculated assuming
* logg=8.0, are indicated by -log(Ca/He) or -log(C/He).
C=============================================================================
C Loading file 'table6.dat' ! New white dwarf stars
C Format for file interpretation
1 format(
+ A15,1X,A19,1X,I2,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,
+ F6.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F5.3,1X,F7.3,1X,F5.1,
+ 1X,F5.1,1X,A9,I6,1X,I5,1X,F5.3,1X,F5.3,1X,I5,1X,I5,1X,F6.3,1X,
+ F5.3,1X,F7.5,1X,F7.5,1X,A160)
C Effective file loading
open(unit=1,status='old',file=
+'table6.dat')
write(6,*) '....Loading file: table6.dat'
do i__=1,6647
read(1,'(A366)')ar__
read(ar__,1)
+ PMF(i__),SDSS(i__),S_N(i__),umag(i__),e_umag(i__),gmag(i__),
+ e_gmag(i__),rmag(i__),e_rmag(i__),imag(i__),e_imag(i__),
+ zmag(i__),e_zmag(i__),E_B_V(i__),pm(i__),GLON(i__),GLAT(i__),
+ SpType(i__),Teff(i__),e_Teff(i__),logg(i__),e_logg(i__),
+ Teff_3D(i__),e_Teff_3D(i__),logg_3D(i__),e_logg_3D(i__),
+ Mass(i__),e_Mass(i__),Com(i__)
if(ar__(141:146) .EQ. '') Teff(i__) = iNULL__
if(ar__(148:152) .EQ. '') e_Teff(i__) = iNULL__
if(ar__(154:158) .EQ. '') logg(i__) = rNULL__
if(ar__(160:164) .EQ. '') e_logg(i__) = rNULL__
if(ar__(166:170) .EQ. '') Teff_3D(i__) = iNULL__
if(ar__(172:176) .EQ. '') e_Teff_3D(i__) = iNULL__
if(ar__(178:183) .EQ. '') logg_3D(i__) = rNULL__
if(ar__(185:189) .EQ. '') e_logg_3D(i__) = rNULL__
if(ar__(191:197) .EQ. '') Mass(i__) = rNULL__
if(ar__(199:205) .EQ. '') e_Mass(i__) = rNULL__
c ..............Just test output...........
write(6,1)
+ PMF(i__),SDSS(i__),S_N(i__),umag(i__),e_umag(i__),gmag(i__),
+ e_gmag(i__),rmag(i__),e_rmag(i__),imag(i__),e_imag(i__),
+ zmag(i__),e_zmag(i__),E_B_V(i__),pm(i__),GLON(i__),GLAT(i__),
+ SpType(i__),Teff(i__),e_Teff(i__),logg(i__),e_logg(i__),
+ Teff_3D(i__),e_Teff_3D(i__),logg_3D(i__),e_logg_3D(i__),
+ Mass(i__),e_Mass(i__),Com(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table7.dat' ! New classification of known white dwarf stars
C Format for file interpretation
2 format(
+ A15,1X,A19,1X,I2,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,
+ F6.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F5.3,1X,F7.3,1X,F5.1,
+ 1X,F5.1,1X,A9,I6,1X,I5,1X,F5.3,1X,F5.3,1X,I5,1X,I5,1X,F6.3,1X,
+ F5.3,1X,F7.5,1X,F7.5,1X,A160)
C Effective file loading
open(unit=1,status='old',file=
+'table7.dat')
write(6,*) '....Loading file: table7.dat'
do i__=1,409
read(1,'(A366)')ar__1
read(ar__1,2)
+ PMF_1(i__),SDSS_1(i__),S_N_1(i__),umag_1(i__),e_umag_1(i__),
+ gmag_1(i__),e_gmag_1(i__),rmag_1(i__),e_rmag_1(i__),
+ imag_1(i__),e_imag_1(i__),zmag_1(i__),e_zmag_1(i__),
+ E_B_V_1(i__),pm_1(i__),GLON_1(i__),GLAT_1(i__),SpType_1(i__),
+ Teff_1(i__),e_Teff_1(i__),logg_1(i__),e_logg_1(i__),
+ Teff_3D_1(i__),e_Teff_3D_1(i__),logg_3D_1(i__),
+ e_logg_3D_1(i__),Mass_1(i__),e_Mass_1(i__),Com_1(i__)
if(ar__1(141:146) .EQ. '') Teff_1(i__) = iNULL__
if(ar__1(148:152) .EQ. '') e_Teff_1(i__) = iNULL__
if(ar__1(154:158) .EQ. '') logg_1(i__) = rNULL__
if(ar__1(160:164) .EQ. '') e_logg_1(i__) = rNULL__
if(ar__1(166:170) .EQ. '') Teff_3D_1(i__) = iNULL__
if(ar__1(172:176) .EQ. '') e_Teff_3D_1(i__) = iNULL__
if(ar__1(178:183) .EQ. '') logg_3D_1(i__) = rNULL__
if(ar__1(185:189) .EQ. '') e_logg_3D_1(i__) = rNULL__
if(ar__1(191:197) .EQ. '') Mass_1(i__) = rNULL__
if(ar__1(199:205) .EQ. '') e_Mass_1(i__) = rNULL__
c ..............Just test output...........
write(6,2)
+ PMF_1(i__),SDSS_1(i__),S_N_1(i__),umag_1(i__),e_umag_1(i__),
+ gmag_1(i__),e_gmag_1(i__),rmag_1(i__),e_rmag_1(i__),
+ imag_1(i__),e_imag_1(i__),zmag_1(i__),e_zmag_1(i__),
+ E_B_V_1(i__),pm_1(i__),GLON_1(i__),GLAT_1(i__),SpType_1(i__),
+ Teff_1(i__),e_Teff_1(i__),logg_1(i__),e_logg_1(i__),
+ Teff_3D_1(i__),e_Teff_3D_1(i__),logg_3D_1(i__),
+ e_logg_3D_1(i__),Mass_1(i__),e_Mass_1(i__),Com_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end