Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/712/797 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 2026-Jun-10
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/712/797 YSOs in Vul OB1 association (Billot+, 2010)
*================================================================================
*Young stellar objects and triggered star formation in the Vulpecula OB
*association.
* Billot N., Noriega-Crespo A., Carey S., Guieu S., Shenoy S., Paladini R.,
* Latter W.
* <Astrophys. J., 712, 797-812 (2010)>
* =2010ApJ...712..797B
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! List of YSO candidates and their 2MASS, IRAC and
MIPS photometry
integer*4 nr__
parameter (nr__=856) ! Number of records
character*108 ar__ ! Full-size record
C Position composed of: GLON GLAT
character*17 SSTGLMC (nr__) ! GLIMPSE source name (GLLL.llll+BB.bbbb)
real*8 GLON (nr__) ! (deg) Galactic Longitude
real*8 GLAT (nr__) ! (deg) Galactic Latitude
real*4 Jmag (nr__) ! (mag) ? 2MASS J band magnitude
real*4 Hmag (nr__) ! (mag) ? 2MASS H band magnitude
real*4 Ksmag (nr__) ! (mag) ? 2MASS Ks band magnitude
real*4 v_3_6_ (nr__) ! (mag) ? Spitzer/IRAC 3.6 micron band magnitude
real*4 v_4_5_ (nr__) ! (mag) ? Spitzer/IRAC 4.5 micron band magnitude
real*4 v_5_8_ (nr__) ! (mag) ? Spitzer/IRAC 5.8 micron band magnitude
real*4 v_8_0_ (nr__) ! (mag) ? Spitzer/IRAC 8.0 micron band magnitude
real*4 v_24_ (nr__) ! (mag) ? Spitzer/MIPS 24 micron band magnitude
real*4 v_70_ (nr__) ! (mag) ? Spitzer/MIPS 70 micron band magnitude
real*4 SpIndex (nr__) ! ? Infrared spectral index (1)
character*6 Class (nr__) ! Source classification (2)
*Note (1): Slope of SED measured from 3.6 to 8.0 microns.
*Note (2): Class as follows:
* 0/I = likely protostars with infalling envelops
* II = disk-bearing stars
* III = Class III objects with very little circumstellar material
* Galaxy = contaminant (in table5)
* Shock = contaminant (in table5)
* See section 4.3 for further details.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Pillars identification, coordinates, and
approximate size
integer*4 nr__1
parameter (nr__1=14) ! Number of records
character*48 ar__1 ! Full-size record
C J2000 position composed of: RAdeg DEdeg
character*6 v_BNC2010_ (nr__1) ! Pillar identification (VulPNN)
real*4 GLON_1 (nr__1) ! (deg) Galactic longitude
real*4 GLAT_1 (nr__1) ! (deg) Galactic latitude
real*4 RAdeg (nr__1) ! (deg) Right ascension in decimal degrees (J2000)
real*4 DEdeg (nr__1) ! (deg) Declination in decimal degrees (J2000)
integer*4 amaj1 (nr__1) ! (arcmin) Size for the long axis
integer*4 amaj2 (nr__1) ! (arcmin) ? Size range
real*4 bmin1 (nr__1) ! (arcmin) Size for the shorter axis
integer*4 bmin2 (nr__1) ! (arcmin) ? Size range
integer*4 PA (nr__1) ! (deg) Position angle (given between the long axis of
* the pillar and the west axis, positive values
* are toward the north)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! List of point sources excluded from the YSO
catalog and identified as probable contaminants
based on their IRAC fluxes
integer*4 nr__2
parameter (nr__2=14) ! Number of records
character*108 ar__2 ! Full-size record
C Position composed of: GLON GLAT
character*17 SSTGLMC_1 (nr__2) ! GLIMPSE source name (GLLL.llll+BB.bbbb)
real*8 GLON_2 (nr__2) ! (deg) Galactic Longitude
real*8 GLAT_2 (nr__2) ! (deg) Galactic Latitude
real*4 Jmag_1 (nr__2) ! (mag) ? 2MASS J band magnitude
real*4 Hmag_1 (nr__2) ! (mag) ? 2MASS H band magnitude
real*4 Ksmag_1 (nr__2) ! (mag) ? 2MASS Ks band magnitude
real*4 v_3_6__1 (nr__2) ! (mag) ? Spitzer/IRAC 3.6 micron band magnitude
real*4 v_4_5__1 (nr__2) ! (mag) ? Spitzer/IRAC 4.5 micron band magnitude
real*4 v_5_8__1 (nr__2) ! (mag) ? Spitzer/IRAC 5.8 micron band magnitude
real*4 v_8_0__1 (nr__2) ! (mag) ? Spitzer/IRAC 8.0 micron band magnitude
real*4 v_24__1 (nr__2) ! (mag) ? Spitzer/MIPS 24 micron band magnitude
real*4 v_70__1 (nr__2) ! (mag) ? Spitzer/MIPS 70 micron band magnitude
real*4 SpIndex_1 (nr__2) ! ? Infrared spectral index (1)
character*6 Class_1 (nr__2) ! Source classification (2)
*Note (1): Slope of SED measured from 3.6 to 8.0 microns.
*Note (2): Class as follows:
* 0/I = likely protostars with infalling envelops
* II = disk-bearing stars
* III = Class III objects with very little circumstellar material
* Galaxy = contaminant (in table5)
* Shock = contaminant (in table5)
* See section 4.3 for further details.
C=============================================================================
C Loading file 'table2.dat' ! List of YSO candidates and their 2MASS, IRAC and
* MIPS photometry
C Format for file interpretation
1 format(
+ 8X,A17,1X,F7.4,1X,F7.4,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,
+ F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,A6)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,856
read(1,'(A108)')ar__
read(ar__,1)
+ SSTGLMC(i__),GLON(i__),GLAT(i__),Jmag(i__),Hmag(i__),
+ Ksmag(i__),v_3_6_(i__),v_4_5_(i__),v_5_8_(i__),v_8_0_(i__),
+ v_24_(i__),v_70_(i__),SpIndex(i__),Class(i__)
if(ar__(43:47) .EQ. '') Jmag(i__) = rNULL__
if(ar__(49:53) .EQ. '') Hmag(i__) = rNULL__
if(ar__(55:59) .EQ. '') Ksmag(i__) = rNULL__
if(ar__(61:65) .EQ. '') v_3_6_(i__) = rNULL__
if(ar__(67:71) .EQ. '') v_4_5_(i__) = rNULL__
if(ar__(73:77) .EQ. '') v_5_8_(i__) = rNULL__
if(ar__(79:83) .EQ. '') v_8_0_(i__) = rNULL__
if(ar__(85:89) .EQ. '') v_24_(i__) = rNULL__
if(ar__(91:95) .EQ. '') v_70_(i__) = rNULL__
if(ar__(97:101) .EQ. '') SpIndex(i__) = rNULL__
c ..............Just test output...........
write(6,1)
+ SSTGLMC(i__),GLON(i__),GLAT(i__),Jmag(i__),Hmag(i__),
+ Ksmag(i__),v_3_6_(i__),v_4_5_(i__),v_5_8_(i__),v_8_0_(i__),
+ v_24_(i__),v_70_(i__),SpIndex(i__),Class(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Pillars identification, coordinates, and
* approximate size
C Format for file interpretation
2 format(
+ A6,1X,F5.2,1X,F5.2,1X,F6.2,1X,F5.2,1X,I2,1X,I1,3X,F3.1,1X,I1,
+ 1X,I3)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,14
read(1,'(A48)')ar__1
read(ar__1,2)
+ v_BNC2010_(i__),GLON_1(i__),GLAT_1(i__),RAdeg(i__),DEdeg(i__),
+ amaj1(i__),amaj2(i__),bmin1(i__),bmin2(i__),PA(i__)
if(ar__1(36:36) .EQ. '') amaj2(i__) = iNULL__
if(ar__1(44:44) .EQ. '') bmin2(i__) = iNULL__
c ..............Just test output...........
write(6,2)
+ v_BNC2010_(i__),GLON_1(i__),GLAT_1(i__),RAdeg(i__),DEdeg(i__),
+ amaj1(i__),amaj2(i__),bmin1(i__),bmin2(i__),PA(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! List of point sources excluded from the YSO
* catalog and identified as probable contaminants
* based on their IRAC fluxes
C Format for file interpretation
3 format(
+ 8X,A17,1X,F7.4,1X,F7.4,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,
+ F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,A6)
C Effective file loading
open(unit=1,status='old',file=
+'table5.dat')
write(6,*) '....Loading file: table5.dat'
do i__=1,14
read(1,'(A108)')ar__2
read(ar__2,3)
+ SSTGLMC_1(i__),GLON_2(i__),GLAT_2(i__),Jmag_1(i__),
+ Hmag_1(i__),Ksmag_1(i__),v_3_6__1(i__),v_4_5__1(i__),
+ v_5_8__1(i__),v_8_0__1(i__),v_24__1(i__),v_70__1(i__),
+ SpIndex_1(i__),Class_1(i__)
if(ar__2(43:47) .EQ. '') Jmag_1(i__) = rNULL__
if(ar__2(49:53) .EQ. '') Hmag_1(i__) = rNULL__
if(ar__2(55:59) .EQ. '') Ksmag_1(i__) = rNULL__
if(ar__2(61:65) .EQ. '') v_3_6__1(i__) = rNULL__
if(ar__2(67:71) .EQ. '') v_4_5__1(i__) = rNULL__
if(ar__2(73:77) .EQ. '') v_5_8__1(i__) = rNULL__
if(ar__2(79:83) .EQ. '') v_8_0__1(i__) = rNULL__
if(ar__2(85:89) .EQ. '') v_24__1(i__) = rNULL__
if(ar__2(91:95) .EQ. '') v_70__1(i__) = rNULL__
if(ar__2(97:101) .EQ. '') SpIndex_1(i__) = rNULL__
c ..............Just test output...........
write(6,3)
+ SSTGLMC_1(i__),GLON_2(i__),GLAT_2(i__),Jmag_1(i__),
+ Hmag_1(i__),Ksmag_1(i__),v_3_6__1(i__),v_4_5__1(i__),
+ v_5_8__1(i__),v_8_0__1(i__),v_24__1(i__),v_70__1(i__),
+ SpIndex_1(i__),Class_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end