gnssrefl.highrate module

gnssrefl.highrate.bkg_highrate(station, year, month, day, stream, dec_rate, bkg, **kwargs)

picks up a highrate RINEX 3 file from BKG, merges and decimates it. requires gfzrnx

Parameters:
  • station (str) – 9 ch station name

  • year (int) – full year

  • month (integer) – month or day of year if day set to 0

  • day (int) – day of the month

  • stream (str) – R or S

  • dec_rate (int) – decimation rate in seconds

  • bkg (str) – file directory at BKG (igs or euref)

Returns:

  • file_name24 (str) – name of merged rinex file

  • fexist (boolean) – whether file exists

gnssrefl.highrate.bkg_highrate_tar(station, year, month, day, stream, dec_rate, bkg)

picks up a highrate RINEX 3 file from BKG, merges and decimates it. requires gfzrnx

Parameters:
  • station (str) – 9 ch station name

  • year (int) – full year

  • month (integer) – month or day of year if day set to 0

  • day (int) – day of the month

  • stream (str) – R or S

  • dec_rate (int) – decimation rate in seconds

  • bkg (str) – file directory at BKG (igs or euref)

Returns:

  • file_name24 (str) – name of merged rinex file

  • fexist (boolean) – whether file exists

gnssrefl.highrate.cddis_highrate(station, year, month, day, stream, dec_rate)

picks up highrate RINEX files from CDDIS and merges them

Parameters:
  • station (str) – 4 char or 9 char station name Rinex 2.11 for the first and rinex 3 for the latter

  • year (int) – full year

  • month (int) – calendar month

  • day (int) – calendar day

  • stream (str) – rinex3 ID, S or R

  • dec_rate (int) – decimation rate, seconds

Returns:

  • rinexname (str) – name of the merged/uncompressed outputfile

  • fexist (bool) – whether the Rinex file was successfully retrieved

  • requires hatanaka code and gfzrnx

gnssrefl.highrate.cddis_highrate_tar(station, year, month, day, stream, dec_rate)

picks up a tar’ed highrate RINEX files from CDDIS, untars it, and merges.

Parameters:
  • station (str) – 4 char or 9 char station name Rinex 2.11 for the first and rinex 3 for the latter

  • year (int) – full year

  • month (int) – calendar month

  • day (int) – calendar day

  • stream (str) – rinex3 ID, S or R

  • dec_rate (int) – decimation rate, seconds

Returns:

  • rinexname (str) – name of the merged/uncompressed outputfile

  • fexist (bool) – whether the Rinex file was successfully retrieved

  • requires hatanaka code and gfzrnx

gnssrefl.highrate.esp_highrate(station, year, month, day, stream, dec_rate)

picks up a highrate RINEX 3 file from Spanish Geodeic Center, merges and decimates it. requires gfzrnx

Parameters:
  • inputs (string) – 9 ch station name

  • year (integer) – full year

  • month (integer) – month or day of year if day set to 0

  • day (integer) – day of the month

  • stream (str) – R or S

  • dec_rate (integer) – decimation rate in seconds

Returns:

  • file_name24 (str) – name of merged rinex file

  • fexist (boolean) – whether file exists

gnssrefl.highrate.variableArchives(station, year, doy, cyyyy, cyy, cdoy, chh, cmm)

creates rinex3 compliant file names and finds executables needed to manipulate those files

Parameters:
  • station (str) – 9 ch station name

  • year (int) – full year

  • doy (int) – day of year

  • cyyyy (str) – 4 ch year

  • cyy (str) – two ch year

  • cdoy (str) – 3 ch day of year

  • chh (str) – 2 ch hour

  • cmm (str) – 2 ch minutes

Returns:

  • file_name (str) – first filename to look for

  • crnx_name (str) – first hatanaka name

  • file_name2 (str) – second filename to look for

  • crnx_name2 (str) – second hatanaka compressed name

  • exe1 (str) – uncompression executable to use for file_name

  • exe2 (str) – uncompression executable to use for file_name2