Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/454/179 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-19 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/454/179 BVR phot. of Basel 11b, King 14, Czernik 43 (Netopil+, 2006) *================================================================================ *Photometric survey of marginally investigated open clusters. *I. Basel 11b, King 14, Czernik 43. * Netopil M., Maitzen H.M., Paunzen E., Claret A. * <Astron. Astrophys., 454, 179-184 (2006)> * =2006A&A...454..179N C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Observed program stars of Basel 11b integer*4 nr__ parameter (nr__=73) ! Number of records character*60 ar__ ! Full-size record integer*4 Seq (nr__) ! Stars number sorted after X and Y integer*4 No2 (nr__) ! ? Notation according to literature (1) character*1 Mem (nr__) ! [nm] Preliminary membership assignment * (m=member, n=nonmember) real*4 Xpos (nr__) ! (pix) X coordinate real*4 Ypos (nr__) ! (pix) Y coordinate real*4 B_V (nr__) ! (mag) ? Bessel B-V colour index real*4 e_B_V (nr__) ! (mag) ? Error in B-V real*4 V_R (nr__) ! (mag) Bessel V-R colour index real*4 e_V_R (nr__) ! (mag) Error in V-R real*4 Vmag (nr__) ! (mag) Bessel V magnitude real*4 e_Vmag (nr__) ! (mag) Error in V magnitude *Note (1): WEBDA numbers in table1 (Basel 11b) and table2 (King 14), * numbers according to Pandey et al. (2001, Cat. <J/A+A/374/504>) * in table3 (Czernik 43) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Observed program stars of King 14 integer*4 nr__1 parameter (nr__1=136) ! Number of records character*60 ar__1 ! Full-size record integer*4 Seq_1 (nr__1) ! Stars number sorted after X and Y integer*4 No2_1 (nr__1) ! ? Notation according to literature (1) character*1 Mem_1 (nr__1) ! [nm] Preliminary membership assignment * (m=member, n=nonmember) real*4 Xpos_1 (nr__1) ! (pix) X coordinate real*4 Ypos_1 (nr__1) ! (pix) Y coordinate real*4 B_V_1 (nr__1) ! (mag) ? Bessel B-V colour index real*4 e_B_V_1 (nr__1) ! (mag) ? Error in B-V real*4 V_R_1 (nr__1) ! (mag) Bessel V-R colour index real*4 e_V_R_1 (nr__1) ! (mag) Error in V-R real*4 Vmag_1 (nr__1) ! (mag) Bessel V magnitude real*4 e_Vmag_1 (nr__1) ! (mag) Error in V magnitude *Note (1): WEBDA numbers in table1 (Basel 11b) and table2 (King 14), * numbers according to Pandey et al. (2001, Cat. <J/A+A/374/504>) * in table3 (Czernik 43) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Observed program stars of Czernik 43 integer*4 nr__2 parameter (nr__2=154) ! Number of records character*60 ar__2 ! Full-size record integer*4 Seq_2 (nr__2) ! Stars number sorted after X and Y integer*4 No2_2 (nr__2) ! ? Notation according to literature (1) character*1 Mem_2 (nr__2) ! [nm] Preliminary membership assignment * (m=member, n=nonmember) real*4 Xpos_2 (nr__2) ! (pix) X coordinate real*4 Ypos_2 (nr__2) ! (pix) Y coordinate real*4 B_V_2 (nr__2) ! (mag) ? Bessel B-V colour index real*4 e_B_V_2 (nr__2) ! (mag) ? Error in B-V real*4 V_R_2 (nr__2) ! (mag) Bessel V-R colour index real*4 e_V_R_2 (nr__2) ! (mag) Error in V-R real*4 Vmag_2 (nr__2) ! (mag) Bessel V magnitude real*4 e_Vmag_2 (nr__2) ! (mag) Error in V magnitude *Note (1): WEBDA numbers in table1 (Basel 11b) and table2 (King 14), * numbers according to Pandey et al. (2001, Cat. <J/A+A/374/504>) * in table3 (Czernik 43) C============================================================================= C Loading file 'table1.dat' ! Observed program stars of Basel 11b C Format for file interpretation 1 format( + I3,1X,I5,1X,A1,1X,F5.1,1X,F5.1,1X,F5.3,1X,F5.3,1X,F5.3,1X, + F5.3,1X,F6.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,73 read(1,'(A60)')ar__ read(ar__,1) + Seq(i__),No2(i__),Mem(i__),Xpos(i__),Ypos(i__),B_V(i__), + e_B_V(i__),V_R(i__),e_V_R(i__),Vmag(i__),e_Vmag(i__) if(ar__(5:9) .EQ. '') No2(i__) = iNULL__ if(ar__(25:29) .EQ. '') B_V(i__) = rNULL__ if(ar__(31:35) .EQ. '') e_B_V(i__) = rNULL__ c ..............Just test output........... write(6,1) + Seq(i__),No2(i__),Mem(i__),Xpos(i__),Ypos(i__),B_V(i__), + e_B_V(i__),V_R(i__),e_V_R(i__),Vmag(i__),e_Vmag(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Observed program stars of King 14 C Format for file interpretation 2 format( + I3,1X,I5,1X,A1,1X,F5.1,1X,F5.1,1X,F5.3,1X,F5.3,1X,F5.3,1X, + F5.3,1X,F6.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,136 read(1,'(A60)')ar__1 read(ar__1,2) + Seq_1(i__),No2_1(i__),Mem_1(i__),Xpos_1(i__),Ypos_1(i__), + B_V_1(i__),e_B_V_1(i__),V_R_1(i__),e_V_R_1(i__),Vmag_1(i__), + e_Vmag_1(i__) if(ar__1(5:9) .EQ. '') No2_1(i__) = iNULL__ if(ar__1(25:29) .EQ. '') B_V_1(i__) = rNULL__ if(ar__1(31:35) .EQ. '') e_B_V_1(i__) = rNULL__ c ..............Just test output........... write(6,2) + Seq_1(i__),No2_1(i__),Mem_1(i__),Xpos_1(i__),Ypos_1(i__), + B_V_1(i__),e_B_V_1(i__),V_R_1(i__),e_V_R_1(i__),Vmag_1(i__), + e_Vmag_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Observed program stars of Czernik 43 C Format for file interpretation 3 format( + I3,1X,I5,1X,A1,1X,F5.1,1X,F5.1,1X,F5.3,1X,F5.3,1X,F5.3,1X, + F5.3,1X,F6.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,154 read(1,'(A60)')ar__2 read(ar__2,3) + Seq_2(i__),No2_2(i__),Mem_2(i__),Xpos_2(i__),Ypos_2(i__), + B_V_2(i__),e_B_V_2(i__),V_R_2(i__),e_V_R_2(i__),Vmag_2(i__), + e_Vmag_2(i__) if(ar__2(5:9) .EQ. '') No2_2(i__) = iNULL__ if(ar__2(25:29) .EQ. '') B_V_2(i__) = rNULL__ if(ar__2(31:35) .EQ. '') e_B_V_2(i__) = rNULL__ c ..............Just test output........... write(6,3) + Seq_2(i__),No2_2(i__),Mem_2(i__),Xpos_2(i__),Ypos_2(i__), + B_V_2(i__),e_B_V_2(i__),V_R_2(i__),e_V_R_2(i__),Vmag_2(i__), + e_Vmag_2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end