Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/99/784 into FORTRAN code for reading data files line by line.
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-Oct-05
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/AJ/99/784 IR photometry of LMC long-period variables (Hughes+ 1990)
*================================================================================
*Long-period variables in the Large Magellanic Cloud. II. Infrared photometry,
*spectral classification, AGB evolution, and spatial distribution.
* Hughes S.M.G., Wood P.R.
* <Astron. J. 99, 784 (1990)>
* =1990AJ.....99..784H (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2' ! JHK photometry of large-amplitude LPVs
integer*4 nr__
parameter (nr__=376) ! Number of records
character*92 ar__ ! Full-size record
character*17 Name ! LPV name/position (1)
character*1 n_Name ! [abc] Note on name (2)
real*4 DImag ! (mag) Peak to peak I amplitude
integer*4 JDImax ! (d) Julian date of a recent I maximum
real*4 Imag ! (mag) Mean I magnitude
real*4 Jmag ! (mag) J magnitude
character*1 u_Jmag ! Uncertainty flag on Jmag (0.05<=e_Jmag<=0.13)
real*4 Hmag ! (mag) H magnitude
character*1 u_Hmag ! Uncertainty flag on Hmag (0.05<=e_Hmag<=0.13)
real*4 Kmag ! (mag) K magnitude
character*1 u_Kmag ! Uncertainty flag on Kmag (0.05<=e_Kmag<=0.13)
real*4 Mbol ! (mag) Bolometric magnitude derived from K and J-K
character*4 SpType ! Spectral type obtained by spectroscopy,
* or, if enclosed in parentheses, from J-K
integer*4 JD ! (d) Julian date at which the photometry was obtained
integer*4 Per ! (d) ? Period of the variable
character*2 u_Per ! [: ] Marginal periodic variables
integer*4 Per2 ! (d) ? Second period (3)
character*2 u_Per2 ! [: ] Marginal periodic variables
*Note (1): SHV refers to the variables found in Hughes (1989AJ.....97.1634H)
* RHV refers to the variables found in Reid et al. (1988MNRAS.232...53R)
* raw photometry data using the methods of paper I (Hughes,
* 1989AJ.....97.1634H) that were not found by
* Reid et al. (1988MNRAS.232...53R).
*Note (2): a : Merged (double) image
* b : Near a bright star
* c : Near a cluster
*Note (3): Occasionally, a second period gave a convincing light curve and this
* second period has also been included, with the period giving the more
* believable light curve in column Per
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3' ! JHK photometry of small-amplitude LPVws
integer*4 nr__1
parameter (nr__1=224) ! Number of records
character*92 ar__1 ! Full-size record
character*17 Name_1 ! LPV name/position (1)
character*1 n_Name_1 ! [abc] Note on name (2)
real*4 DImag_1 ! (mag) Peak to peak I amplitude
integer*4 JDImax_1 ! (d) Julian date of a recent I maximum
real*4 Imag_1 ! (mag) Mean I magnitude
real*4 Jmag_1 ! (mag) J magnitude
character*1 u_Jmag_1 ! Uncertainty flag on Jmag (0.05<=e_Jmag<=0.13)
real*4 Hmag_1 ! (mag) H magnitude
character*1 u_Hmag_1 ! Uncertainty flag on Hmag (0.05<=e_Hmag<=0.13)
real*4 Kmag_1 ! (mag) K magnitude
character*1 u_Kmag_1 ! Uncertainty flag on Kmag (0.05<=e_Kmag<=0.13)
real*4 Mbol_1 ! (mag) Bolometric magnitude derived from K and J-K
character*4 SpType_1 ! Spectral type obtained by spectroscopy,
* or, if enclosed in parentheses, from J-K
integer*4 JD_1 ! (d) Julian date at which the photometry was obtained
integer*4 Per_1 ! (d) ? Period of the variable
character*2 u_Per_1 ! [: ] Marginal periodic variables
integer*4 Per2_1 ! (d) ? Second period (3)
character*2 u_Per2_1 ! [: ] Marginal periodic variables
*Note (1): SHV refers to the variables found in Hughes (1989AJ.....97.1634H)
* RHV refers to the variables found in Reid et al. (1988MNRAS.232...53R)
* raw photometry data using the methods of paper I (Hughes,
* 1989AJ.....97.1634H) that were not found by
* Reid et al. (1988MNRAS.232...53R).
*Note (2): a : Merged (double) image
* b : Near a bright star
* c : Near a cluster
*Note (3): Occasionally, a second period gave a convincing light curve and this
* second period has also been included, with the period giving the more
* believable light curve in column Per
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4' ! JHK photometry of old variables
integer*4 nr__2
parameter (nr__2=15) ! Number of records
character*92 ar__2 ! Full-size record
character*17 Name_2 ! LPV name/position (1)
character*1 n_Name_2 ! [abc] Note on name (2)
real*4 DImag_2 ! (mag) Peak to peak I amplitude
integer*4 JDImax_2 ! (d) Julian date of a recent I maximum
real*4 Imag_2 ! (mag) Mean I magnitude
real*4 Jmag_2 ! (mag) J magnitude
character*1 u_Jmag_2 ! Uncertainty flag on Jmag (0.05<=e_Jmag<=0.13)
real*4 Hmag_2 ! (mag) H magnitude
character*1 u_Hmag_2 ! Uncertainty flag on Hmag (0.05<=e_Hmag<=0.13)
real*4 Kmag_2 ! (mag) K magnitude
character*1 u_Kmag_2 ! Uncertainty flag on Kmag (0.05<=e_Kmag<=0.13)
real*4 Mbol_2 ! (mag) Bolometric magnitude derived from K and J-K
character*4 SpType_2 ! Spectral type obtained by spectroscopy,
* or, if enclosed in parentheses, from J-K
integer*4 JD_2 ! (d) Julian date at which the photometry was obtained
integer*4 Per_2 ! (d) ? Period of the variable
character*2 u_Per_2 ! [: ] Marginal periodic variables
integer*4 Per2_2 ! (d) ? Second period (3)
character*2 u_Per2_2 ! [: ] Marginal periodic variables
*Note (1): SHV refers to the variables found in Hughes (1989AJ.....97.1634H)
* RHV refers to the variables found in Reid et al. (1988MNRAS.232...53R)
* raw photometry data using the methods of paper I (Hughes,
* 1989AJ.....97.1634H) that were not found by
* Reid et al. (1988MNRAS.232...53R).
*Note (2): a : Merged (double) image
* b : Near a bright star
* c : Near a cluster
*Note (3): Occasionally, a second period gave a convincing light curve and this
* second period has also been included, with the period giving the more
* believable light curve in column Per
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5' ! LPV - IRAS proximity matches
integer*4 nr__3
parameter (nr__3=29) ! Number of records
character*116 ar__3 ! Full-size record
character*17 Name_3 ! LPV name/position (1)
integer*4 Per_3 ! (d) Period of the variable
character*2 u_Per_3 ! [: ] Uncertainty flag on Per
character*5 SpType_3 ! Spectral type (2)
real*4 DImag_3 ! (mag) ? Peak to peak I amplitude (2)
real*4 Imag_3 ! (mag) ? I magnitude (2)
real*4 Jmag_3 ! (mag) ? J magnitude (2)
real*4 Hmag_3 ! (mag) ? H magnitude (2)
real*4 Kmag_3 ! (mag) ? K magnitude (2)
character*14 IRAS ! IRAS name
character*1 l_F12 ! Limit flag on F12
real*4 F12 ! (mJy) 12{mu}m flux density
character*1 u_F12 ! Uncertainty flag on F12
character*1 l_F25 ! Limit flag on F25
real*4 F25 ! (mJy) 25{mu}m flux density
character*1 u_F25 ! Uncertainty flag on F25
character*1 l_F60 ! Limit flag on F60
real*4 F60 ! (mJy) ? 60{mu}m flux density
character*1 u_F60 ! Uncertainty flag on F60
character*1 l_F100 ! Limit flag on F100
real*4 F100 ! (mJy) ? 100{mu}m flux density
character*1 u_F100 ! Uncertainty flag on F100
integer*4 Xoffset ! (arcsec) Offset on X position
integer*4 Yoffset ! (arcsec) Offset on Y position
*Note (1): SHV refers to the variables found in Hughes (1989AJ.....97.1634H)
* GRV refers to the variables in Reid et al., (1988MNRAS.232...53R)
* RHV refers to the variables found in Reid et al. (1988MNRAS.232...53R)
* raw photometry data using the methods of paper I,
* (Hughes, 1989AJ.....97.1634H), that were not found by
* Reid et al. (1988MNRAS.232...53R).
* HV refers to Harvard variables, Hodge & Wright, 1967,
* Smithsonian Inst. Astrophys. Obs. No. 4699
*Note (2): Spectral types and JHK photometry of Harvard variables (HV) from
* Wood et al. (1983ApJ...272...99W), and their I and {DELTA}I from
* Reid et al. (1988MNRAS.232...53R).
* Photometry of GRV stars from Reid et al. (1988MNRAS.232...53R).
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table6' ! LPVs excluded from (K, log P) fit
integer*4 nr__4
parameter (nr__4=14) ! Number of records
character*48 ar__4 ! Full-size record
character*17 Name_4 ! LPV name/position (1)
integer*4 Per_4 ! (d) Period of the variable
real*4 Imag_4 ! (mag) Mean I magnitude
real*4 DImag_4 ! (mag) Peak to peak I amplitude
real*4 J_H ! (mag) J-H colour index
real*4 H_K ! (mag) H-K colour index
real*4 Kmag_4 ! (mag) K magnitude
*Note (1): SHV refers to the variables found in Hughes (1989AJ.....97.1634H)
*--------------------------------------------------------------------------------
*
*Table VII. LPV bar density distribution.
*--------------------------------------------------------------------------------
* Period N {rho}0 A B {theta}0 X0 Y0
* Group N/deg^2^ deg deg deg deg deg
*--------------------------------------------------------------------------------
* 100- 225 207 8.8+/-0.8 4.6+/-0.9 1.3+/-0.1 117+/- 3 0.0+/-0.1 0.0+/- 0.1
* 225- 450 347 10.8+/-0.6 3.6+/-0.3 2.2+/-0.1 112+/- 5 0.0+/-0.1 -0.02+/-0.02
* 450-1000 38 2.0+/-0.4 6.0+/-5.7 3.1+/-1.2 134+/-40 0.3+/-0.7 -0.3 +/-1.0
C=============================================================================
C Loading file 'table2' ! JHK photometry of large-amplitude LPVs
C Format for file interpretation
1 format(
+ A17,A1,1X,F4.2,1X,I7,1X,F5.2,1X,F5.2,A1,1X,F5.2,A1,1X,F5.2,A1,
+ 1X,F6.2,1X,A4,1X,I7,1X,I4,A2,1X,I4,A2)
C Effective file loading
open(unit=1,status='old',file=
+'table2')
write(6,*) '....Loading file: table2'
do i__=1,376
read(1,'(A92)')ar__
read(ar__,1)
+ Name,n_Name,DImag,JDImax,Imag,Jmag,u_Jmag,Hmag,u_Hmag,Kmag,
+ u_Kmag,Mbol,SpType,JD,Per,u_Per,Per2,u_Per2
if(ar__(80:83) .EQ. '') Per = iNULL__
if(ar__(87:90) .EQ. '') Per2 = iNULL__
c ..............Just test output...........
write(6,1)
+ Name,n_Name,DImag,JDImax,Imag,Jmag,u_Jmag,Hmag,u_Hmag,Kmag,
+ u_Kmag,Mbol,SpType,JD,Per,u_Per,Per2,u_Per2
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3' ! JHK photometry of small-amplitude LPVws
C Format for file interpretation
2 format(
+ A17,A1,1X,F4.2,1X,I7,1X,F5.2,1X,F5.2,A1,1X,F5.2,A1,1X,F5.2,A1,
+ 1X,F6.2,1X,A4,1X,I7,1X,I4,A2,1X,I4,A2)
C Effective file loading
open(unit=1,status='old',file=
+'table3')
write(6,*) '....Loading file: table3'
do i__=1,224
read(1,'(A92)')ar__1
read(ar__1,2)
+ Name_1,n_Name_1,DImag_1,JDImax_1,Imag_1,Jmag_1,u_Jmag_1,
+ Hmag_1,u_Hmag_1,Kmag_1,u_Kmag_1,Mbol_1,SpType_1,JD_1,Per_1,
+ u_Per_1,Per2_1,u_Per2_1
if(ar__1(80:83) .EQ. '') Per_1 = iNULL__
if(ar__1(87:90) .EQ. '') Per2_1 = iNULL__
c ..............Just test output...........
write(6,2)
+ Name_1,n_Name_1,DImag_1,JDImax_1,Imag_1,Jmag_1,u_Jmag_1,
+ Hmag_1,u_Hmag_1,Kmag_1,u_Kmag_1,Mbol_1,SpType_1,JD_1,Per_1,
+ u_Per_1,Per2_1,u_Per2_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4' ! JHK photometry of old variables
C Format for file interpretation
3 format(
+ A17,A1,1X,F4.2,1X,I7,1X,F5.2,1X,F5.2,A1,1X,F5.2,A1,1X,F5.2,A1,
+ 1X,F6.2,1X,A4,1X,I7,1X,I4,A2,1X,I4,A2)
C Effective file loading
open(unit=1,status='old',file=
+'table4')
write(6,*) '....Loading file: table4'
do i__=1,15
read(1,'(A92)')ar__2
read(ar__2,3)
+ Name_2,n_Name_2,DImag_2,JDImax_2,Imag_2,Jmag_2,u_Jmag_2,
+ Hmag_2,u_Hmag_2,Kmag_2,u_Kmag_2,Mbol_2,SpType_2,JD_2,Per_2,
+ u_Per_2,Per2_2,u_Per2_2
if(ar__2(80:83) .EQ. '') Per_2 = iNULL__
if(ar__2(87:90) .EQ. '') Per2_2 = iNULL__
c ..............Just test output...........
write(6,3)
+ Name_2,n_Name_2,DImag_2,JDImax_2,Imag_2,Jmag_2,u_Jmag_2,
+ Hmag_2,u_Hmag_2,Kmag_2,u_Kmag_2,Mbol_2,SpType_2,JD_2,Per_2,
+ u_Per_2,Per2_2,u_Per2_2
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5' ! LPV - IRAS proximity matches
C Format for file interpretation
4 format(
+ A17,1X,I3,A2,1X,A5,1X,F4.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,
+ A14,1X,A1,F5.2,A1,1X,A1,F5.2,A1,1X,A1,F6.2,A1,1X,A1,F6.2,A1,
+ 1X,I3,2X,I3)
C Effective file loading
open(unit=1,status='old',file=
+'table5')
write(6,*) '....Loading file: table5'
do i__=1,29
read(1,'(A116)')ar__3
read(ar__3,4)
+ Name_3,Per_3,u_Per_3,SpType_3,DImag_3,Imag_3,Jmag_3,Hmag_3,
+ Kmag_3,IRAS,l_F12,F12,u_F12,l_F25,F25,u_F25,l_F60,F60,u_F60,
+ l_F100,F100,u_F100,Xoffset,Yoffset
if(ar__3(31:34) .EQ. '') DImag_3 = rNULL__
if(ar__3(36:40) .EQ. '') Imag_3 = rNULL__
if(ar__3(42:46) .EQ. '') Jmag_3 = rNULL__
if(ar__3(48:52) .EQ. '') Hmag_3 = rNULL__
if(ar__3(54:58) .EQ. '') Kmag_3 = rNULL__
if(ar__3(92:97) .EQ. '') F60 = rNULL__
if(ar__3(101:106) .EQ. '') F100 = rNULL__
c ..............Just test output...........
write(6,4)
+ Name_3,Per_3,u_Per_3,SpType_3,DImag_3,Imag_3,Jmag_3,Hmag_3,
+ Kmag_3,IRAS,l_F12,F12,u_F12,l_F25,F25,u_F25,l_F60,F60,u_F60,
+ l_F100,F100,u_F100,Xoffset,Yoffset
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table6' ! LPVs excluded from (K, log P) fit
C Format for file interpretation
5 format(A17,1X,I3,1X,F5.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F5.2)
C Effective file loading
open(unit=1,status='old',file=
+'table6')
write(6,*) '....Loading file: table6'
do i__=1,14
read(1,'(A48)')ar__4
read(ar__4,5)Name_4,Per_4,Imag_4,DImag_4,J_H,H_K,Kmag_4
c ..............Just test output...........
write(6,5)Name_4,Per_4,Imag_4,DImag_4,J_H,H_K,Kmag_4
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end