Describe the bug
Attempting to load Rinex OBS file results in crash
To Reproduce
- 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
- Install gnss_lib_py
(gnss_lib_py) (base) sjbespa@mbp-et ~ % pip install gnss_lib_py
- 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")
- 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
Describe the bug
Attempting to load Rinex OBS file results in crash
To Reproduce
(base) sjbespa@mbp-et envs % python -m venv ./gnss_lib_py
(base) sjbespa@mbp-et ~ % source /opt/miniforge3/envs/gnss_lib_py/bin/activate
(gnss_lib_py) (base) sjbespa@mbp-et ~ % pip install gnss_lib_py
(gnss_lib_py) (base) sjbespa@mbp-et ~ % python
[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):
Additional context
pie1015.zip