Conversion of standardized ReadMe file for
file /./ftp/cats/VIII/65 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.
++++Column 'RAh' at line 52: Right Ascension J2000 (hours) (2)
position has no associated Epoch (last analysed word: 'observation')
program load_ReadMe
C=============================================================================
C F77-compliant program generated by readme2f_1.81 (2015-09-23), on 2026-Aug-12
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. VIII/65 1.4GHz NRAO VLA Sky Survey (NVSS) (Condon+ 1998)
*================================================================================
*The NRAO VLA Sky Survey
* Condon J.J., Cotton W.D., Greisen E.W., Yin Q.F., Perley R.A.,
* Taylor G.B., Broderick J.J.
* <Astron. J. 115, 1693 (1998)>
* =1998AJ....115.1693C
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'nvss.dat' ! The NVSS Catalog
integer*4 nr__
parameter (nr__=1773484) ! Number of records
character*158 ar__ ! Full-size record
C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg (nr__) ! (deg) Right Ascension J2000
real*8 DEdeg (nr__) ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
character*8 Field (nr__) ! Name of the original survey image field
* from which the component was derived.
real*8 Xpos (nr__) ! (pix) X position (RA direction) of the radio source
real*8 Ypos (nr__) ! (pix) Y position (Dec direction) of the radio source
character*14 NVSS (nr__) ! Source name (1)
integer*4 RAh (nr__) ! (h) Right Ascension J2000 (hours) (2)
integer*4 RAm (nr__) ! (min) Right Ascension J2000 (minutes) (2)
real*4 RAs (nr__) ! (s) [0,60] Right Ascension J2000 (seconds) (2)
character*1 DE_ (nr__) ! Declination J2000 (sign) (2)
integer*4 DEd (nr__) ! (deg) Declination J2000 (degrees) (2)
integer*4 DEm (nr__) ! (arcmin) Declination J2000 (minutes) (2)
real*4 DEs (nr__) ! (arcsec) [0,60] Declination J2000 (seconds) (2)
real*4 e_RAs (nr__) ! (s) Mean error on RA
real*4 e_DEs (nr__) ! (arcsec) Mean error on Dec
real*8 S1_4 (nr__) ! (mJy) Integrated 1.4GHz flux density of radio source
real*8 e_S1_4 (nr__) ! (mJy) Mean error on S1.4
character*1 l_MajAxis (nr__) ! Limit flag on MajAxis
real*4 MajAxis (nr__) ! (arcsec) Fitted (deconvolved) major axis of radio source
character*1 l_MinAxis (nr__) ! Limit flag on MinAxis
real*4 MinAxis (nr__) ! (arcsec) Fitted (deconvolved) minor axis of radio source
real*4 PA (nr__) ! (deg) [-90, 90]? Position angle of fitted major axis
real*4 e_MajAxis (nr__) ! (arcsec) ? Mean error on MajAxis
real*4 e_MinAxis (nr__) ! (arcsec) ? Mean error on MinAxis
real*4 e_PA (nr__) ! (deg) ? Mean error on PA
character*2 f_resFlux (nr__) ! [PS* ] Residual Code (3)
integer*4 resFlux (nr__) ! (mJy) ? Peak residual flux, in mJy/beam (3)
real*4 polFlux (nr__) ! (mJy) ? Integrated linearly polarized flux density
real*4 polPA (nr__) ! (deg) *[-90,90]? The position angle of polFlux (4)
real*4 e_polFlux (nr__) ! (mJy) ? Mean error on polFlux
real*4 e_polPA (nr__) ! (deg) ? Mean error on polPA
*Note (1):
* The NVSS Catalog designation is of the form
* NVSS JHHMMSS+DDMMSS
* using the standard IAU nomenclature prescription, where NVSS is the
* catalog acronym, J specifies the coordinate equinox (for J2000)
* HHMMSS are the hours, minutes, and truncated (not rounded) seconds of
* right ascension, + or - is the sign of the declination, and DDMMSS are
* the degrees, arcminutes, and truncated (not rounded) arcseconds of
* declination. Thus, the NVSS source at equinox J2000.0 coordinates of
* 00h00m00.24s -20d04'49.1" is called NVSS J000000-200449. This name,
* without the leading "NVSS J" prefix, is reported in the NVSS column.
* There are four cases where a suffix "a" or "b" have been appended to
* the name to ensure the naming unicity.
*Note (2): Position of the centroid of the fitted radio source,
* for the epoch of observation (1995+/-2).
*Note (3): High residual values generally indicate complex sources.
* f_resFlux contains a flag indicating a residual of the fit to the
* radio source, which can be:
* P: if the peak flux density residual was high
* S: if the integrated flux density residual was high
*Note (4):
* polPA is the position angle (N through East) of the "E" vector of the
* linear polarization if the source was detected (1 sigma) in linear
* polarization.
C=============================================================================
C Loading file 'nvss.dat' ! The NVSS Catalog
C Format for file interpretation
1 format(
+ A8,1X,F7.2,1X,F7.2,1X,A14,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,
+ 1X,F4.1,1X,F5.2,1X,F4.1,1X,F8.1,1X,F7.1,1X,A1,F5.1,1X,A1,F5.1,
+ 1X,F5.1,1X,F4.1,1X,F4.1,1X,F4.1,1X,A2,1X,I4,1X,F6.2,1X,F5.1,
+ 1X,F5.2,1X,F4.1)
C Effective file loading
open(unit=1,status='old',file=
+'nvss.dat')
write(6,*) '....Loading file: nvss.dat'
do i__=1,1773484
read(1,'(A158)')ar__
read(ar__,1)
+ Field(i__),Xpos(i__),Ypos(i__),NVSS(i__),RAh(i__),RAm(i__),
+ RAs(i__),DE_(i__),DEd(i__),DEm(i__),DEs(i__),e_RAs(i__),
+ e_DEs(i__),S1_4(i__),e_S1_4(i__),l_MajAxis(i__),MajAxis(i__),
+ l_MinAxis(i__),MinAxis(i__),PA(i__),e_MajAxis(i__),
+ e_MinAxis(i__),e_PA(i__),f_resFlux(i__),resFlux(i__),
+ polFlux(i__),polPA(i__),e_polFlux(i__),e_polPA(i__)
if(ar__(107:111) .EQ. '') PA(i__) = rNULL__
if(ar__(113:116) .EQ. '') e_MajAxis(i__) = rNULL__
if(ar__(118:121) .EQ. '') e_MinAxis(i__) = rNULL__
if(ar__(123:126) .EQ. '') e_PA(i__) = rNULL__
if(ar__(131:134) .EQ. '') resFlux(i__) = iNULL__
if(ar__(136:141) .EQ. '') polFlux(i__) = rNULL__
if(ar__(143:147) .EQ. '') polPA(i__) = rNULL__
if(ar__(149:153) .EQ. '') e_polFlux(i__) = rNULL__
if(ar__(155:158) .EQ. '') e_polPA(i__) = rNULL__
RAdeg(i__) = rNULL__
DEdeg(i__) = rNULL__
c Derive coordinates RAdeg and DEdeg from input data
c (RAdeg and DEdeg are set to rNULL__ when unknown)
if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15.
if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4.
if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240.
if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600.
if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c ..............Just test output...........
write(6,1)
+ Field(i__),Xpos(i__),Ypos(i__),NVSS(i__),RAh(i__),RAm(i__),
+ RAs(i__),DE_(i__),DEd(i__),DEm(i__),DEs(i__),e_RAs(i__),
+ e_DEs(i__),S1_4(i__),e_S1_4(i__),l_MajAxis(i__),MajAxis(i__),
+ l_MinAxis(i__),MinAxis(i__),PA(i__),e_MajAxis(i__),
+ e_MinAxis(i__),e_PA(i__),f_resFlux(i__),resFlux(i__),
+ polFlux(i__),polPA(i__),e_polFlux(i__),e_polPA(i__)
write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end