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 No such template def TMPL:DEF{PROMPT:supportquery}

Topic revision: r6 - 12 Jun 2015, UnknownUser
 

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