Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/99/784 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-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 (nr__) ! LPV name/position (1)
character*1 n_Name (nr__) ! [abc] Note on name (2)
real*4 DImag (nr__) ! (mag) Peak to peak I amplitude
integer*4 JDImax (nr__) ! (d) Julian date of a recent I maximum
real*4 Imag (nr__) ! (mag) Mean I magnitude
real*4 Jmag (nr__) ! (mag) J magnitude
character*1 u_Jmag (nr__) ! Uncertainty flag on Jmag (0.05<=e_Jmag<=0.13)
real*4 Hmag (nr__) ! (mag) H magnitude
character*1 u_Hmag (nr__) ! Uncertainty flag on Hmag (0.05<=e_Hmag<=0.13)
real*4 Kmag (nr__) ! (mag) K magnitude
character*1 u_Kmag (nr__) ! Uncertainty flag on Kmag (0.05<=e_Kmag<=0.13)
real*4 Mbol (nr__) ! (mag) Bolometric magnitude derived from K and J-K
character*4 SpType (nr__) ! Spectral type obtained by spectroscopy,
* or, if enclosed in parentheses, from J-K
integer*4 JD (nr__) ! (d) Julian date at which the photometry was obtained
integer*4 Per (nr__) ! (d) ? Period of the variable
character*2 u_Per (nr__) ! [: ] Marginal periodic variables
integer*4 Per2 (nr__) ! (d) ? Second period (3)
character*2 u_Per2 (nr__) ! [: ] 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 (nr__1) ! LPV name/position (1)
character*1 n_Name_1 (nr__1) ! [abc] Note on name (2)
real*4 DImag_1 (nr__1) ! (mag) Peak to peak I amplitude
integer*4 JDImax_1 (nr__1) ! (d) Julian date of a recent I maximum
real*4 Imag_1 (nr__1) ! (mag) Mean I magnitude
real*4 Jmag_1 (nr__1) ! (mag) J magnitude
character*1 u_Jmag_1 (nr__1) ! Uncertainty flag on Jmag (0.05<=e_Jmag<=0.13)
real*4 Hmag_1 (nr__1) ! (mag) H magnitude
character*1 u_Hmag_1 (nr__1) ! Uncertainty flag on Hmag (0.05<=e_Hmag<=0.13)
real*4 Kmag_1 (nr__1) ! (mag) K magnitude
character*1 u_Kmag_1 (nr__1) ! Uncertainty flag on Kmag (0.05<=e_Kmag<=0.13)
real*4 Mbol_1 (nr__1) ! (mag) Bolometric magnitude derived from K and J-K
character*4 SpType_1 (nr__1) ! Spectral type obtained by spectroscopy,
* or, if enclosed in parentheses, from J-K
integer*4 JD_1 (nr__1) ! (d) Julian date at which the photometry was obtained
integer*4 Per_1 (nr__1) ! (d) ? Period of the variable
character*2 u_Per_1 (nr__1) ! [: ] Marginal periodic variables
integer*4 Per2_1 (nr__1) ! (d) ? Second period (3)
character*2 u_Per2_1 (nr__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 (nr__2) ! LPV name/position (1)
character*1 n_Name_2 (nr__2) ! [abc] Note on name (2)
real*4 DImag_2 (nr__2) ! (mag) Peak to peak I amplitude
integer*4 JDImax_2 (nr__2) ! (d) Julian date of a recent I maximum
real*4 Imag_2 (nr__2) ! (mag) Mean I magnitude
real*4 Jmag_2 (nr__2) ! (mag) J magnitude
character*1 u_Jmag_2 (nr__2) ! Uncertainty flag on Jmag (0.05<=e_Jmag<=0.13)
real*4 Hmag_2 (nr__2) ! (mag) H magnitude
character*1 u_Hmag_2 (nr__2) ! Uncertainty flag on Hmag (0.05<=e_Hmag<=0.13)
real*4 Kmag_2 (nr__2) ! (mag) K magnitude
character*1 u_Kmag_2 (nr__2) ! Uncertainty flag on Kmag (0.05<=e_Kmag<=0.13)
real*4 Mbol_2 (nr__2) ! (mag) Bolometric magnitude derived from K and J-K
character*4 SpType_2 (nr__2) ! Spectral type obtained by spectroscopy,
* or, if enclosed in parentheses, from J-K
integer*4 JD_2 (nr__2) ! (d) Julian date at which the photometry was obtained
integer*4 Per_2 (nr__2) ! (d) ? Period of the variable
character*2 u_Per_2 (nr__2) ! [: ] Marginal periodic variables
integer*4 Per2_2 (nr__2) ! (d) ? Second period (3)
character*2 u_Per2_2 (nr__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 (nr__3) ! LPV name/position (1)
integer*4 Per_3 (nr__3) ! (d) Period of the variable
character*2 u_Per_3 (nr__3) ! [: ] Uncertainty flag on Per
character*5 SpType_3 (nr__3) ! Spectral type (2)
real*4 DImag_3 (nr__3) ! (mag) ? Peak to peak I amplitude (2)
real*4 Imag_3 (nr__3) ! (mag) ? I magnitude (2)
real*4 Jmag_3 (nr__3) ! (mag) ? J magnitude (2)
real*4 Hmag_3 (nr__3) ! (mag) ? H magnitude (2)
real*4 Kmag_3 (nr__3) ! (mag) ? K magnitude (2)
character*14 IRAS (nr__3) ! IRAS name
character*1 l_F12 (nr__3) ! Limit flag on F12
real*4 F12 (nr__3) ! (mJy) 12{mu}m flux density
character*1 u_F12 (nr__3) ! Uncertainty flag on F12
character*1 l_F25 (nr__3) ! Limit flag on F25
real*4 F25 (nr__3) ! (mJy) 25{mu}m flux density
character*1 u_F25 (nr__3) ! Uncertainty flag on F25
character*1 l_F60 (nr__3) ! Limit flag on F60
real*4 F60 (nr__3) ! (mJy) ? 60{mu}m flux density
character*1 u_F60 (nr__3) ! Uncertainty flag on F60
character*1 l_F100 (nr__3) ! Limit flag on F100
real*4 F100 (nr__3) ! (mJy) ? 100{mu}m flux density
character*1 u_F100 (nr__3) ! Uncertainty flag on F100
integer*4 Xoffset (nr__3) ! (arcsec) Offset on X position
integer*4 Yoffset (nr__3) ! (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 (nr__4) ! LPV name/position (1)
integer*4 Per_4 (nr__4) ! (d) Period of the variable
real*4 Imag_4 (nr__4) ! (mag) Mean I magnitude
real*4 DImag_4 (nr__4) ! (mag) Peak to peak I amplitude
real*4 J_H (nr__4) ! (mag) J-H colour index
real*4 H_K (nr__4) ! (mag) H-K colour index
real*4 Kmag_4 (nr__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(i__),n_Name(i__),DImag(i__),JDImax(i__),Imag(i__),
+ Jmag(i__),u_Jmag(i__),Hmag(i__),u_Hmag(i__),Kmag(i__),
+ u_Kmag(i__),Mbol(i__),SpType(i__),JD(i__),Per(i__),u_Per(i__),
+ Per2(i__),u_Per2(i__)
if(ar__(80:83) .EQ. '') Per(i__) = iNULL__
if(ar__(87:90) .EQ. '') Per2(i__) = iNULL__
c ..............Just test output...........
write(6,1)
+ Name(i__),n_Name(i__),DImag(i__),JDImax(i__),Imag(i__),
+ Jmag(i__),u_Jmag(i__),Hmag(i__),u_Hmag(i__),Kmag(i__),
+ u_Kmag(i__),Mbol(i__),SpType(i__),JD(i__),Per(i__),u_Per(i__),
+ Per2(i__),u_Per2(i__)
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(i__),n_Name_1(i__),DImag_1(i__),JDImax_1(i__),
+ Imag_1(i__),Jmag_1(i__),u_Jmag_1(i__),Hmag_1(i__),
+ u_Hmag_1(i__),Kmag_1(i__),u_Kmag_1(i__),Mbol_1(i__),
+ SpType_1(i__),JD_1(i__),Per_1(i__),u_Per_1(i__),Per2_1(i__),
+ u_Per2_1(i__)
if(ar__1(80:83) .EQ. '') Per_1(i__) = iNULL__
if(ar__1(87:90) .EQ. '') Per2_1(i__) = iNULL__
c ..............Just test output...........
write(6,2)
+ Name_1(i__),n_Name_1(i__),DImag_1(i__),JDImax_1(i__),
+ Imag_1(i__),Jmag_1(i__),u_Jmag_1(i__),Hmag_1(i__),
+ u_Hmag_1(i__),Kmag_1(i__),u_Kmag_1(i__),Mbol_1(i__),
+ SpType_1(i__),JD_1(i__),Per_1(i__),u_Per_1(i__),Per2_1(i__),
+ u_Per2_1(i__)
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(i__),n_Name_2(i__),DImag_2(i__),JDImax_2(i__),
+ Imag_2(i__),Jmag_2(i__),u_Jmag_2(i__),Hmag_2(i__),
+ u_Hmag_2(i__),Kmag_2(i__),u_Kmag_2(i__),Mbol_2(i__),
+ SpType_2(i__),JD_2(i__),Per_2(i__),u_Per_2(i__),Per2_2(i__),
+ u_Per2_2(i__)
if(ar__2(80:83) .EQ. '') Per_2(i__) = iNULL__
if(ar__2(87:90) .EQ. '') Per2_2(i__) = iNULL__
c ..............Just test output...........
write(6,3)
+ Name_2(i__),n_Name_2(i__),DImag_2(i__),JDImax_2(i__),
+ Imag_2(i__),Jmag_2(i__),u_Jmag_2(i__),Hmag_2(i__),
+ u_Hmag_2(i__),Kmag_2(i__),u_Kmag_2(i__),Mbol_2(i__),
+ SpType_2(i__),JD_2(i__),Per_2(i__),u_Per_2(i__),Per2_2(i__),
+ u_Per2_2(i__)
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(i__),Per_3(i__),u_Per_3(i__),SpType_3(i__),
+ DImag_3(i__),Imag_3(i__),Jmag_3(i__),Hmag_3(i__),Kmag_3(i__),
+ IRAS(i__),l_F12(i__),F12(i__),u_F12(i__),l_F25(i__),F25(i__),
+ u_F25(i__),l_F60(i__),F60(i__),u_F60(i__),l_F100(i__),
+ F100(i__),u_F100(i__),Xoffset(i__),Yoffset(i__)
if(ar__3(31:34) .EQ. '') DImag_3(i__) = rNULL__
if(ar__3(36:40) .EQ. '') Imag_3(i__) = rNULL__
if(ar__3(42:46) .EQ. '') Jmag_3(i__) = rNULL__
if(ar__3(48:52) .EQ. '') Hmag_3(i__) = rNULL__
if(ar__3(54:58) .EQ. '') Kmag_3(i__) = rNULL__
if(ar__3(92:97) .EQ. '') F60(i__) = rNULL__
if(ar__3(101:106) .EQ. '') F100(i__) = rNULL__
c ..............Just test output...........
write(6,4)
+ Name_3(i__),Per_3(i__),u_Per_3(i__),SpType_3(i__),
+ DImag_3(i__),Imag_3(i__),Jmag_3(i__),Hmag_3(i__),Kmag_3(i__),
+ IRAS(i__),l_F12(i__),F12(i__),u_F12(i__),l_F25(i__),F25(i__),
+ u_F25(i__),l_F60(i__),F60(i__),u_F60(i__),l_F100(i__),
+ F100(i__),u_F100(i__),Xoffset(i__),Yoffset(i__)
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(i__),Per_4(i__),Imag_4(i__),DImag_4(i__),J_H(i__),
+ H_K(i__),Kmag_4(i__)
c ..............Just test output...........
write(6,5)
+ Name_4(i__),Per_4(i__),Imag_4(i__),DImag_4(i__),J_H(i__),
+ H_K(i__),Kmag_4(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end