Skip to content

an error encounter in "bias = data[:,sv_of_interest,'L1','data']*(3.0E8/f1)-data[:,sv_of_interest,'C1','data']" #3

@weisongwen

Description

@weisongwen

Hi, @gregstarr Thanks for your great work on this package,

I encounder an error when I run as the tutorial here (https://github.com/gregstarr/PyGPS/blob/master/Examples/ReadRinex%20Demo.ipynb).

The error can be seen as following:
_Traceback (most recent call last):
File "readRinexObs_wws.py", line 80, in
bias = data[:,sv_of_interest,'L1','data']*(3.0E8/f1)-data[:,sv_of_interest,'C1','data']
File "/usr/lib/python2.7/dist-packages/pandas/core/panel.py", line 254, in getitem
return super(Panel, self).getitem(key)
File "/usr/lib/python2.7/dist-packages/pandas/core/generic.py", line 999, in getitem
return self._get_item_cache(item)
File "/usr/lib/python2.7/dist-packages/pandas/core/generic.py", line 1003, in get_item_cache
res = cache.get(item)
TypeError: unhashable type

it seems that there is something wrong with this sentence:
bias = data[:,sv_of_interest,'L1','data']*(3.0E8/f1)-data[:,sv_of_interest,'C1','data']

Apart from this, if i read the infromation into data with this sentence:
data = rinexobs("data/wws.15o")
it means that the pseudorange is contained in "data"? how can i get the pseudorange of each satellites from "data"?

The type of "data" is pandas.core.panelnd.Panel4D,

best regards
welson

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