Conversion of standardized ReadMe file for
file /./ftp/cats/J/other/RAA/15.1325 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 2026-Apr-23
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/other/RAA/15.1325 Be stars in LAMOST DR1 (Lin+, 2015)
*================================================================================
*Searching for classical Be stars in LAMOST DR1.
* Lin C.-C., Hou J.-L., Chen L., Shao Z.-Y., Zhong J., Yu P.-C.
* <Res. Astron. Astrophys., 15, 1325-1331 (2015)>
* =2015RAA....15.1325L (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! 23 Known CBes Found in LAMOST DR1
integer*4 nr__
parameter (nr__=23) ! Number of records
character*88 ar__ ! Full-size record
character*3 KName (nr__) ! Name (KNN)
integer*4 DR1index (nr__) ! DR1 index
character*19 v2MASS (nr__) ! 2MASS designation (JHHMMSS.ss+DDMMSS.s) (1)
real*4 Jmag (nr__) ! (mag) 2MASS J magnitude
real*4 e_Jmag (nr__) ! (mag) rms uncertainty on Jmag
real*4 Hmag (nr__) ! (mag) 2MASS H magnitude
real*4 e_Hmag (nr__) ! (mag) rms uncertainty on Hmag
real*4 Ksmag (nr__) ! (mag) 2MASS KS magnitude
real*4 e_Ksmag (nr__) ! (mag) rms uncertainty on Ksmag
character*17 Rem (nr__) ! Remarks
*Note (1): K14-K23 are matched from the 2MASS point source catalog with radii
* larger than 5".
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! CBe Candidates
integer*4 nr__1
parameter (nr__1=22) ! Number of records
character*90 ar__1 ! Full-size record
character*4 LName (nr__1) ! Name (LNNN)
character*1 n_LName (nr__1) ! [1/2] Note on Name (1)
character*19 v2MASS_1 (nr__1) ! 2MASS Designation (JHHMMSS.ss+DDMMSS.s)
real*4 Jmag_1 (nr__1) ! (mag) 2MASS J magnitude
real*4 e_Jmag_1 (nr__1) ! (mag) rms uncertainty on Jmag
real*4 Hmag_1 (nr__1) ! (mag) 2MASS H magnitude
real*4 e_Hmag_1 (nr__1) ! (mag) rms uncertainty on Hmag
real*4 Ksmag_1 (nr__1) ! (mag) 2MASS KS magnitude
real*4 e_Ksmag_1 (nr__1) ! (mag) rms uncertainty on Ksmag
character*24 Simbad (nr__1) ! Simbad name and type, or new if not yet in Simbad
*Note (1): Notes as follows:
* 1 = member of the open cluster FRS 1025
* 2 = member of the open cluster Kronberger 8
C=============================================================================
C Loading file 'table2.dat' ! 23 Known CBes Found in LAMOST DR1
C Format for file interpretation
1 format(
+ A3,1X,I7,1X,A19,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,
+ F5.3,1X,A17)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,23
read(1,'(A88)')ar__
read(ar__,1)
+ KName(i__),DR1index(i__),v2MASS(i__),Jmag(i__),e_Jmag(i__),
+ Hmag(i__),e_Hmag(i__),Ksmag(i__),e_Ksmag(i__),Rem(i__)
c ..............Just test output...........
write(6,1)
+ KName(i__),DR1index(i__),v2MASS(i__),Jmag(i__),e_Jmag(i__),
+ Hmag(i__),e_Hmag(i__),Ksmag(i__),e_Ksmag(i__),Rem(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! CBe Candidates
C Format for file interpretation
2 format(
+ A4,1X,A1,1X,A19,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,
+ F5.3,1X,A24)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,22
read(1,'(A90)')ar__1
read(ar__1,2)
+ LName(i__),n_LName(i__),v2MASS_1(i__),Jmag_1(i__),
+ e_Jmag_1(i__),Hmag_1(i__),e_Hmag_1(i__),Ksmag_1(i__),
+ e_Ksmag_1(i__),Simbad(i__)
c ..............Just test output...........
write(6,2)
+ LName(i__),n_LName(i__),v2MASS_1(i__),Jmag_1(i__),
+ e_Jmag_1(i__),Hmag_1(i__),e_Hmag_1(i__),Ksmag_1(i__),
+ e_Ksmag_1(i__),Simbad(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end