r1 - 11 Jan 2007 - 14:36:13 - RickMachYou are here: TWiki >  Development Web  >  BasicForm > BrainstormingIdea > MethodToUpdateRINEXObservationCounts

Method for updating observation counts in RINEX obs file header

A common need for those writing RINEX observations in post processing is to summarize the number of observations in the header. There are three optional records in the header designed to hold such information, with the following labels:

# / TYPES OF OBSERV
PRN / # OF OBS
# OF SATELLITES
This feature would provide a simple call to enable the RINEX obs stream to provide the optional records, and to populate the counts.

A design recommendation. Let the user set a flag that denotes the optional records will be recorded. Save file position where the header is written. Write the header with bogus counts (zeros, say). Then in the streaming output operator, keep track of the counts if the flag is set. Then when the stream is closed (read: destructor() ) then before closing the output file, reseek to the header and dump the updated header ().

-- Contributors: BenHarris - 1 May 2005

Discussion

 
BasicForm
TopicClassification BrainstormingIdea
TopicSummary Method for updating observation counts in obs file header
RelatedTopics

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Powered by TWiki
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