Conversion of standardized ReadMe file for
file /./ftp/cats/J/other/IBVS/5721 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-08
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/IBVS/5721 78th name-list of variable stars (Kazarovets+, 2006)
*================================================================================
*The 78th name-list of variable stars.
* Kazarovets E.V., Samus N.N., Durlevich O.V., Kireeva N.N., Pastukhova E.N.
* <IAU Inform. Bull. Var. Stars, 5721, 1 (2006)>
* =2006IBVS.5721....1K
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! 78th Name-List of Variable Stars
integer*4 nr__
parameter (nr__=1706) ! Number of records
character*147 ar__ ! Full-size record
C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg ! (deg) Right Ascension J2000.0
real*8 DEdeg ! (deg) Declination J2000.0
C ---------------------------------- ! (position vector(s) in degrees)
integer*4 Seq ! [780001/781706] Sequential number
character*9 Name ! Variable Name
character*1 n_Name ! [*] indicates a remark in table4.dat
integer*4 RAh ! (h) Right ascension (J2000.0)
integer*4 RAm ! (min) Right ascension (J2000.0)
real*4 RAs ! (s) Right ascension (J2000.0)
character*1 DE_ ! Declination sign (J2000.0)
integer*4 DEd ! (deg) Declination (J2000.0)
integer*4 DEm ! (arcmin) Declination (J2000.0)
integer*4 DEs ! (arcsec) Declination (J2000.0)
real*4 Vmax ! (mag) Maximum light
character*1 l_Vmin ! Limit flag on Vmin
real*4 Vmin ! (mag) ? Minimum light
character*1 u_Vmin ! [:] Uncertainty flag on Vmin
real*4 AmpV ! (mag) ? Amplitude of light variation in V band
character*1 u_AmpV ! [:] Uncertainty flag on AmpV
character*2 n_AmpV ! [* IRc V b v] Band in which the AmpV is
* expressed, if different of the Vmax one
character*2 Band ! Photometric band (1)
character*7 VType ! Variable type
character*14 Refs ! References
real*8 Epoch ! (d) ? JD of Epoch of minimum
character*1 u_Epoch ! Uncertainty flag on Epoch
real*8 Per ! (d) ? Period
character*1 u_Per ! Uncertainty flag on Per
integer*4 M_m ! ? Distance modulus
character*1 u_M_m ! Uncertainty flag on M-m
character*20 SpType ! MK spectral type
character*6 n_Epoch ! Year of Epoch
*Note (1): Photometric bands as follows:
* * = measurement in white light
* U = Johnson U
* B = Johnson B
* V = Johnson V
* R = Johnson R
* Rc = Cousins R
* I = Johnson I
* Ic = Cousins I
* J = Johnson J
* K = Johnson K
* Hp = magnitude in the system of the Hipparcos Catalogue
* p = photographic magnitude
* r = instrumental red magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Renamed variable stars
integer*4 nr__1
parameter (nr__1=38) ! Number of records
character*22 ar__1 ! Full-size record
character*9 OName ! Old Name
character*9 NName ! New Name
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Additional notes
integer*4 nr__2
parameter (nr__2=5416) ! Number of records
character*203 ar__2 ! Full-size record
character*9 Name_1 ! Variable name
integer*4 Seq_1 ! Sequential number
character*31 OName_1 ! Other name
character*148 Rem ! Remarks
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'refs.dat' ! References
integer*4 nr__3
parameter (nr__3=338) ! Number of records
character*160 ar__3 ! Full-size record
character*5 Ref ! Reference code
character*19 BibCode ! BibCode
character*32 Aut ! Author's name
character*101 Com ! Comments
C=============================================================================
C Loading file 'table3.dat' ! 78th Name-List of Variable Stars
C Format for file interpretation
1 format(
+ I6,1X,A9,A1,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,F5.2,
+ 1X,A1,F5.2,A1,1X,F5.2,A1,A2,1X,A2,1X,A7,1X,A14,1X,F13.5,A1,
+ F14.9,A1,I2,A1,1X,A20,A6)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,1706
read(1,'(A147)')ar__
read(ar__,1)
+ Seq,Name,n_Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Vmax,l_Vmin,Vmin,
+ u_Vmin,AmpV,u_AmpV,n_AmpV,Band,VType,Refs,Epoch,u_Epoch,Per,
+ u_Per,M_m,u_M_m,SpType,n_Epoch
if(ar__(47:51) .EQ. '') Vmin = rNULL__
if(ar__(54:58) .EQ. '') AmpV = rNULL__
if(ar__(89:101) .EQ. '') Epoch = rNULL__
if(ar__(103:116) .EQ. '') Per = rNULL__
if(ar__(118:119) .EQ. '') M_m = iNULL__
RAdeg = rNULL__
DEdeg = rNULL__
c Derive coordinates RAdeg and DEdeg from input data
c (RAdeg and DEdeg are set to rNULL__ when unknown)
if(RAh .GT. -180) RAdeg=RAh*15.
if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
if(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
if(DEd .GE. 0) DEdeg=DEd
if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c ..............Just test output...........
write(6,1)
+ Seq,Name,n_Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Vmax,l_Vmin,Vmin,
+ u_Vmin,AmpV,u_AmpV,n_AmpV,Band,VType,Refs,Epoch,u_Epoch,Per,
+ u_Per,M_m,u_M_m,SpType,n_Epoch
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Renamed variable stars
C Format for file interpretation
2 format(A9,4X,A9)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,38
read(1,'(A22)')ar__1
read(ar__1,2)OName,NName
c ..............Just test output...........
write(6,2)OName,NName
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! Additional notes
C Format for file interpretation
3 format(A9,3X,I6,3X,A31,3X,A148)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,5416
read(1,'(A203)')ar__2
read(ar__2,3)Name_1,Seq_1,OName_1,Rem
c ..............Just test output...........
write(6,3)Name_1,Seq_1,OName_1,Rem
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'refs.dat' ! References
C Format for file interpretation
4 format(A5,1X,A19,1X,A32,1X,A101)
C Effective file loading
open(unit=1,status='old',file=
+'refs.dat')
write(6,*) '....Loading file: refs.dat'
do i__=1,338
read(1,'(A160)')ar__3
read(ar__3,4)Ref,BibCode,Aut,Com
c ..............Just test output...........
write(6,4)Ref,BibCode,Aut,Com
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end