Skip to content

Processing NAV file without GLONASS cause error #204

@plutonheaven

Description

@plutonheaven

Function convert_nav_dataset_to_dataframe of src/prx/rinex_nav/evaluate.py assumes that GLONASS is present in RNX NAV file.

When it is not the case, the following line causes an error:

df["frequency_slot"] = df.FreqNum.where(df.sv.str[0] == "R", 1).astype(int)

due to the absence of FreqNum in the parsed NAV file.

This happened when I tried to process TLSE00FRA_R_20220010000_01D_30S_MO.rnx.gz. The file BRDC00WRD_R_20213650000_01D_MN.rnx was downloaded and produced an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions