gnssrefl.download_rinex module

downloads RINEX files

gnssrefl.download_rinex.download_rinex(station: str, year: int, month: int, day: int, rate: str = 'low', archive: str = None, version: int = 2, strip: bool = False, doy_end: int = None, stream: str = 'R', samplerate: int = 30, debug: bool = False, dec: int = 1, save_crx: bool = False, bkg: str = None)

Command line interface for downloading RINEX files from global archives. Required inputs are station, year, month, and day. If you want to use day of year, call it as station, year, doy, 0.

Example:

download_rinex mfle 2015 1 1

Using day of year instead of month/day:

download_rinex mfle 2015 52 0

RINEX 2.11 Files

If you want to specify an archive:

download_rinex p101 2015 52 0 -archive sopac

RINEX 3 instructions need to be added.

Parameters:
  • station (str) – 4 or 9 character ID of the station.

  • year (int) – Year

  • month (int) – month

  • day (int) – day

  • rate (str, optional) –

    sample rate. value options:

    low (default) : standard rate data

    high : high rate data

  • archive

    Select which archive to get the files from. Default is redirected to all, as defined below. Value options:

    cddis : (NASA’s Archive of Space Geodesy Data)

versionint, optional

Version of Rinex file. Default is 2. Value options 2 or 3

stripbool, optional

Whether to strip only SNR observables. Uses teqc or gfzrnx. Default is False.

doy_endint, optional

End day of year to be downloaded. Default is None. (meaning only a single day using the doy parameter)

streamstr, optional

Whether to get stream ‘S’ defined filenames. Default is ‘R’.

samplerateint, optional

Sample rate in seconds for RINEX3 only. Default is 30.

debugbool, optional

provides screen output helpful for debugging Default is False

decint, optional

some highrate file downloads allow decimation. Default is 1 sec, i.e. no decimation

save_crxbool, option

saves crx version for Rinex3 downloads. Otherwise they are deleted.

bkgstr, optional

tells you which directory the files live in, EUREF or IGS Default is EUREF.

gnssrefl.download_rinex.main()
gnssrefl.download_rinex.parse_arguments()