Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions gnss_lib_py/parsers/rinex_nav.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def postprocess(self):
self['gnss_id'] = np.asarray(gnss_id)
self['sv_id'] = np.asarray(gnss_nums, dtype=int)

def _get_ephemeris_dataframe(self, rinex_path, constellations=None):
def _get_ephemeris_dataframe(self, rinex_path, constellations=None, fast=True):
"""Load/download ephemeris files and process into DataFrame

Parameters
Expand All @@ -200,10 +200,10 @@ def _get_ephemeris_dataframe(self, rinex_path, constellations=None):
if constellations is not None:
data = gr.load(rinex_path,
use=constellations,
verbose=self.verbose).to_dataframe()
verbose=self.verbose, fast=fast).to_dataframe()
else:
data = gr.load(rinex_path,
verbose=self.verbose).to_dataframe()
verbose=self.verbose, fast=fast).to_dataframe()
data.dropna(how='all', inplace=True)
data.reset_index(inplace=True)
data_header = gr.rinexheader(rinex_path)
Expand Down
4 changes: 2 additions & 2 deletions gnss_lib_py/parsers/rinex_obs.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class RinexObs(NavData):


"""
def __init__(self, input_path):
def __init__(self, input_path, fast=True):
"""Loading Rinex observation files into a NavData based class.

Should input path to `.yyo` file.
Expand All @@ -45,7 +45,7 @@ def __init__(self, input_path):

"""

obs_file = gr.load(input_path).to_dataframe()
obs_file = gr.load(input_path, fast=fast).to_dataframe()
obs_header = gr.rinexheader(input_path)
obs_measure_types = obs_header['fields']
rx_bands = []
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ executing==2.2.0 ; python_version >= "3.9" and python_version < "3.13"
fastjsonschema==2.21.1 ; python_version >= "3.9" and python_version < "3.13"
fonttools==4.57.0 ; python_version >= "3.9" and python_version < "3.13"
fqdn==1.5.1 ; python_version >= "3.9" and python_version < "3.13"
georinex==1.16.1 ; python_version >= "3.9" and python_version < "3.13"
#georinex==1.16.1 ; python_version >= "3.9" and python_version < "3.13"
h11==0.14.0 ; python_version >= "3.9" and python_version < "3.13"
hatanaka==2.8.1 ; python_version >= "3.9" and python_version < "3.13"
httpcore==1.0.7 ; python_version >= "3.9" and python_version < "3.13"
Expand Down