Activity Feed › Discussion Forums › Strictly Surveying › Split a obs file
-
Split a obs file
Posted by scotland on November 21, 2016 at 4:53 pmI need some help. I did some work in southern New Mexico. Collected some data on two different control points. All the data is in one file and I need to separate it out to individual files. Hoping someone that has more experience could do this for me. I’ve converted it to rinex. Tried to modify and send to OPUS and keep getting Opus abort errors. I’ve tinkered with teqc but I have windows and everything is done at the command prompt. Anyone available?
paul-in-pa replied 7 years, 8 months ago 9 Members · 22 Replies -
22 Replies
-
I’m not the Teqc guru some on here like Paul in Pa, but if you have Teqc loaded on your machine, you can download a Windows GUI at https://www.unavco.org/software/data-processing/teqc/teqc.html that will allow you to perform many of the program’s applications without having to use the command line prompts directly. I’d suggest breaking your file down into 15 minute obs files to try and isolate the two sets of observations and submit each 15 minute segment to OPUS RS separately. Easy-peasy. If you get stuck send them to me and I can take a crack at it.
Willy -
Williwaw, post: 400506, member: 7066 wrote: I’m not the Teqc guru some on here like Paul in Pa, but if you have Teqc loaded on your machine, you can download a Windows GUI at https://www.unavco.org/software/data-processing/teqc/teqc.html that will allow you to perform many of the program’s applications without having to use the command line prompts directly. I’d suggest breaking your file down into 15 minute obs files to try and isolate the two sets of observations and submit each 15 minute segment to OPUS RS separately. Easy-peasy. If you get stuck send them to me and I can take a crack at it.
Thanks Williwaw. I will try the Windows GUI. Sadly the two observations are 15 mins long. Well… one is under 15 mins by a few seconds. So I have two points. Let me try if not, hopefully someone will chime in. I will send to you to try also… if you have the time.
-
Take me all of 30 seconds. My email should be in my contact info. I’ll be around for a couple hours.
Willy -
Lee D, post: 400508, member: 7971 wrote: Is it a Trimble file?
I have a trimble file and I have the rinex file.
-
Williwaw, post: 400516, member: 7066 wrote: Take me all of 30 seconds. My email should be in my contact info. I’ll be around for a couple hours.
I don’t find an email address.
-
Scotland, post: 400519, member: 559 wrote: I have a trimble file and I have the rinex file.
You can send me the Trimble file if you like, I’ll see if I can do anything through TBC.
-
teqc will do it if you know the command line switches. But, Rinex is an ascii file, you can manually split it, just be sure to keep the header in both. I use ultraedit.
-
John Hamilton, post: 400539, member: 640 wrote: teqc will do it if you know the command line switches. But, Rinex is an ascii file, you can manually split it, just be sure to keep the header in both. I use ultraedit.
John hit it on the head (as usual).
Inasmuch as RINEX files are highly formatted ASCII files, you can do a lot of things with a good text editor (even NOTEPAD), BUT…you can really screw things up too. I prefer to just use NOTEPAD for most of my RINEX editing, but I have been doing it for decades (and I still screw it up from time to time).
Loyal
-
I’ve tried several times to split the file up and fail every time. I though TBC would do it, but I just have the basic (lowest) module.
Lee D, post: 400508, member: 7971 wrote: Is it a Trimble file?
sent you an email.
-
Loyal: you are right, I probably should not even mention that option. Although it is fairly easy to do if you have a general knowledge of files, etc. I find teqc extremely useful, but difficult to explain to people how to use it.
I know that Jim Garster of the USACE (or maybe it was Mark Huber) developed a windows front end for the program, I think it could be expanded a lot more (the windows front end, that is).
-
I guess notepad has come a long ways since I used to use it a LONG time ago. As I recall it was very Iimited in file size, etc. have been using ultraedit for probably 20 years now, it is very powerful and keeps being improved (I have a lifetime update). One thing I noticed recently that it does real nice is displaying xml files in a hierarchical tree format (Trimble job xml, for example)
One more comment: DO NOT use a word processor like word to edit a rinex file! Use a “text” editor that does not add anything extra to the file.
-
I was able to split it and process each file in TBC; I also got OPUS to take both files but I haven’t gotten a solution back for either of them.
-
Happy to report that OPUS successfully processed both files.
-
John Hamilton, post: 400550, member: 640 wrote: I guess notepad has come a long ways since I used to use it a LONG time ago. As I recall it was very Iimited in file size, etc. have been using ultraedit for probably 20 years now, it is very powerful and keeps being improved (I have a lifetime update). One thing I noticed recently that it does real nice is displaying xml files in a hierarchical tree format (Trimble job xml, for example)
One more comment: DO NOT use a word processor like word to edit a rinex file! Use a “text” editor that does not add anything extra to the file.
I used to use Ultra Edit; for the last couple years I’ve been using Notepad++.
-
Thanks to Lee and Williwaw… I got the file split and checked. I use Notepad++ too. Great little program. I guess I am missing the split point because I couldn’t get OPUS to accept. I have the files so I can look at it and get familiar with how to handle them. Best think is my solution gave me the information that I was seeking. Kudos to all the great help on this board and those who replied.
-
I’m retired now, so I haven’t used TEQC for several years, but when I did I put the command in a batch file, so it was easy to just edit the batch file and rerun if needed. I was just looking for a sample, but don’t see any on theis computer right now.
-
I also use a batch file. I typically end up with trimble T01 or T02 files. I have a program that will create a batch file with three entries for each .t02 or .t01 file, so I run the program from the command line, it creates a batch file in the directory where the files are, then I run the batch file from the command line.
here are the lines in the batch file (3 for each file):
runpkr00 -g -d 81103220.T01 (this converts the .T01 file to a .tgd file, which contains GPS and GLONASS)
runpkr00 -d 81103220.T01 (this converts the .T01 file to a .dat file, which only has GPS)
teqc.exe 81103220.tgd >81103220.16o (this converts the .tgd file to a rinex file, which has GLONASS and GPS) -
I have found the WinTEQC Editor tool to be much easier to use than TEQC alone. Thanks to Mark Huber at the USACOE for providing it.
-
John Hamilton, post: 400574, member: 640 wrote: I also use a batch file. I typically end up with trimble T01 or T02 files. I have a program that will create a batch file with three entries for each .t02 or .t01 file, so I run the program from the command line, it creates a batch file in the directory where the files are, then I run the batch file from the command line.
here are the lines in the batch file (3 for each file):
runpkr00 -g -d 81103220.T01 (this converts the .T01 file to a .tgd file, which contains GPS and GLONASS)
runpkr00 -d 81103220.T01 (this converts the .T01 file to a .dat file, which only has GPS)
teqc.exe 81103220.tgd >81103220.16o (this converts the .tgd file to a rinex file, which has GLONASS and GPS)Feel free to share any tips or tricks for parsing Rinex files using Notepad++. Like Loyal commented, I’ve managed to mangle my fair share and this is a subject I’m still much the student on. I usually don’t have to delve into it until I’ve managed to get myself in the predicament where I need to do surgery to try and salvage something useful from my data rather than making a return trip which isn’t always in the cards.
Willy
Log in to reply.