Skip to content

Commit

Permalink
update documentation for rinex2snr and nmea2snr
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinemlarson committed Nov 18, 2023
1 parent 97d397e commit 81d8b00
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
7 changes: 5 additions & 2 deletions gnssrefl/nmea2snr_cl.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ def main():
"""
main script for the nmea2snr conversion code
Looks for NMEA files in $REFL_CODE/nmea/ssss/2023 for station ssss and year 2023
This code looks for NMEA files in $REFL_CODE/nmea/ssss/2023 for station ssss and year 2023
or $REFL_CODE/nmea/SSSS/2023 for station SSSS. Personally I prefer lowercase station
names, but I believe the code allows you to do either.
Files are named: SSSS1520.23.A or ssss1520.23.A
This directory structure was ONLY created to accommodate certain NMEA file users. RINEX file
users should use $REFL_CODE/YYYY/rinex/ssss
NMEA Files should be named: SSSS1520.23.A or ssss1520.23.A
day of year is 152 and year is 2023 in this example
Expand Down
21 changes: 16 additions & 5 deletions gnssrefl/rinex2snr_cl.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,21 @@ def rinex2snr(station: str, year: int, doy: int, snr: int = 66, orb: str = None,
For the nolook option :
If you have the RINEX 2.11 file), the file was originally required to be normal RINEX (ends in o) or
gzipped normal RINEX. It can be in the local directory or in the $REFL_CODE/YYYY/rinex directory for your station. It now
allows RINEX 2.11 files that are Hatanaka compressed, Hatanaka compressed + unix compressed, for
gzipped normal RINEX. It can be in the local directory
which is where you are running the code
or
$REFL_CODE/YYYY/rinex/ssss
where ssss is the lowercase directory name for your station.
nolook now allows RINEX 2.11 files that are Hatanaka compressed, Hatanaka compressed + unix compressed, for
the local directory. It also allows Hatanaka compressed in the REFL_CODE directory.
Beyond that, you can try the -mk T option which searches other places.
Beyond that, you can try the -mk T option which searches other places, i.e. $REFL_CODE/rinex/ etc. I do not recommend
that you use this option, but it is there.
For RINEX 3 files, I believe it checks for crx.gz, rnx, or rnx.gz endings in the local directory. It does NOT
check the $REFL_CODE/YYYY/rinex directory. If someone would like to add that capability, that would be great.
Expand All @@ -91,8 +102,8 @@ def rinex2snr(station: str, year: int, doy: int, snr: int = 66, orb: str = None,
files in different directories depending on sample rate. srate is for RINEX 3 files only because RINEX 3
has the sample rate on the filename itself (not just the directory).
What is the stream parameter? This is for RINEX 3 only. File types are either S or R. I believe S stands for
streamed.
What is the stream parameter? It is a naming convention that is only used by RINEX 3 people. The allowed
file types are S or R. I believe S stands for streamed.
RINEX3 30 second archives supported
bev, bkg-euref, bkg-igs, cddis, epn, ga, gfz, nrcan, sonel
Expand Down

0 comments on commit 81d8b00

Please sign in to comment.