==============================================================================
RNX2GTEX ver. 1.1.3 (Dec 12, 2014)  }jA
	      Jan 7, 2015 
==============================================================================


{}jÁARNX2GTEX̃CXg[Aїp@ɂĐ
łB


o̓f[^уT|[gΏ
@̓f[^FRINEX(Receiver INdependent EXchange format)o[W2
@o̓f[^FGTEX(GNSS-TEC EXchange format) o[W1.0

p@
RNX2GTEX͎w肳ꂽRINEXt@CGTEXt@CɕϊB
Aw肳ꂽ̋Ot@C݂ȂE܂̓_E[hłȂꍇGTEXt@Cւ̕ϊ͍sȂB
ȉ́ARNX2GTEX̃IvV

Et()wIvV

  [N] [ʂ]F           Nƒʂw肵ϊ
                            ) RNX2GTEX.sh 2014 142

  -r []F               ݂̓tƂw肵ϊ
                            ""ɂĎsꍇ͈ȉ̒ʂ
                            ) RNX2GTEX.sh -r 1

  -b [JnN] [Jnʂ] [IN] [Iʂ]F
                            Ԃw肵ĕϊ
                            ԂɂĘAs
                            ) RNX2GTEX.sh -b 2013 364 2014 003

  (*) ̓t()IvV𓯎Ɏw肷邱Ƃ͂łȂB

E㏑wIvV
  GTEXt@Cɏ㏑sBw肵ȂꍇAGTEXt@C쐬Ă
  RINEXt@CɂĂ̂݁AϊsB
  
  -oF                      GTEXt@C݂ꍇɏ㏑s
                            t()wIvVɂ炸ݒ肪\
                            ) RNX2GTEX.sh 2014 142 -o
                            ) RNX2GTEX.sh -r 1 -o
                            ) RNX2GTEX.sh -b 2013 364 2014 003 -o


CXg[
1. _E[h
  % wget http://seg-web.nict.go.jp/GPS/DRAWING-TEC/software/RNX2GTEX.tgz

2. t@CWJ
  % tar zxvf RNX2GTEX.tgz

3. WJfBNgɈړ
  % cd RNX2GTEX

4. "RNX2GTEX.sh"ҏW
  4-1. RINEX_DIR:  RINEXt@Ci[ꂽfBNg(*)
                   ΃pX͂B
                   ) "/data/RINEX"

  4-2. TEC_DIR:    GTEXt@Co͂fBNg̐΃pX
                   ͂B
                   ) "/data/TEC"

  4-3. ORBIT_DIR:  GPSq̋Of[^i[fBNg
                   ΃pX͂B
                   ) "/data/ORBIT"

  4-4. work_DIR:   ƃfBNg̐΃pX͂B
                   GEONET1RINEXf[^WĴɂ
                   4.5GBytẽfBXNeʂKvƂȂB
                   ) "/data/tmp"

  4-5. EXEC_DIR:   svOi[ꂽfBNg
                   ΃pX͂B
                   ) "/work/RNX2GTEX"

  4-6. ORBIT_TYPE: GTEXϊɗpGPSOf[^̎ʂw肷B
                   "igs"(final)܂"igr"(rapid)̎w肪\B

  4-7. GROUP:      GTEXt@C̃[UO[vw肷B

(*) RINEXf[^fBNǵAȉ̂悤ɔN-ʂ̍\KvB
    ) ROOT_DIRECTORY/YEAR/DAY
        (N4Aʂ3̐)
-------------------------
[RINEXf[^fBNg]
  |-...
  |-[2012]
  |-[2013]
      |-...
      |-[005]
      |-[006]
          |-abcd0060.13o.gz
          |-...
-------------------------

5. wfBNg̍쐬
  % mkdir <TEC_DIR> <ORBIT_DIR> <work_DIR>

6. RpC
  % make clean
  % make
  RpCƁA"RNX2GTEX"쐬B

7. FTP̐ݒ
  IGSFTPT[oGPSq̋Of[^擾ɂ́AFTPNCAg
  KvłB

  7-1. FTP̃CXg[(Kvȏꍇ)
  FTPCXg[ĂȂꍇACXg[sB
  ) Scientific Linux̏ꍇ
    % su
    % yum install ftp

  7-2. FTP̐ڑݒ
  GPSq̋Of[^_E[hۂ̐ڑݒۑB
    % vi ~/.netrc
  ȉ̓eǉB
  machine igscb.jpl.nasa.gov login anonymous password [AhX


Ql
ERINEXt@C(o[W2.11)ɂ
  RINEXt@C̃tH[}bgɂẮAȉ̃EFuTCgQƂ̂ƁB
  http://igscb.jpl.nasa.gov/igscb/data/format/rinex211.txt

EGTEXt@C(o[W1.0)ɂ
  GTEXt@C̃tH[}bgɂẮAȉ̎QƂ̂ƁB
  (World Meteorological Organization)
  http://www.wmo.int/pages/prog/sat/meetings/documents/ICTSW-4_Doc_08-02-2_GTEX.pdf


===============================================================================
XV:
RNX2GTEX V1.1.4
14 June, 2015 M.Nishioka
   Modified: definition of Path_Angle (Define.h)
     Definition of Path Angle was corrected (bad elevation and azimuth were fixed).

RNX2GTEX V1.1.3
12 Dec, 2014 M.Nishioka
    *TECt@Co͂CiWrite_TEC.fj
     ---elevation angle ̃tH[}bgf6.2ƂȂĂ̂f5.2ɏC
@@*TEC̃wb_[v1.1.3ƕ\悤Write_TEC.fC 

RNX2GTEX V1.1.2
22 Jul, 2014 SEC.
    RINEXt@C̓ǂݍ(Read_RINEX.f)C
    Ewb_̓ǂݍݎ"TYPES OF OBSERV"3sȏ゠ꍇɑΉ
    EeG|bNɂĉq25ȏ゠ꍇɑΉ
    p^t@C(Define.h)C
    EϑC^[o1b̏ꍇftHgݒ
    GTEXt@Co(Write_TEC.f)C
    EGPSOf[^݂ȂꍇAt@Co͂sȂ悤C
    C[`(main.f)C
    ETEC̒lvZłȂꍇAt@Co͂sȂ悤C
    GTEXϊsXNvg(RNX2GTEX.sh)C
    EΓŕϊsIvVǉ
    EN/ʂɂԂw肵ĕϊsIvVǉ
    EGTEXt@C݂Xe[VɂāAftHgł
      ďsȂ悤ύX
    EGTEXt@C̗LɊւ炸AGTEXt@C쐬IvVǉ
    G[̃bZ[Wo͂ǉ
    
RNX2GTEX V1.1
13 Feb, 2014  M. Nishioka
       Path_Position.f were modified to obtain correct zenith and azimuthal angles.

RNX2GTEX V1.0
2 Feb, 2014  T. Tsugawa
     Read_GPS_Orbits.f, Path_Position.f, and gpscal.f were added to 
        calculate satellite zenith and azimuth angles.
        Some of other programs were modified to obtain a combination of
        RINEX observables for derivation TEC.

RNX2GTEX V0.1
11 Oct, 2013  T. Tsugawa
     Program name and some description of header part (Write_Header.f)
        were modified.

RNX2TEC V.3.1
January, 2012 Nishioka
    *"Read_RINED.f" Change to accept any sampling rate and sampling rate is printed out.
    *"Write_Header.f" Ignore "location.all"
     If no location in RINEX file, create TEC file without location information.
    *Change directory structure from YYYY/DOY_YYYY to YYY/DOY

RNX2TEC oldr than V.3.0
January, 2005 Tsugawa
    "Index_of_data" is added to grab time for three days
December, 2003 Nishioka
    "Read_RINEX.f", for the case of many (>12) satellite,
    change to read two lines of time strings
Decemver, 2003 Nishioka
    "Read_RINEX.f", for identify GPS satellite
    statement of sat_type "G" is included

RNX2TEC V2.1 

July, 2002 Tsugawa
September, 2001 Saito-A
    "Read_RINEX.f"
    Compatible to the RINEX files that contain more than 5 observables.
    Ignore "comments" in the middle of the Data
    
April 17, 2001 Saito-A
    "Write_Header.f" Latitude, Longitude and Altitude information is added
        in Header sector
