Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJS/119/141 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-Aug-11
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/ApJS/119/141 Oxygen-rich dust shells IR spectral classification (Sloan+ 1998)
*================================================================================
*The infrared spectral classification of oxygen-rich dust shells.
* Sloan G.C., Price S.D.
* <Astrophys. J. Suppl. Ser. 119, 141 (1998)>
* =1998ApJS..119..141S
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Infrared spectral classifications of the AGB sample
integer*4 nr__
parameter (nr__=546) ! Number of records
character*92 ar__ ! Full-size record
character*10 IRAS (nr__) ! IRA-PSC (Cat. <II/125>) designation
character*1 m_IRAS (nr__) ! Multilicity index on IRAS
character*12 Name (nr__) ! Name
character*9 Var (nr__) ! Variability type (1)
real*4 Per (nr__) ! (d) ? Period
character*17 SpType (nr__) ! Spectral Type
real*4 v12um (nr__) ! (mag) 12{mu}m magnitude
real*4 v_12___25_ (nr__) ! (mag) Colour index [12]-[25]
integer*4 LRS (nr__) ! ? LRS characterisations described in the LRS
* Atlas
real*4 DEC (nr__) ! Dust emission contrast (2)
real*4 F11_F12 (nr__) ! Corrected flux ratio F11{mu}m/F12{mu}m
character*5 Dust (nr__) ! Infrared emission class (3)
*Note (1): M: Mira Ceti-type variables
* Lb: Slow irregular variable of late spectral type
* SRa: Semiregular late-type giants displaying persistent periodicity
* and usually small light amplitudes
* SRb: Semiregular late-type giants with poorly defined periodicity, or
* with alternating intervals of periodic and slow irregular changes,
* and even with light constancy intervals
*Note (2): Ratio of the summed emission from the dust to the summed emission from
* the star over the interval 7.67-14.03{mu}m.
*Note (3): N: Naked (no dust)
* SE: Silicate (and oxygen-rich dust) emission
* SB: Silicate self-absorbed emission
* SA: Silicate absorption
* CE: Carbon-rich dust emission
* H: Very red spectrum (possible H II region)
* P: Peculiar (or noisy)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! Infrared spectral classifications of the supergiants
integer*4 nr__1
parameter (nr__1=65) ! Number of records
character*92 ar__1 ! Full-size record
character*10 IRAS_1 (nr__1) ! IRA-PSC (Cat. <II/125>) designation
character*1 m_IRAS_1 (nr__1) ! Multilicity index on IRAS
character*12 Name_1 (nr__1) ! Name
character*9 Var_1 (nr__1) ! Variability type (1)
real*4 Per_1 (nr__1) ! (d) ? Period
character*17 SpType_1 (nr__1) ! Spectral Type
real*4 v12um_1 (nr__1) ! (mag) 12{mu}m magnitude
real*4 v_12___25__1(nr__1) ! (mag) Colour index [12]-[25]
integer*4 LRS_1 (nr__1) ! ? LRS characterisations described in the LRS
* Atlas
real*4 DEC_1 (nr__1) ! Dust emission contrast (2)
real*4 F11_F12_1 (nr__1) ! Corrected flux ratio F11{mu}m/F12{mu}m
character*5 Dust_1 (nr__1) ! Infrared emission class (3)
*Note (1): M: Mira Ceti-type variables
* Lb: Slow irregular variable of late spectral type
* SRa: Semiregular late-type giants displaying persistent periodicity
* and usually small light amplitudes
* SRb: Semiregular late-type giants with poorly defined periodicity, or
* with alternating intervals of periodic and slow irregular changes,
* and even with light constancy intervals
*Note (2): Ratio of the summed emission from the dust to the summed emission from
* the star over the interval 7.67-14.03{mu}m.
*Note (3): N: Naked (no dust)
* SE: Silicate (and oxygen-rich dust) emission
* SB: Silicate self-absorbed emission
* SA: Silicate absorption
* CE: Carbon-rich dust emission
* H: Very red spectrum (possible H II region)
* P: Peculiar (or noisy)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table6.dat' ! Infrared spectral classifications of the optical
S stars
integer*4 nr__2
parameter (nr__2=24) ! Number of records
character*92 ar__2 ! Full-size record
character*10 IRAS_2 (nr__2) ! IRA-PSC (Cat. <II/125>) designation
character*1 m_IRAS_2 (nr__2) ! Multilicity index on IRAS
character*12 Name_2 (nr__2) ! Name
character*9 Var_2 (nr__2) ! Variability type (1)
real*4 Per_2 (nr__2) ! (d) ? Period
character*17 SpType_2 (nr__2) ! Spectral Type
real*4 v12um_2 (nr__2) ! (mag) 12{mu}m magnitude
real*4 v_12___25__2(nr__2) ! (mag) Colour index [12]-[25]
integer*4 LRS_2 (nr__2) ! ? LRS characterisations described in the LRS
* Atlas
real*4 DEC_2 (nr__2) ! Dust emission contrast (2)
real*4 F11_F12_2 (nr__2) ! Corrected flux ratio F11{mu}m/F12{mu}m
character*5 Dust_2 (nr__2) ! Infrared emission class (3)
*Note (1): M: Mira Ceti-type variables
* Lb: Slow irregular variable of late spectral type
* SRa: Semiregular late-type giants displaying persistent periodicity
* and usually small light amplitudes
* SRb: Semiregular late-type giants with poorly defined periodicity, or
* with alternating intervals of periodic and slow irregular changes,
* and even with light constancy intervals
*Note (2): Ratio of the summed emission from the dust to the summed emission from
* the star over the interval 7.67-14.03{mu}m.
*Note (3): N: Naked (no dust)
* SE: Silicate (and oxygen-rich dust) emission
* SB: Silicate self-absorbed emission
* SA: Silicate absorption
* CE: Carbon-rich dust emission
* H: Very red spectrum (possible H II region)
* P: Peculiar (or noisy)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table9.dat' ! MS (oxygen-rich AGB or supergiant) stars
integer*4 nr__3
parameter (nr__3=18) ! Number of records
character*10 ar__3 ! Full-size record
character*10 IRAS_3 (nr__3) ! IRAS-PSC designation
C=============================================================================
C Loading file 'table4.dat' ! Infrared spectral classifications of the AGB sample
C Format for file interpretation
1 format(
+ A10,A1,1X,A12,1X,A9,1X,F6.2,1X,A17,1X,F5.2,1X,F5.2,1X,I3,1X,
+ F5.2,1X,F4.2,1X,A5)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,546
read(1,'(A92)')ar__
read(ar__,1)
+ IRAS(i__),m_IRAS(i__),Name(i__),Var(i__),Per(i__),SpType(i__),
+ v12um(i__),v_12___25_(i__),LRS(i__),DEC(i__),F11_F12(i__),
+ Dust(i__)
if(ar__(36:41) .EQ. '') Per(i__) = rNULL__
if(ar__(73:75) .EQ. '') LRS(i__) = iNULL__
c ..............Just test output...........
write(6,1)
+ IRAS(i__),m_IRAS(i__),Name(i__),Var(i__),Per(i__),SpType(i__),
+ v12um(i__),v_12___25_(i__),LRS(i__),DEC(i__),F11_F12(i__),
+ Dust(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! Infrared spectral classifications of the supergiants
C Format for file interpretation
2 format(
+ A10,A1,1X,A12,1X,A9,1X,F6.2,1X,A17,1X,F5.2,1X,F5.2,1X,I3,1X,
+ F5.2,1X,F4.2,1X,A5)
C Effective file loading
open(unit=1,status='old',file=
+'table5.dat')
write(6,*) '....Loading file: table5.dat'
do i__=1,65
read(1,'(A92)')ar__1
read(ar__1,2)
+ IRAS_1(i__),m_IRAS_1(i__),Name_1(i__),Var_1(i__),Per_1(i__),
+ SpType_1(i__),v12um_1(i__),v_12___25__1(i__),LRS_1(i__),
+ DEC_1(i__),F11_F12_1(i__),Dust_1(i__)
if(ar__1(36:41) .EQ. '') Per_1(i__) = rNULL__
if(ar__1(73:75) .EQ. '') LRS_1(i__) = iNULL__
c ..............Just test output...........
write(6,2)
+ IRAS_1(i__),m_IRAS_1(i__),Name_1(i__),Var_1(i__),Per_1(i__),
+ SpType_1(i__),v12um_1(i__),v_12___25__1(i__),LRS_1(i__),
+ DEC_1(i__),F11_F12_1(i__),Dust_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table6.dat' ! Infrared spectral classifications of the optical
* S stars
C Format for file interpretation
3 format(
+ A10,A1,1X,A12,1X,A9,1X,F6.2,1X,A17,1X,F5.2,1X,F5.2,1X,I3,1X,
+ F5.2,1X,F4.2,1X,A5)
C Effective file loading
open(unit=1,status='old',file=
+'table6.dat')
write(6,*) '....Loading file: table6.dat'
do i__=1,24
read(1,'(A92)')ar__2
read(ar__2,3)
+ IRAS_2(i__),m_IRAS_2(i__),Name_2(i__),Var_2(i__),Per_2(i__),
+ SpType_2(i__),v12um_2(i__),v_12___25__2(i__),LRS_2(i__),
+ DEC_2(i__),F11_F12_2(i__),Dust_2(i__)
if(ar__2(36:41) .EQ. '') Per_2(i__) = rNULL__
if(ar__2(73:75) .EQ. '') LRS_2(i__) = iNULL__
c ..............Just test output...........
write(6,3)
+ IRAS_2(i__),m_IRAS_2(i__),Name_2(i__),Var_2(i__),Per_2(i__),
+ SpType_2(i__),v12um_2(i__),v_12___25__2(i__),LRS_2(i__),
+ DEC_2(i__),F11_F12_2(i__),Dust_2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table9.dat' ! MS (oxygen-rich AGB or supergiant) stars
C Format for file interpretation
4 format(A10)
C Effective file loading
open(unit=1,status='old',file=
+'table9.dat')
write(6,*) '....Loading file: table9.dat'
do i__=1,18
read(1,'(A10)')ar__3
read(ar__3,4)IRAS_3(i__)
c ..............Just test output...........
write(6,4)IRAS_3(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end