Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/528/A148 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/528/A148 uvby{beta} photometry of early type stars (Handler, 2011) *================================================================================ *uvby{beta} photometry of early type open cluster and field stars. * Handler G. * <Astron. Astrophys. 528, A148 (2011)> * =2011A&A...528A.148H C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! uvby{beta} photometry of standard stars integer*4 nr__ parameter (nr__=117) ! Number of records character*62 ar__ ! Full-size record character*15 Star (nr__) ! Star identification (1) integer*4 N (nr__) ! Number of uvby measurements real*4 Vmag (nr__) ! (mag) ?=- V magnitude character*1 n_Vmag (nr__) ! [*] * for measurement not used (2) real*4 b_y (nr__) ! (mag) ?=- b-y colour index character*1 u_b_y (nr__) ! [:] : for measurement outside validity (3) character*1 n_b_y (nr__) ! [*] * for measurement not used (2) real*4 m1 (nr__) ! (mag) ?=- m1 index character*1 u_m1 (nr__) ! [:] : for measurement outside validity (3) character*1 n_m1 (nr__) ! [*] * for measurement not used (2) real*4 c1 (nr__) ! (mag) ?=- c1 index character*1 u_c1 (nr__) ! [:] : for measurement outside validity (3) character*1 n_c1 (nr__) ! [*] * for measurement not used (2) real*4 beta (nr__) ! (mag) ?=- H{beta} value character*1 u_beta (nr__) ! [:] : for measurement outside validity (3) character*1 n_beta (nr__) ! [*] * for measurement not used (2) integer*4 o_beta (nr__) ! Number of H{beta} measurements *Note (1): Open cluster stars are identified with their WEBDA designation. *Note (2): Measurements not used for computing transformation equations are * marked with an asterisk *Note (3): Measurements outside the validity of the transformation equations * are marked with a colon c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! uvby{beta} photometry of open cluster target stars integer*4 nr__1 parameter (nr__1=107) ! Number of records character*62 ar__1 ! Full-size record character*15 Star_1 (nr__1) ! Star identification (1) integer*4 N_1 (nr__1) ! Number of uvby measurements real*4 Vmag_1 (nr__1) ! (mag) ?=- V magnitude character*1 n_Vmag_1 (nr__1) ! [*] * for measurement not used (2) real*4 b_y_1 (nr__1) ! (mag) ?=- b-y colour index character*1 u_b_y_1 (nr__1) ! [:] : for measurement outside validity (3) character*1 n_b_y_1 (nr__1) ! [*] * for measurement not used (2) real*4 m1_1 (nr__1) ! (mag) ?=- m1 index character*1 u_m1_1 (nr__1) ! [:] : for measurement outside validity (3) character*1 n_m1_1 (nr__1) ! [*] * for measurement not used (2) real*4 c1_1 (nr__1) ! (mag) ?=- c1 index character*1 u_c1_1 (nr__1) ! [:] : for measurement outside validity (3) character*1 n_c1_1 (nr__1) ! [*] * for measurement not used (2) real*4 beta_1 (nr__1) ! (mag) ?=- H{beta} value character*1 u_beta_1 (nr__1) ! [:] : for measurement outside validity (3) character*1 n_beta_1 (nr__1) ! [*] * for measurement not used (2) integer*4 o_beta_1 (nr__1) ! Number of H{beta} measurements *Note (1): Open cluster stars are identified with their WEBDA designation. *Note (2): Measurements not used for computing transformation equations are * marked with an asterisk *Note (3): Measurements outside the validity of the transformation equations * are marked with a colon c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5.dat' ! uvby{beta} photometry of known {beta} Cephei and other target stars integer*4 nr__2 parameter (nr__2=19) ! Number of records character*62 ar__2 ! Full-size record character*15 Star_2 (nr__2) ! Star identification (1) integer*4 N_2 (nr__2) ! Number of uvby measurements real*4 Vmag_2 (nr__2) ! (mag) ?=- V magnitude character*1 n_Vmag_2 (nr__2) ! [*] * for measurement not used (2) real*4 b_y_2 (nr__2) ! (mag) ?=- b-y colour index character*1 u_b_y_2 (nr__2) ! [:] : for measurement outside validity (3) character*1 n_b_y_2 (nr__2) ! [*] * for measurement not used (2) real*4 m1_2 (nr__2) ! (mag) ?=- m1 index character*1 u_m1_2 (nr__2) ! [:] : for measurement outside validity (3) character*1 n_m1_2 (nr__2) ! [*] * for measurement not used (2) real*4 c1_2 (nr__2) ! (mag) ?=- c1 index character*1 u_c1_2 (nr__2) ! [:] : for measurement outside validity (3) character*1 n_c1_2 (nr__2) ! [*] * for measurement not used (2) real*4 beta_2 (nr__2) ! (mag) ?=- H{beta} value character*1 u_beta_2 (nr__2) ! [:] : for measurement outside validity (3) character*1 n_beta_2 (nr__2) ! [*] * for measurement not used (2) integer*4 o_beta_2 (nr__2) ! Number of H{beta} measurements *Note (1): Open cluster stars are identified with their WEBDA designation. *Note (2): Measurements not used for computing transformation equations are * marked with an asterisk *Note (3): Measurements outside the validity of the transformation equations * are marked with a colon c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table6.dat' ! uvby{beta} photometry of early-type stars in the Kepler field integer*4 nr__3 parameter (nr__3=42) ! Number of records character*62 ar__3 ! Full-size record character*15 Star_3 (nr__3) ! Star identification (1) integer*4 N_3 (nr__3) ! Number of uvby measurements real*4 Vmag_3 (nr__3) ! (mag) ?=- V magnitude character*1 n_Vmag_3 (nr__3) ! [*] * for measurement not used (2) real*4 b_y_3 (nr__3) ! (mag) ?=- b-y colour index character*1 u_b_y_3 (nr__3) ! [:] : for measurement outside validity (3) character*1 n_b_y_3 (nr__3) ! [*] * for measurement not used (2) real*4 m1_3 (nr__3) ! (mag) ?=- m1 index character*1 u_m1_3 (nr__3) ! [:] : for measurement outside validity (3) character*1 n_m1_3 (nr__3) ! [*] * for measurement not used (2) real*4 c1_3 (nr__3) ! (mag) ?=- c1 index character*1 u_c1_3 (nr__3) ! [:] : for measurement outside validity (3) character*1 n_c1_3 (nr__3) ! [*] * for measurement not used (2) real*4 beta_3 (nr__3) ! (mag) ?=- H{beta} value character*1 u_beta_3 (nr__3) ! [:] : for measurement outside validity (3) character*1 n_beta_3 (nr__3) ! [*] * for measurement not used (2) integer*4 o_beta_3 (nr__3) ! Number of H{beta} measurements *Note (1): Open cluster stars are identified with their WEBDA designation. *Note (2): Measurements not used for computing transformation equations are * marked with an asterisk *Note (3): Measurements outside the validity of the transformation equations * are marked with a colon C============================================================================= C Loading file 'table3.dat' ! uvby{beta} photometry of standard stars C Format for file interpretation 1 format( + A15,1X,I1,2X,F6.3,A1,1X,F6.3,A1,A1,1X,F6.3,A1,A1,F6.3,A1,A1, + 1X,F5.3,A1,A1,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,117 read(1,'(A62)')ar__ read(ar__,1) + Star(i__),N(i__),Vmag(i__),n_Vmag(i__),b_y(i__),u_b_y(i__), + n_b_y(i__),m1(i__),u_m1(i__),n_m1(i__),c1(i__),u_c1(i__), + n_c1(i__),beta(i__),u_beta(i__),n_beta(i__),o_beta(i__) if (idig(ar__(20:25)).EQ.0) Vmag(i__) = rNULL__ if (idig(ar__(28:33)).EQ.0) b_y(i__) = rNULL__ if (idig(ar__(37:42)).EQ.0) m1(i__) = rNULL__ if (idig(ar__(45:50)).EQ.0) c1(i__) = rNULL__ if (idig(ar__(54:58)).EQ.0) beta(i__) = rNULL__ c ..............Just test output........... write(6,1) + Star(i__),N(i__),Vmag(i__),n_Vmag(i__),b_y(i__),u_b_y(i__), + n_b_y(i__),m1(i__),u_m1(i__),n_m1(i__),c1(i__),u_c1(i__), + n_c1(i__),beta(i__),u_beta(i__),n_beta(i__),o_beta(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table4.dat' ! uvby{beta} photometry of open cluster target stars C Format for file interpretation 2 format( + A15,1X,I1,2X,F6.3,A1,1X,F6.3,A1,A1,1X,F6.3,A1,A1,F6.3,A1,A1, + 1X,F5.3,A1,A1,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,107 read(1,'(A62)')ar__1 read(ar__1,2) + Star_1(i__),N_1(i__),Vmag_1(i__),n_Vmag_1(i__),b_y_1(i__), + u_b_y_1(i__),n_b_y_1(i__),m1_1(i__),u_m1_1(i__),n_m1_1(i__), + c1_1(i__),u_c1_1(i__),n_c1_1(i__),beta_1(i__),u_beta_1(i__), + n_beta_1(i__),o_beta_1(i__) if (idig(ar__1(20:25)).EQ.0) Vmag_1(i__) = rNULL__ if (idig(ar__1(28:33)).EQ.0) b_y_1(i__) = rNULL__ if (idig(ar__1(37:42)).EQ.0) m1_1(i__) = rNULL__ if (idig(ar__1(45:50)).EQ.0) c1_1(i__) = rNULL__ if (idig(ar__1(54:58)).EQ.0) beta_1(i__) = rNULL__ c ..............Just test output........... write(6,2) + Star_1(i__),N_1(i__),Vmag_1(i__),n_Vmag_1(i__),b_y_1(i__), + u_b_y_1(i__),n_b_y_1(i__),m1_1(i__),u_m1_1(i__),n_m1_1(i__), + c1_1(i__),u_c1_1(i__),n_c1_1(i__),beta_1(i__),u_beta_1(i__), + n_beta_1(i__),o_beta_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table5.dat' ! uvby{beta} photometry of known {beta} Cephei and * other target stars C Format for file interpretation 3 format( + A15,1X,I1,2X,F6.3,A1,1X,F6.3,A1,A1,1X,F6.3,A1,A1,F6.3,A1,A1, + 1X,F5.3,A1,A1,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table5.dat') write(6,*) '....Loading file: table5.dat' do i__=1,19 read(1,'(A62)')ar__2 read(ar__2,3) + Star_2(i__),N_2(i__),Vmag_2(i__),n_Vmag_2(i__),b_y_2(i__), + u_b_y_2(i__),n_b_y_2(i__),m1_2(i__),u_m1_2(i__),n_m1_2(i__), + c1_2(i__),u_c1_2(i__),n_c1_2(i__),beta_2(i__),u_beta_2(i__), + n_beta_2(i__),o_beta_2(i__) if (idig(ar__2(20:25)).EQ.0) Vmag_2(i__) = rNULL__ if (idig(ar__2(28:33)).EQ.0) b_y_2(i__) = rNULL__ if (idig(ar__2(37:42)).EQ.0) m1_2(i__) = rNULL__ if (idig(ar__2(45:50)).EQ.0) c1_2(i__) = rNULL__ if (idig(ar__2(54:58)).EQ.0) beta_2(i__) = rNULL__ c ..............Just test output........... write(6,3) + Star_2(i__),N_2(i__),Vmag_2(i__),n_Vmag_2(i__),b_y_2(i__), + u_b_y_2(i__),n_b_y_2(i__),m1_2(i__),u_m1_2(i__),n_m1_2(i__), + c1_2(i__),u_c1_2(i__),n_c1_2(i__),beta_2(i__),u_beta_2(i__), + n_beta_2(i__),o_beta_2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table6.dat' ! uvby{beta} photometry of early-type stars * in the Kepler field C Format for file interpretation 4 format( + A15,1X,I1,2X,F6.3,A1,1X,F6.3,A1,A1,1X,F6.3,A1,A1,F6.3,A1,A1, + 1X,F5.3,A1,A1,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table6.dat') write(6,*) '....Loading file: table6.dat' do i__=1,42 read(1,'(A62)')ar__3 read(ar__3,4) + Star_3(i__),N_3(i__),Vmag_3(i__),n_Vmag_3(i__),b_y_3(i__), + u_b_y_3(i__),n_b_y_3(i__),m1_3(i__),u_m1_3(i__),n_m1_3(i__), + c1_3(i__),u_c1_3(i__),n_c1_3(i__),beta_3(i__),u_beta_3(i__), + n_beta_3(i__),o_beta_3(i__) if (idig(ar__3(20:25)).EQ.0) Vmag_3(i__) = rNULL__ if (idig(ar__3(28:33)).EQ.0) b_y_3(i__) = rNULL__ if (idig(ar__3(37:42)).EQ.0) m1_3(i__) = rNULL__ if (idig(ar__3(45:50)).EQ.0) c1_3(i__) = rNULL__ if (idig(ar__3(54:58)).EQ.0) beta_3(i__) = rNULL__ c ..............Just test output........... write(6,4) + Star_3(i__),N_3(i__),Vmag_3(i__),n_Vmag_3(i__),b_y_3(i__), + u_b_y_3(i__),n_b_y_3(i__),m1_3(i__),u_m1_3(i__),n_m1_3(i__), + c1_3(i__),u_c1_3(i__),n_c1_3(i__),beta_3(i__),u_beta_3(i__), + n_beta_3(i__),o_beta_3(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end C Locate position of first digit in string; or return 0 integer function idig(c) character*(*) c character*1 c1 integer lc,i lc=len(c) idig=0 do i=1,lc if(c(i:i).ne.' ') go to 1 end do 1 if(i.gt.lc) return c1=c(i:i) if(c1.eq.'.'.or.c1.eq.'-'.or.c1.eq.'+') i=i+1 if(i.gt.lc) return c1=c(i:i) if(c1.ge.'0'.and.c1.le.'9') idig=i return end