r5 - 27 Nov 2007 - 17:48:55 - RickMachYou are here: TWiki >  Documentation Web  >  AskedQuestions > GettingIODEfromRinex

Question

Hello!

This is probably a simple question, but I couldn't figure out how to do it through looking at the documentation. How do you grab just the IODE from a Rinex file? Like, I've been using ephreader and ephstore to calculate the distance using a rinex file, but let's say I have a rinex nav file, and of course for each satellite there is the IODE. Is it possible to read in the rinex file, specify the satellite, and grab the IODE from that?

Thank you!

-Thomas

-- ThomasW - 11 Oct 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

If you load the RINEX file into the stores in the GPSTk and then go through the ephemerides, the EngEphemeris class has a method getIODC. This function returns the IODC for the given PRN. You can find the documentation at: http://www.gpstk.org/doxygen/classgpstk_1_1EngEphemeris.html

-- RickMach - 11 Oct 2007

Thanks for the response!

Okay so I looked through that, I originally thought that might have something to do with it, but I noticed it only took in subframes. Later I realized there was a new class (that I didn't get from the latest sv grab) called GPSEphemerisStore?, that seems like it would work. Is that the proper one to use to read in the RINEX file (and then call FindEphemeris?, which returns the EngEphemeris? object)?

I couldn't find similar functionality in BCEphemerisStore?, RinexEphemerisStore?, or EphemerisStore, but maybe I just completely overlooked something.

Thank you very much for the help!

-Thomas

-- ThomasW - 12 Oct 2007

 
Change status to:

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r5 < r4 < r3 < r2 < r1 | More topic actions
 
WEBLOGOALT
This site is powered by the TWiki collaboration platformCopyright amp;© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback