Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/562/528 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/ApJ/562/528 Teff and log(g) of low-metallicity stars (Snider+, 2001) *================================================================================ *Three-dimensional spectral classification of low-metallicity stars using *artificial neural networks. * Snider S., Allende Prieto C., von Hippel T., Beers T.C., Sneden C., * Qu Y., Rossi S. * <Astrophys. J. 562, 528 (2001)> * =2001ApJ...562..528S C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Catalog and ANN parameters for the training sample integer*4 nr__ parameter (nr__=209) ! Number of records character*55 ar__ ! Full-size record character*12 Name (nr__) ! Metal-poor star name character*1 Source (nr__) ! Spectrum source (1) character*1 f_Source (nr__) ! [*] Indicates star is a member of the `nearby' * subsample integer*4 CTeff (nr__) ! (K) The catalog effective temperature character*1 f_CTeff (nr__) ! [:] Indicates a large discrepancy with ATeff integer*4 ATeff (nr__) ! (K) The artificial neural network effective * temperature character*1 f_ATeff (nr__) ! [:] Indicates a large discrepancy with CTeff real*4 Clog_g (nr__) ! ([cm/s2]) Log of the catalog surface gravity character*1 f_Clog_g (nr__) ! [:] Indicates a large discrepancy with Alog(g) real*4 Alog_g (nr__) ! ([cm/s2]) Log of the artificial neural network * surface gravity character*1 f_Alog_g (nr__) ! [:] Indicates a large discrepancy with Clog(g) real*4 CFe_H (nr__) ! Catalog [Fe/H] (2) character*1 f_CFe_H (nr__) ! [:] Indicates a large discrepancy with AFe/H real*4 AFe_H (nr__) ! Artificial neural network [Fe/H] (2) character*1 f_AFe_H (nr__) ! [:] Indicates a large discrepancy with CFe/H *Note (1): Table 1: The spectroscopic data sets * ------------------------------------------------------------------------------ * Telescope Detector Coverage Disersion Number * ({AA}) ({AA}/px) * ------------------------------------------------------------------------------ * E: ESO 1.5 m Ford + Loral 2048x2048 3750-4750 0.65+0.50 52 * K: KPNO 2.1 m Tek 2048x2048 3750-5000 0.65 115 * L: LCO 2.5 m Reticon + 2D-Frutti 3700-4500 0.65 50 * O: ORM INT 2.5 m Tek 1024x1024 3750-4700 0.85 3 * P: PAL 5 m Reticon + 2D-Frutti 3700-4500 0.65 3 * S: SSO 2.3 m SITe 1752x532 3750-4600 0.50 58 * ------------------------------------------------------------------------------ * Note : ESO: European Southern Observatory (Chile) * KPNO: Kitt Peak National Observatory (USA) * LCO: Las Campanas Observatory (Chile) * ORM: Observatorio del Roque de los Muchachos (Spain) * PAL: Palomar Observatory (USA) * SSO: Siding Spring Observatory (Australia) * ------------------------------------------------------------------------------ *Note (2): Where [Fe/H] = log(N(Fe)/N(H))_star_ - log(N(Fe)/N(H))_sun_ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Catalog and ANN parameters for the testing sample integer*4 nr__1 parameter (nr__1=70) ! Number of records character*55 ar__1 ! Full-size record character*12 Name_1 (nr__1) ! Metal-poor star name character*1 Source_1 (nr__1) ! Spectrum source (1) character*1 f_Source_1 (nr__1) ! [*] Indicates star is a member of the `nearby' * subsample integer*4 CTeff_1 (nr__1) ! (K) The catalog effective temperature character*1 f_CTeff_1 (nr__1) ! [:] Indicates a large discrepancy with ATeff integer*4 ATeff_1 (nr__1) ! (K) The artificial neural network effective * temperature character*1 f_ATeff_1 (nr__1) ! [:] Indicates a large discrepancy with CTeff real*4 Clog_g_1 (nr__1) ! ([cm/s2]) Log of the catalog surface gravity character*1 f_Clog_g_1 (nr__1) ! [:] Indicates a large discrepancy with Alog(g) real*4 Alog_g_1 (nr__1) ! ([cm/s2]) Log of the artificial neural network * surface gravity character*1 f_Alog_g_1 (nr__1) ! [:] Indicates a large discrepancy with Clog(g) real*4 CFe_H_1 (nr__1) ! Catalog [Fe/H] (2) character*1 f_CFe_H_1 (nr__1) ! [:] Indicates a large discrepancy with AFe/H real*4 AFe_H_1 (nr__1) ! Artificial neural network [Fe/H] (2) character*1 f_AFe_H_1 (nr__1) ! [:] Indicates a large discrepancy with CFe/H *Note (1): Table 1: The spectroscopic data sets * ------------------------------------------------------------------------------ * Telescope Detector Coverage Disersion Number * ({AA}) ({AA}/px) * ------------------------------------------------------------------------------ * E: ESO 1.5 m Ford + Loral 2048x2048 3750-4750 0.65+0.50 52 * K: KPNO 2.1 m Tek 2048x2048 3750-5000 0.65 115 * L: LCO 2.5 m Reticon + 2D-Frutti 3700-4500 0.65 50 * O: ORM INT 2.5 m Tek 1024x1024 3750-4700 0.85 3 * P: PAL 5 m Reticon + 2D-Frutti 3700-4500 0.65 3 * S: SSO 2.3 m SITe 1752x532 3750-4600 0.50 58 * ------------------------------------------------------------------------------ * Note : ESO: European Southern Observatory (Chile) * KPNO: Kitt Peak National Observatory (USA) * LCO: Las Campanas Observatory (Chile) * ORM: Observatorio del Roque de los Muchachos (Spain) * PAL: Palomar Observatory (USA) * SSO: Siding Spring Observatory (Australia) * ------------------------------------------------------------------------------ *Note (2): Where [Fe/H] = log(N(Fe)/N(H))_star_ - log(N(Fe)/N(H))_sun_ C============================================================================= C Loading file 'table2.dat' ! Catalog and ANN parameters for the training sample C Format for file interpretation 1 format( + A12,1X,A1,1X,A1,1X,I4,A1,1X,I4,A1,1X,F4.2,A1,1X,F4.2,A1,1X, + F5.2,A1,1X,F5.2,A1) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,209 read(1,'(A55)')ar__ read(ar__,1) + Name(i__),Source(i__),f_Source(i__),CTeff(i__),f_CTeff(i__), + ATeff(i__),f_ATeff(i__),Clog_g(i__),f_Clog_g(i__),Alog_g(i__), + f_Alog_g(i__),CFe_H(i__),f_CFe_H(i__),AFe_H(i__),f_AFe_H(i__) c ..............Just test output........... write(6,1) + Name(i__),Source(i__),f_Source(i__),CTeff(i__),f_CTeff(i__), + ATeff(i__),f_ATeff(i__),Clog_g(i__),f_Clog_g(i__),Alog_g(i__), + f_Alog_g(i__),CFe_H(i__),f_CFe_H(i__),AFe_H(i__),f_AFe_H(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Catalog and ANN parameters for the testing sample C Format for file interpretation 2 format( + A12,1X,A1,1X,A1,1X,I4,A1,1X,I4,A1,1X,F4.2,A1,1X,F4.2,A1,1X, + F5.2,A1,1X,F5.2,A1) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,70 read(1,'(A55)')ar__1 read(ar__1,2) + Name_1(i__),Source_1(i__),f_Source_1(i__),CTeff_1(i__), + f_CTeff_1(i__),ATeff_1(i__),f_ATeff_1(i__),Clog_g_1(i__), + f_Clog_g_1(i__),Alog_g_1(i__),f_Alog_g_1(i__),CFe_H_1(i__), + f_CFe_H_1(i__),AFe_H_1(i__),f_AFe_H_1(i__) c ..............Just test output........... write(6,2) + Name_1(i__),Source_1(i__),f_Source_1(i__),CTeff_1(i__), + f_CTeff_1(i__),ATeff_1(i__),f_ATeff_1(i__),Clog_g_1(i__), + f_Clog_g_1(i__),Alog_g_1(i__),f_Alog_g_1(i__),CFe_H_1(i__), + f_CFe_H_1(i__),AFe_H_1(i__),f_AFe_H_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end