Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/527/A77 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. J/A+A/527/A77 NGC 1893 optical and NIR photometry (Prisinzano+, 2011) *================================================================================ *Star formation in the outer Galaxy: membership and fundamental parameters of the *young open cluster NGC 1893. * Prisinzano L., Sanz-Forcada J., Micela G., Caramazza M., Guarcello M.G., * Sciortino S., Testi L. * <Astron. Astrophys. 527, A77 (2011)> * =2011A&A...527A..77P C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5.dat' ! VRI H-{alpha} magnitudes of Class 0/I/II candidate members integer*4 nr__ parameter (nr__=1068) ! Number of records character*76 ar__ ! Full-size record C J2000.0 position composed of: RAdeg DEdeg integer*4 ID ! Sequential number integer*4 XID ! ? Designation from Caramazza et al. * (2011, in prep.) real*8 RAdeg ! (deg) Right ascension (J2000.0) real*8 DEdeg ! (deg) Declination (J2000.0) real*4 Vmag ! (mag) ? Landolt V magnitude real*4 e_Vmag ! (mag) ? Error of the Landolt V magnitude real*4 Rmag ! (mag) ? Landolt R magnitude real*4 e_Rmag ! (mag) ? Error of the Landolt R magnitude real*4 Icmag ! (mag) ? Cousins I magnitude real*4 e_Icmag ! (mag) ? Error of the Cousins I magnitude real*4 Hamag ! (mag) ? H-{alpha} magnitude c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table6.dat' ! VRI H-{alpha} magnitudes of diskless candidate members integer*4 nr__1 parameter (nr__1=415) ! Number of records character*76 ar__1 ! Full-size record C J2000.0 position composed of: RAdeg DEdeg integer*4 ID_1 ! Sequential number integer*4 XID_1 ! ? Designation from Caramazza et al. * (2011, in prep.) real*8 RAdeg_1 ! (deg) Right ascension (J2000.0) real*8 DEdeg_1 ! (deg) Declination (J2000.0) real*4 Vmag_1 ! (mag) ? Landolt V magnitude real*4 e_Vmag_1 ! (mag) ? Error of the Landolt V magnitude real*4 Rmag_1 ! (mag) ? Landolt R magnitude real*4 e_Rmag_1 ! (mag) ? Error of the Landolt R magnitude real*4 Icmag_1 ! (mag) ? Cousins I magnitude real*4 e_Icmag_1 ! (mag) ? Error of the Cousins I magnitude real*4 Hamag_1 ! (mag) ? H-{alpha} magnitude c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table7.dat' ! Infrared magnitudes of Class 0/I/II candidate members integer*4 nr__2 parameter (nr__2=1068) ! Number of records character*117 ar__2 ! Full-size record C J2000.0 position composed of: RAdeg DEdeg integer*4 ID_2 ! Sequential number real*8 RAdeg_2 ! (deg) Right ascension (J2000.0) real*8 DEdeg_2 ! (deg) Declination (J2000.0) real*4 Jmag ! (mag) ? TNG/NICS Js magnitude real*4 e_Jmag ! (mag) ? Error in Jmag real*4 Hmag ! (mag) ? TNG/NICS H magnitude real*4 e_Hmag ! (mag) ? Error in Hmag real*4 Kmag ! (mag) ? TNG/NICS K' magnitude real*4 e_Kmag ! (mag) ? Error in Kmag real*4 v_3_6_ ! (mag) ? Magnitude at 3.6um real*4 e__3_6_ ! (mag) ? Error in [3.6] magnitude real*4 v_4_5_ ! (mag) ? Magnitude at 4.5um real*4 e__4_5_ ! (mag) ? Error in [4.5] magnitude real*4 v_5_8_ ! (mag) ? Magnitude at 5.8um real*4 e__5_8_ ! (mag) ? Error in [5.8] magnitude real*4 v_8_0_ ! (mag) ? Magnitude at 8.0um real*4 e__8_0_ ! (mag) ? Error in [8.0] magnitude c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table8.dat' ! Infrared magnitudes of diskless candidate members integer*4 nr__3 parameter (nr__3=415) ! Number of records character*117 ar__3 ! Full-size record C J2000.0 position composed of: RAdeg DEdeg integer*4 ID_3 ! Sequential number real*8 RAdeg_3 ! (deg) Right ascension (J2000.0) real*8 DEdeg_3 ! (deg) Declination (J2000.0) real*4 Jmag_1 ! (mag) ? TNG/NICS Js magnitude real*4 e_Jmag_1 ! (mag) ? Error in Jmag real*4 Hmag_1 ! (mag) ? TNG/NICS H magnitude real*4 e_Hmag_1 ! (mag) ? Error in Hmag real*4 Kmag_1 ! (mag) ? TNG/NICS K' magnitude real*4 e_Kmag_1 ! (mag) ? Error in Kmag real*4 v_3_6__1 ! (mag) ? Magnitude at 3.6um real*4 e__3_6__1 ! (mag) ? Error in [3.6] magnitude real*4 v_4_5__1 ! (mag) ? Magnitude at 4.5um real*4 e__4_5__1 ! (mag) ? Error in [4.5] magnitude real*4 v_5_8__1 ! (mag) ? Magnitude at 5.8um real*4 e__5_8__1 ! (mag) ? Error in [5.8] magnitude real*4 v_8_0__1 ! (mag) ? Magnitude at 8.0um real*4 e__8_0__1 ! (mag) ? Error in [8.0] magnitude C============================================================================= C Loading file 'table5.dat' ! VRI H-{alpha} magnitudes of Class 0/I/II candidate * members C Format for file interpretation 1 format( + I4,1X,I4,1X,F10.7,1X,F10.7,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X, + F6.3,1X,F5.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table5.dat') write(6,*) '....Loading file: table5.dat' do i__=1,1068 read(1,'(A76)')ar__ read(ar__,1) + ID,XID,RAdeg,DEdeg,Vmag,e_Vmag,Rmag,e_Rmag,Icmag,e_Icmag,Hamag if(ar__(6:9) .EQ. '') XID = iNULL__ if(ar__(33:38) .EQ. '') Vmag = rNULL__ if(ar__(40:44) .EQ. '') e_Vmag = rNULL__ if(ar__(46:51) .EQ. '') Rmag = rNULL__ if(ar__(53:57) .EQ. '') e_Rmag = rNULL__ if(ar__(59:64) .EQ. '') Icmag = rNULL__ if(ar__(66:70) .EQ. '') e_Icmag = rNULL__ if(ar__(72:76) .EQ. '') Hamag = rNULL__ c ..............Just test output........... write(6,1) + ID,XID,RAdeg,DEdeg,Vmag,e_Vmag,Rmag,e_Rmag,Icmag,e_Icmag,Hamag c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table6.dat' ! VRI H-{alpha} magnitudes of diskless candidate * members C Format for file interpretation 2 format( + I4,1X,I4,1X,F10.7,1X,F10.7,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X, + F6.3,1X,F5.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table6.dat') write(6,*) '....Loading file: table6.dat' do i__=1,415 read(1,'(A76)')ar__1 read(ar__1,2) + ID_1,XID_1,RAdeg_1,DEdeg_1,Vmag_1,e_Vmag_1,Rmag_1,e_Rmag_1, + Icmag_1,e_Icmag_1,Hamag_1 if(ar__1(6:9) .EQ. '') XID_1 = iNULL__ if(ar__1(33:38) .EQ. '') Vmag_1 = rNULL__ if(ar__1(40:44) .EQ. '') e_Vmag_1 = rNULL__ if(ar__1(46:51) .EQ. '') Rmag_1 = rNULL__ if(ar__1(53:57) .EQ. '') e_Rmag_1 = rNULL__ if(ar__1(59:64) .EQ. '') Icmag_1 = rNULL__ if(ar__1(66:70) .EQ. '') e_Icmag_1 = rNULL__ if(ar__1(72:76) .EQ. '') Hamag_1 = rNULL__ c ..............Just test output........... write(6,2) + ID_1,XID_1,RAdeg_1,DEdeg_1,Vmag_1,e_Vmag_1,Rmag_1,e_Rmag_1, + Icmag_1,e_Icmag_1,Hamag_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table7.dat' ! Infrared magnitudes of Class 0/I/II candidate * members C Format for file interpretation 3 format( + I4,1X,F10.7,1X,F10.7,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3, + 1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X, + F6.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table7.dat') write(6,*) '....Loading file: table7.dat' do i__=1,1068 read(1,'(A117)')ar__2 read(ar__2,3) + ID_2,RAdeg_2,DEdeg_2,Jmag,e_Jmag,Hmag,e_Hmag,Kmag,e_Kmag, + v_3_6_,e__3_6_,v_4_5_,e__4_5_,v_5_8_,e__5_8_,v_8_0_,e__8_0_ if(ar__2(28:33) .EQ. '') Jmag = rNULL__ if(ar__2(35:39) .EQ. '') e_Jmag = rNULL__ if(ar__2(41:46) .EQ. '') Hmag = rNULL__ if(ar__2(48:52) .EQ. '') e_Hmag = rNULL__ if(ar__2(54:59) .EQ. '') Kmag = rNULL__ if(ar__2(61:65) .EQ. '') e_Kmag = rNULL__ if(ar__2(67:72) .EQ. '') v_3_6_ = rNULL__ if(ar__2(74:78) .EQ. '') e__3_6_ = rNULL__ if(ar__2(80:85) .EQ. '') v_4_5_ = rNULL__ if(ar__2(87:91) .EQ. '') e__4_5_ = rNULL__ if(ar__2(93:98) .EQ. '') v_5_8_ = rNULL__ if(ar__2(100:104) .EQ. '') e__5_8_ = rNULL__ if(ar__2(106:111) .EQ. '') v_8_0_ = rNULL__ if(ar__2(113:117) .EQ. '') e__8_0_ = rNULL__ c ..............Just test output........... write(6,3) + ID_2,RAdeg_2,DEdeg_2,Jmag,e_Jmag,Hmag,e_Hmag,Kmag,e_Kmag, + v_3_6_,e__3_6_,v_4_5_,e__4_5_,v_5_8_,e__5_8_,v_8_0_,e__8_0_ c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table8.dat' ! Infrared magnitudes of diskless candidate members C Format for file interpretation 4 format( + I4,1X,F10.7,1X,F10.7,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3, + 1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X, + F6.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table8.dat') write(6,*) '....Loading file: table8.dat' do i__=1,415 read(1,'(A117)')ar__3 read(ar__3,4) + ID_3,RAdeg_3,DEdeg_3,Jmag_1,e_Jmag_1,Hmag_1,e_Hmag_1,Kmag_1, + e_Kmag_1,v_3_6__1,e__3_6__1,v_4_5__1,e__4_5__1,v_5_8__1, + e__5_8__1,v_8_0__1,e__8_0__1 if(ar__3(28:33) .EQ. '') Jmag_1 = rNULL__ if(ar__3(35:39) .EQ. '') e_Jmag_1 = rNULL__ if(ar__3(41:46) .EQ. '') Hmag_1 = rNULL__ if(ar__3(48:52) .EQ. '') e_Hmag_1 = rNULL__ if(ar__3(54:59) .EQ. '') Kmag_1 = rNULL__ if(ar__3(61:65) .EQ. '') e_Kmag_1 = rNULL__ if(ar__3(67:72) .EQ. '') v_3_6__1 = rNULL__ if(ar__3(74:78) .EQ. '') e__3_6__1 = rNULL__ if(ar__3(80:85) .EQ. '') v_4_5__1 = rNULL__ if(ar__3(87:91) .EQ. '') e__4_5__1 = rNULL__ if(ar__3(93:98) .EQ. '') v_5_8__1 = rNULL__ if(ar__3(100:104) .EQ. '') e__5_8__1 = rNULL__ if(ar__3(106:111) .EQ. '') v_8_0__1 = rNULL__ if(ar__3(113:117) .EQ. '') e__8_0__1 = rNULL__ c ..............Just test output........... write(6,4) + ID_3,RAdeg_3,DEdeg_3,Jmag_1,e_Jmag_1,Hmag_1,e_Hmag_1,Kmag_1, + e_Kmag_1,v_3_6__1,e__3_6__1,v_4_5__1,e__4_5__1,v_5_8__1, + e__5_8__1,v_8_0__1,e__8_0__1 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end