Skip to content

Crash loading rinex obs file into gnss_lib_py 1.04 #182

Description

@protogeezer

Describe the bug
Attempting to load Rinex OBS file results in crash

To Reproduce

  1. create and activate a new VENV:
    (base) sjbespa@mbp-et envs % python -m venv ./gnss_lib_py
    (base) sjbespa@mbp-et ~ % source /opt/miniforge3/envs/gnss_lib_py/bin/activate
  2. Install gnss_lib_py
    (gnss_lib_py) (base) sjbespa@mbp-et ~ % pip install gnss_lib_py
  3. load an obs file
    (gnss_lib_py) (base) sjbespa@mbp-et ~ % python

import gnss_lib_py as glp
rinex_obs = glp.RinexObs("/Users/sjbespa/Desktop/pie1015/pie10150.26o")

  1. Result:
    [numerous FutureWarnings deleted]
    numpy.exceptions.DTypePromotionError: The DType <class 'numpy.dtypes.Float64DType'> could not be promoted by <class 'numpy.dtypes.DateTime64DType'>. This means that no common DType exists for the given inputs. For example they cannot be stored in a single array unless the dtype is object. The full list of DTypes is: (<class 'numpy.dtypes.Float64DType'>, <class 'numpy.dtypes.DateTime64DType'>)

Expected behavior
obs file data loaded into rinex_obs

Screenshots
If applicable, add screenshots to help explain your problem.

System Information (please complete the following information):

  • OS: MacOS and Kubuntu
  • OS Version: 26.3 and 25.10
  • Python Version: 3.12

Additional context

glp.version
'1.0.4'

pie1015.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions