Conversion of standardized ReadMe file for
file /./ftp/cats/J/BaltA/11/417 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-May-15
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/BaltA/11/417 Vilnius photometry in Serpens cauda. II. (Straizys+, 2002)
*================================================================================
*Photometric investigation of the galaxy in the direction of Serpens cauda.
*A catalog of extinctions and distances.
* Straizys V., Bartasiute S., Cernis K.
* <Baltic Astron., 11, 417 (2002)>
* =2002BaltA..11..417S
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Photometry and classification in the sub-areas
integer*4 nr__
parameter (nr__=53) ! Number of records
character*105 ar__ ! Full-size record
C J2000 position composed of: RAh RAm RAs DE- DEd DEm
real*8 RAdeg ! (deg) Right Ascension J2000
real*8 DEdeg ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
character*10 v_SBC2002_ ! Sequential number
character*1 f__SBC2002_ ! [#] possible multiplicity (1)
character*1 n__SBC2002_ ! [*] indicates a note detailed in notes.dat
character*9 GSC ! Guide Star Catalog designation (Cat. II/254)
integer*4 RAh ! (h) Right ascension (J2000)
integer*4 RAm ! (min) Right ascension (J2000)
integer*4 RAs ! (s) Right ascension (J2000)
character*1 DE_ ! Declination sign (J2000)
integer*4 DEd ! (deg) Declination (J2000)
real*4 DEm ! (arcmin) Declination (J2000)
character*10 SpType ! MK spectral type, derived from photometry
real*4 Vmag ! (mag) Vilnius V magnitude
real*4 U_V ! (mag) Vilnius U-V colour index
real*4 P_V ! (mag) Vilnius P-V colour index
real*4 X_V ! (mag) Vilnius X-V colour index
real*4 Y_V ! (mag) Vilnius Y-V colour index
real*4 Z_V ! (mag) Vilnius Z-V colour index
real*4 V_S ! (mag) Vilnius V-S colour index
integer*4 Nobs ! Number of observations
*Note (1): Images of the stars, marked by a #, in the Internet's virtual
* telescope SkyView (http://skyview.gsfc.nasa.gov) are more or less
* non-symmetrical. These stars may be suspected in multiplicity.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'notes.dat' ! Individual notes
integer*4 nr__1
parameter (nr__1=14) ! Number of records
character*80 ar__1 ! Full-size record
character*10 v_SBC2002__1 ! Star designation
character*69 Note ! Text of the note
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Photometric quantification, color excesses,
extinctions and distances in the main area.
integer*4 nr__2
parameter (nr__2=419) ! Number of records
character*64 ar__2 ! Full-size record
integer*4 v_SBC2002__2 ! Sequential number
character*2 n__SBC2002__1 ! [*bcde ] Notes (1)
character*8 BD ! BD number
character*11 SpType_1 ! MK photometric spectral type
real*4 Vmag_1 ! (mag) Vilnius V magnitude
real*4 VMAG_2 ! (mag) ? Absolute V magnitude
character*1 u_VMAG ! Uncertainty flag on VMAG
real*4 E_Y_V ! (mag) ? (Y-V) colour excess
character*1 u_E_Y_V ! Uncertainty flag on E(Y-V)
real*4 AV ! (mag) ? Absorption in V band
character*1 u_AV ! Uncertainty flag on AV
integer*4 Dist ! (pc) ? Distance
character*1 u_Dist ! Uncertainty flag on Dist
*Note (1): Notes as follows:
* * = Stars Nos. 24, 60, 61, 66, 77, 87, 94, 96, 111, 130, 135, 155,
* 158, 169, 171, 178, 204, 206, 211, 219, 225, 236, 247, 252, 253,
* 255, 258, 262, 277, 278, 280, 281, 289, 309, 311, 322, 323, 327,
* 343, 372, 374, 391, 408 visual binary or multiple stars,
* see Paper II, Cat. <J/BaltA/11/321>.
* b = Too large extinction for the 104 pc distance. If the star is a
* binary with identical components, its distance is 147 pc.
* c = Stars Nos. 36, 209, 242, 311 are spectral binaries, see
* Paper II, Cat. <J/BaltA/11/321>.
* d = Stars Nos. 56, 76, 227 and 311 are variables.
* e = Star No. 404. A shell star, see Paper II,
* Cat. <J/BaltA/11/321>.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Photometric quantification, color excesses,
extinctions and distances in the sub-areas.
integer*4 nr__3
parameter (nr__3=60) ! Number of records
character*69 ar__3 ! Full-size record
character*10 v_SBC2002__3 ! Sequential number (1)
character*1 n__SBC2002__2 ! [*] indicates a note in notes.dat file
character*9 GSC_1 ! GSC designation
character*11 SpType_2 ! MK photometric spectral type
real*4 Vmag_3 ! (mag) Vilnius V magnitude
real*4 VMAG_4 ! (mag) ? Absolute V magnitude
character*1 u_VMAG_1 ! Uncertainty flag on VMAG
real*4 E_Y_V_1 ! (mag) ? (Y-V) colour excess
real*4 AV_1 ! (mag) ? Absorption in V band
integer*4 Dist_1 ! (pc) ? Distance
character*1 u_Dist_1 ! Uncertainty flag on Dist
*Note (1): Ser I-NN: [CBS97] NGC 6535 NN
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! Photometric quantification, color excesses,
extinctions and distances in SA 110
integer*4 nr__4
parameter (nr__4=21) ! Number of records
character*64 ar__4 ! Full-size record
character*9 Name ! Star Name (SA 110-NN)
character*8 BD_1 ! BD designation
character*11 SpType_3 ! MK spectral type
real*4 Vmag_5 ! (mag) Vilnius V magnitude
real*4 VMAG_6 ! (mag) ? Absolute V magnitude
real*4 E_Y_V_1 ! (mag) ? (Y-V) colour excess
real*4 AV_2 ! (mag) ? Absorption in V band
integer*4 Dist_2 ! (pc) ? Distance
C=============================================================================
C Loading file 'table2.dat' ! Photometry and classification in the sub-areas
C Format for file interpretation
1 format(
+ A10,A1,A1,1X,A9,2X,I2,1X,I2,1X,I2,1X,A1,I2,1X,F4.1,2X,A10,2X,
+ F6.3,2X,F5.3,2X,F5.3,2X,F5.3,2X,F5.3,2X,F5.3,2X,F5.3,1X,I1)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,53
read(1,'(A105)')ar__
read(ar__,1)
+ v_SBC2002_,f__SBC2002_,n__SBC2002_,GSC,RAh,RAm,RAs,DE_,DEd,
+ DEm,SpType,Vmag,U_V,P_V,X_V,Y_V,Z_V,V_S,Nobs
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(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c ..............Just test output...........
write(6,1)
+ v_SBC2002_,f__SBC2002_,n__SBC2002_,GSC,RAh,RAm,RAs,DE_,DEd,
+ DEm,SpType,Vmag,U_V,P_V,X_V,Y_V,Z_V,V_S,Nobs
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'notes.dat' ! Individual notes
C Format for file interpretation
2 format(A10,1X,A69)
C Effective file loading
open(unit=1,status='old',file=
+'notes.dat')
write(6,*) '....Loading file: notes.dat'
do i__=1,14
read(1,'(A80)')ar__1
read(ar__1,2)v_SBC2002__1,Note
c ..............Just test output...........
write(6,2)v_SBC2002__1,Note
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Photometric quantification, color excesses,
* extinctions and distances in the main area.
C Format for file interpretation
3 format(
+ I3,A2,1X,A8,1X,A11,1X,F6.3,3X,F5.2,A1,2X,F4.2,A1,3X,F4.2,A1,
+ 2X,I4,A1)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,419
read(1,'(A64)')ar__2
read(ar__2,3)
+ v_SBC2002__2,n__SBC2002__1,BD,SpType_1,Vmag_1,VMAG_2,u_VMAG,
+ E_Y_V,u_E_Y_V,AV,u_AV,Dist,u_Dist
if(ar__2(37:41) .EQ. '') VMAG_2 = rNULL__
if(ar__2(45:48) .EQ. '') E_Y_V = rNULL__
if(ar__2(53:56) .EQ. '') AV = rNULL__
if(ar__2(60:63) .EQ. '') Dist = iNULL__
c ..............Just test output...........
write(6,3)
+ v_SBC2002__2,n__SBC2002__1,BD,SpType_1,Vmag_1,VMAG_2,u_VMAG,
+ E_Y_V,u_E_Y_V,AV,u_AV,Dist,u_Dist
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! Photometric quantification, color excesses,
* extinctions and distances in the sub-areas.
C Format for file interpretation
4 format(
+ A10,A1,1X,A9,2X,A11,1X,F5.2,1X,F4.1,A1,3X,F4.2,4X,F4.2,3X,I4,
+ A1)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,60
read(1,'(A69)')ar__3
read(ar__3,4)
+ v_SBC2002__3,n__SBC2002__2,GSC_1,SpType_2,Vmag_3,VMAG_4,
+ u_VMAG_1,E_Y_V_1,AV_1,Dist_1,u_Dist_1
if(ar__3(42:45) .EQ. '') VMAG_4 = rNULL__
if(ar__3(50:53) .EQ. '') E_Y_V_1 = rNULL__
if(ar__3(58:61) .EQ. '') AV_1 = rNULL__
if(ar__3(65:68) .EQ. '') Dist_1 = iNULL__
c ..............Just test output...........
write(6,4)
+ v_SBC2002__3,n__SBC2002__2,GSC_1,SpType_2,Vmag_3,VMAG_4,
+ u_VMAG_1,E_Y_V_1,AV_1,Dist_1,u_Dist_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! Photometric quantification, color excesses,
* extinctions and distances in SA 110
C Format for file interpretation
5 format(A9,1X,A8,2X,A11,F5.2,1X,F4.1,4X,F4.2,4X,F4.2,3X,I4)
C Effective file loading
open(unit=1,status='old',file=
+'table5.dat')
write(6,*) '....Loading file: table5.dat'
do i__=1,21
read(1,'(A64)')ar__4
read(ar__4,5)
+ Name,BD_1,SpType_3,Vmag_5,VMAG_6,E_Y_V_1,AV_2,Dist_2
if(ar__4(38:41) .EQ. '') VMAG_6 = rNULL__
if(ar__4(46:49) .EQ. '') E_Y_V_1 = rNULL__
if(ar__4(54:57) .EQ. '') AV_2 = rNULL__
if(ar__4(61:64) .EQ. '') Dist_2 = iNULL__
c ..............Just test output...........
write(6,5)
+ Name,BD_1,SpType_3,Vmag_5,VMAG_6,E_Y_V_1,AV_2,Dist_2
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end