Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/421/623 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-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. J/A+A/421/623 ISOCAM survey of YSOs in Serpens Cloud Core (Kaas+, 2004) *================================================================================ *The young stellar population in the Serpens Cloud Core: An ISOCAM survey. * Kaas A.A., Olofsson G., Bontemps S., Andre P., Nordh L., Huldtgren M., * Prusti T., Persi P., Delgado A.J., Motte F., Abergel A., Boulanger F., * Burgdorf M., Casali M.M., Cesarsky C.J., Davies J., Falgarone E., * Montmerle T., Perault M., Puget J.L., Sibille F. * <Astron. Astrophys. 421, 623 (2004)> * =2004A&A...421..623K C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! The 77 ISOCAM sources identified as YSOs in the Serpens cluster integer*4 nr__ parameter (nr__=77) ! Number of records character*117 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg (nr__) ! (deg) Right Ascension J2000 real*8 DEdeg (nr__) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 ISO (nr__) ! ISO number character*1 m_ISO (nr__) ! [ab] Note (1) integer*4 RAh (nr__) ! (h) Right ascension (J2000) integer*4 RAm (nr__) ! (min) Right ascension (J2000) real*4 RAs (nr__) ! (s) Right ascension (J2000) character*1 DE_ (nr__) ! Declination sign (J2000) integer*4 DEd (nr__) ! (deg) Declination (J2000) integer*4 DEm (nr__) ! (arcmin) Declination (J2000) integer*4 DEs (nr__) ! (arcsec) Declination (J2000) real*4 Jmag (nr__) ! (mag) ? J magnitude (3) character*1 n_Jmag (nr__) ! [b] Note on Jmag (1) character*1 l_e_Jmag (nr__) ! Limit flag on e_Jmag real*4 e_Jmag (nr__) ! (mag) ? rms uncertainty on Jmag real*4 Hmag (nr__) ! (mag) ? H magnitude (3) character*1 n_Hmag (nr__) ! [ab] Note on Hmag (1) character*1 l_e_Hmag (nr__) ! Limit flag on e_Hmag real*4 e_Hmag (nr__) ! (mag) ? rms uncertainty on Hmag real*4 Kmag (nr__) ! (mag) ? K magnitude (3) character*1 n_Kmag (nr__) ! [ab] Note on Kmag (1) character*1 l_e_Kmag (nr__) ! Limit flag on e_Kmag real*4 e_Kmag (nr__) ! (mag) ? rms uncertainty on Kmag real*4 F6_7um (nr__) ! (mJy) ? Flux density at 6.7um (3) character*3 n_F6_7um (nr__) ! Note on F6.7um (2) real*4 e_F6_7um (nr__) ! (mJy) ? rms uncertainty on F6.7um real*4 F14_3um (nr__) ! (mJy) ? Flux density at 14.3um (3) character*3 n_F14_3um (nr__) ! Note on F14.3um (2) real*4 e_F14_3um (nr__) ! (mJy) ? rms uncertainty on F14.3um character*20 ID (nr__) ! Other ID (4) *Note (1): Notes on magnitudes: * a: H and K band data from the Arnica 1995 map, which is slightly * displaced from the 1996 map and therefore includes this object. * b: ISOCAM source is resolved into two sources in the near-IR, and the * near-IR fluxes are added. *Note (2): Notes on fluxes: * c: Flux measurement affected by proximity to the dead column. If the * dead column cannot be avoided by any of the redundant * observations, this flagging. If source is located on the dead * column, a flux measurement is not attempted at all. * d: Source close to the detector edge in all redundant observations. * e: Extended source. * f: ISOCAM source is not quite resolved from a bright neighbour. * g: Galaxy contamination? For fluxes ~3mJy at 14.3{mu}m the "red" * sample is expected to contain less than two galaxies in our * field according to hon03. * m: Flux might be affected by memory effects from other sources. * n: Nebulous sky background. *Note (3): Empty space means no measurement available in this work, while a * hyphen means no detection. *Note (4): Identifier acronyms are related to the following references: * CDF: Chavarria-K et al., 1988A&A...197..151C, [CDF88] NN in Simbad * CK: Churchwell & Koornneef, 1986ApJ...300..729C in Simbad * EC: Eiroa & Casali, 1992A&A...262..468E, [EC92] NNN in Simbad * GCNM: Giovannetti et al., 1998A&A...330..990G * GEL: Gomez de Castro et al., 1988A&A...201..299G * GGD: Gyulbudaghian et al., 1978ApJ...224L.137G978 * HB: Hurt & Barsony, 1996ApJ...460L..45H, [HB96] PS N in Simbad * HCE: Horrobin et al., 1997A&A...320L..41H, [EC92] NNN in Simbad * HHR: Hodapp et al., 1996ApJ...468..861H * HL: Hartigan & Lada, 1985ApJS...59..383H * K: Kaas 1999AJ....118..558K, [K99d] YSO NN in Simbad * MMW: McMullin et al., 1994ApJ...424..222M * StRS: Stephenson 1992AJ....103..263S * SCB: Straizys et al., 1996BaltA...5..125S, [SCB96] NNN in Simbad * SMM: Casali et al., 1993A&A...275..195C, [CED93] N in Simbad * STGM: Sogawa et al., 1997AJ....113.1057S * STGM3 = STGM 182709.0+010535 in Simbad * STGM2 = STGM 182711.4+010517 in Simbad * STGM14 = STGM 182721.2+011101 in Simbad * STGM8 = STGM 182735.3+010959 in Simbad * SVS: Strom et al., 1976AJ.....81..638S, [SVS76] Ser NN in Simbad c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! *The 71 "blue" ISOCAM sources which have [14.3/6.7]<-0.2. integer*4 nr__1 parameter (nr__1=71) ! Number of records character*117 ar__1 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_1 (nr__1) ! (deg) Right Ascension J2000 real*8 DEdeg_1 (nr__1) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 ISO_1 (nr__1) ! ISO number character*1 m_ISO_1 (nr__1) ! [ab] Note (1) integer*4 RAh_1 (nr__1) ! (h) Right ascension (J2000) integer*4 RAm_1 (nr__1) ! (min) Right ascension (J2000) real*4 RAs_1 (nr__1) ! (s) Right ascension (J2000) character*1 DE__1 (nr__1) ! Declination sign (J2000) integer*4 DEd_1 (nr__1) ! (deg) Declination (J2000) integer*4 DEm_1 (nr__1) ! (arcmin) Declination (J2000) integer*4 DEs_1 (nr__1) ! (arcsec) Declination (J2000) real*4 Jmag_1 (nr__1) ! (mag) ? J magnitude (3) character*1 n_Jmag_1 (nr__1) ! [b] Note on Jmag (1) character*1 l_e_Jmag_1 (nr__1) ! Limit flag on e_Jmag real*4 e_Jmag_1 (nr__1) ! (mag) ? rms uncertainty on Jmag real*4 Hmag_1 (nr__1) ! (mag) ? H magnitude (3) character*1 n_Hmag_1 (nr__1) ! [ab] Note on Hmag (1) character*1 l_e_Hmag_1 (nr__1) ! Limit flag on e_Hmag real*4 e_Hmag_1 (nr__1) ! (mag) ? rms uncertainty on Hmag real*4 Kmag_1 (nr__1) ! (mag) ? K magnitude (3) character*1 n_Kmag_1 (nr__1) ! [ab] Note on Kmag (1) character*1 l_e_Kmag_1 (nr__1) ! Limit flag on e_Kmag real*4 e_Kmag_1 (nr__1) ! (mag) ? rms uncertainty on Kmag real*4 F6_7um_1 (nr__1) ! (mJy) ? Flux density at 6.7um (3) character*3 n_F6_7um_1 (nr__1) ! Note on F6.7um (2) real*4 e_F6_7um_1 (nr__1) ! (mJy) ? rms uncertainty on F6.7um real*4 F14_3um_1 (nr__1) ! (mJy) ? Flux density at 14.3um (3) character*3 n_F14_3um_1(nr__1) ! Note on F14.3um (2) real*4 e_F14_3um_1(nr__1) ! (mJy) ? rms uncertainty on F14.3um character*20 ID_1 (nr__1) ! Other ID (4) *Note (1): Notes on magnitudes: * a: H and K band data from the Arnica 1995 map, which is slightly * displaced from the 1996 map and therefore includes this object. * b: ISOCAM source is resolved into two sources in the near-IR, and the * near-IR fluxes are added. *Note (2): Notes on fluxes: * c: Flux measurement affected by proximity to the dead column. If the * dead column cannot be avoided by any of the redundant * observations, this flagging. If source is located on the dead * column, a flux measurement is not attempted at all. * d: Source close to the detector edge in all redundant observations. * e: Extended source. * f: ISOCAM source is not quite resolved from a bright neighbour. * g: Galaxy contamination? For fluxes ~3mJy at 14.3{mu}m the "red" * sample is expected to contain less than two galaxies in our * field according to hon03. * m: Flux might be affected by memory effects from other sources. * n: Nebulous sky background. *Note (3): Empty space means no measurement available in this work, while a * hyphen means no detection. *Note (4): Identifier acronyms are related to the following references: * CDF: Chavarria-K et al., 1988A&A...197..151C, [CDF88] NN in Simbad * CK: Churchwell & Koornneef, 1986ApJ...300..729C in Simbad * EC: Eiroa & Casali, 1992A&A...262..468E, [EC92] NNN in Simbad * GCNM: Giovannetti et al., 1998A&A...330..990G * GEL: Gomez de Castro et al., 1988A&A...201..299G * GGD: Gyulbudaghian et al., 1978ApJ...224L.137G978 * HB: Hurt & Barsony, 1996ApJ...460L..45H, [HB96] PS N in Simbad * HCE: Horrobin et al., 1997A&A...320L..41H, [EC92] NNN in Simbad * HHR: Hodapp et al., 1996ApJ...468..861H * HL: Hartigan & Lada, 1985ApJS...59..383H * K: Kaas 1999AJ....118..558K, [K99d] YSO NN in Simbad * MMW: McMullin et al., 1994ApJ...424..222M * StRS: Stephenson 1992AJ....103..263S * SCB: Straizys et al., 1996BaltA...5..125S, [SCB96] NNN in Simbad * SMM: Casali et al., 1993A&A...275..195C, [CED93] N in Simbad * STGM: Sogawa et al., 1997AJ....113.1057S * STGM3 = STGM 182709.0+010535 in Simbad * STGM2 = STGM 182711.4+010517 in Simbad * STGM14 = STGM 182721.2+011101 in Simbad * STGM8 = STGM 182735.3+010959 in Simbad * SVS: Strom et al., 1976AJ.....81..638S, [SVS76] Ser NN in Simbad C============================================================================= C Loading file 'table2.dat' ! The 77 ISOCAM sources identified as YSOs in the * Serpens cluster C Format for file interpretation 1 format( + I3,A1,1X,I2,1X,I2,1X,F4.1,1X,A1,I1,1X,I2,1X,I2,1X,F5.2,A1,1X, + A1,F5.3,1X,F5.2,A1,1X,A1,F5.3,1X,F5.2,A1,1X,A1,F5.3,1X,F6.1, + A3,1X,F4.1,1X,F6.1,A3,1X,F4.1,1X,A20) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,77 read(1,'(A117)')ar__ read(ar__,1) + ISO(i__),m_ISO(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__), + DEd(i__),DEm(i__),DEs(i__),Jmag(i__),n_Jmag(i__), + l_e_Jmag(i__),e_Jmag(i__),Hmag(i__),n_Hmag(i__),l_e_Hmag(i__), + e_Hmag(i__),Kmag(i__),n_Kmag(i__),l_e_Kmag(i__),e_Kmag(i__), + F6_7um(i__),n_F6_7um(i__),e_F6_7um(i__),F14_3um(i__), + n_F14_3um(i__),e_F14_3um(i__),ID(i__) if(ar__(26:30) .EQ. '') Jmag(i__) = rNULL__ if(ar__(34:38) .EQ. '') e_Jmag(i__) = rNULL__ if(ar__(40:44) .EQ. '') Hmag(i__) = rNULL__ if(ar__(48:52) .EQ. '') e_Hmag(i__) = rNULL__ if(ar__(54:58) .EQ. '') Kmag(i__) = rNULL__ if(ar__(62:66) .EQ. '') e_Kmag(i__) = rNULL__ if(ar__(68:73) .EQ. '') F6_7um(i__) = rNULL__ if(ar__(78:81) .EQ. '') e_F6_7um(i__) = rNULL__ if(ar__(83:88) .EQ. '') F14_3um(i__) = rNULL__ if(ar__(93:96) .EQ. '') e_F14_3um(i__) = rNULL__ RAdeg(i__) = rNULL__ DEdeg(i__) = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15. if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4. if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240. if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__) if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60. if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600. if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__) c ..............Just test output........... write(6,1) + ISO(i__),m_ISO(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__), + DEd(i__),DEm(i__),DEs(i__),Jmag(i__),n_Jmag(i__), + l_e_Jmag(i__),e_Jmag(i__),Hmag(i__),n_Hmag(i__),l_e_Hmag(i__), + e_Hmag(i__),Kmag(i__),n_Kmag(i__),l_e_Kmag(i__),e_Kmag(i__), + F6_7um(i__),n_F6_7um(i__),e_F6_7um(i__),F14_3um(i__), + n_F14_3um(i__),e_F14_3um(i__),ID(i__) write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! *The 71 "blue" ISOCAM sources which have * [14.3/6.7]<-0.2. C Format for file interpretation 2 format( + I3,A1,1X,I2,1X,I2,1X,F4.1,1X,A1,I1,1X,I2,1X,I2,1X,F5.2,A1,1X, + A1,F5.3,1X,F5.2,A1,1X,A1,F5.3,1X,F5.2,A1,1X,A1,F5.3,1X,F6.1, + A3,1X,F4.1,1X,F6.1,A3,1X,F4.1,1X,A20) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,71 read(1,'(A117)')ar__1 read(ar__1,2) + ISO_1(i__),m_ISO_1(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__), + DE__1(i__),DEd_1(i__),DEm_1(i__),DEs_1(i__),Jmag_1(i__), + n_Jmag_1(i__),l_e_Jmag_1(i__),e_Jmag_1(i__),Hmag_1(i__), + n_Hmag_1(i__),l_e_Hmag_1(i__),e_Hmag_1(i__),Kmag_1(i__), + n_Kmag_1(i__),l_e_Kmag_1(i__),e_Kmag_1(i__),F6_7um_1(i__), + n_F6_7um_1(i__),e_F6_7um_1(i__),F14_3um_1(i__), + n_F14_3um_1(i__),e_F14_3um_1(i__),ID_1(i__) if(ar__1(26:30) .EQ. '') Jmag_1(i__) = rNULL__ if(ar__1(34:38) .EQ. '') e_Jmag_1(i__) = rNULL__ if(ar__1(40:44) .EQ. '') Hmag_1(i__) = rNULL__ if(ar__1(48:52) .EQ. '') e_Hmag_1(i__) = rNULL__ if(ar__1(54:58) .EQ. '') Kmag_1(i__) = rNULL__ if(ar__1(62:66) .EQ. '') e_Kmag_1(i__) = rNULL__ if(ar__1(68:73) .EQ. '') F6_7um_1(i__) = rNULL__ if(ar__1(78:81) .EQ. '') e_F6_7um_1(i__) = rNULL__ if(ar__1(83:88) .EQ. '') F14_3um_1(i__) = rNULL__ if(ar__1(93:96) .EQ. '') e_F14_3um_1(i__) = rNULL__ RAdeg_1(i__) = rNULL__ DEdeg_1(i__) = rNULL__ c Derive coordinates RAdeg_1 and DEdeg_1 from input data c (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown) if(RAh_1(i__) .GT. -180) RAdeg_1(i__)=RAh_1(i__)*15. if(RAm_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAm_1(i__)/4. if(RAs_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAs_1(i__)/240. if(DEd_1(i__) .GE. 0) DEdeg_1(i__)=DEd_1(i__) if(DEm_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEm_1(i__)/60. if(DEs_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEs_1(i__)/3600. if(DE__1(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__) c ..............Just test output........... write(6,2) + ISO_1(i__),m_ISO_1(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__), + DE__1(i__),DEd_1(i__),DEm_1(i__),DEs_1(i__),Jmag_1(i__), + n_Jmag_1(i__),l_e_Jmag_1(i__),e_Jmag_1(i__),Hmag_1(i__), + n_Hmag_1(i__),l_e_Hmag_1(i__),e_Hmag_1(i__),Kmag_1(i__), + n_Kmag_1(i__),l_e_Kmag_1(i__),e_Kmag_1(i__),F6_7um_1(i__), + n_F6_7um_1(i__),e_F6_7um_1(i__),F14_3um_1(i__), + n_F14_3um_1(i__),e_F14_3um_1(i__),ID_1(i__) write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end