New Discussion Forum Forum Categories

Catch Exception from Python
Posted on 10 Aug, 2018 by SergioBruni

| Dear All I have installed GPSTK v2.10 and I use it from python 2.7.12 Using readRinex3Obs function, I tried to catch exception but, when the content of filename is not correct, my python script ends printing following error message: "terminate called after throwing an instance of 'gpstk::Exception'"

After reading documentation I wrote following code:



header, data = gpstk.readRinex3Obs(filename)

except gpstk.exceptions.InvalidRequest:

print 'Could not process data.'


or ...



header, data = gpstk.readRinex3Obs(filename)

except gpstk.exceptions.InvalidRequest:

print 'Could not process data.'


The function that crashes is readHeader inside module, when it try to call: _gpstk.Rinex3ObsStream_readHeader(self)

Does anybody knows what I'm missing?


Sergio Bruni

| ( comments ) last update by SergioBruni 10 Aug 2018 - 15:12

Running GPSTk example codes on a IDE
Posted on 06 Feb, 2018 by RuchiraEkanayaka

| Dear all, I'm trying to develop a web-interface which has the ability to post-process in static, Kinematic and Precise point Positioning. I have built the executable files for examples and it works well. But my problem is how to run each examples' source code in an IDE like codeblocks or any in windows environment. When I try to built and run example1 source code in codeblocks it gives following error. fatal error: Exception.hpp: No such file or directory Even though I added correct path to the Exception.hpp in the source code.

Please mention any solution or suggestions to resolve this issue. | ( comments ) last update by PeterSpanik 11 May 2018 - 20:33

does example5 work fine in gpstk version 2.9
Posted on 04 Aug, 2017 by TrekLin

| example5 builds fine, but could not execute properly, the path and file names of the input arguments are all correrct, but the program complained "

Problem opening file bahr1620.04n Maybe it doesn't exist or you don't have proper read permissions.",

I verified that gpstk version 2.0 had no such issues. | ( comments ) last update by TrekLin 04 Aug 2017 - 05:57

Using gnssrinex for rinex3 obs files
Posted on 13 Jul, 2017 by GuillermoCentelles



I started my project using Rinex files version 2. Then I computed multipath through gnssrinex class, because I want separated arcs and avoid cycle slips (I think it is the easiest way to do it). My problem is that I want to develop the tool for Galileo and from now I need to use Rinex version 3, and gnssrinex does not accept rinex version 3. Any suggestion?

Thank you very much,


| ( comments ) last update by GuillermoCentelles 13 Jul 2017 - 09:36

Predicting Sattelite Positions - Wheresat
Posted on 28 Sep, 2016 by KasperGl

| Dear m8's

We are trying to create an NMEA Stream simulator that contains the "correct" predicted sattelite positions:

We are trying to use the wheresat tool for this purpose:

When using GPS Yuma almanacs from

W e can user wheresat for example:

wheresat -e yumafile.alm --pos="x y z" --start=""09/25/2016 00:00:00" --end="09/25/2016 23:59:00" --time="900" --prn="5"

this returns a listn and we can see when PRN 5 is in view and at what elevation it should be. -->Problem: It does not match reality at all! In real we see sats that should be invisible and oposit. (provided x y z Location is correct)

When using Rinex files from here:

wheresat -e brdc2710.16n --pos="x y z" --start=""09/25/2016 00:00:00" --end="09/25/2016 23:59:00" --time="900" --prn="5"

Wheresat crashes. Is the file corrupt or is there a problem with wheresat / ephreader?

So i am not sure to fllowing questios:

- what exact files do i have to use to predict Sattelite Positions for near future

- should it work with the Rinex Broadcast files?

- am I doing something wrong?

Id be happy for an advice! Regards and Thanks |

( comments ) last update by AdminRickMach 12 Apr 2017 - 19:22

- Catch Exception from Python
- Running GPSTk example codes on a IDE
- does example5 work fine in gpstk version 2.9
- Using gnssrinex for rinex3 obs files
- Precision of orbit prediction with SatOrbitPropaga
- GPSTk in Python
- Predicting Sattelite Positions - Wheresat
- ResCor not acknowledging -OF gpstk Ver. 1.2
- Problem using PRSolve with RINEX
- installing and building gpstk on ubuntu
older articles
Topic revision: r6 - 11 Dec 2009, RickMach

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback