AI Assistant
Notifications
Clear all

teqc - Subdivide Input File Command

15 Posts
7 Users
0 Reactions
1,619 Views
JBrinkworth
(@jbrinkworth)
Posts: 195
Free
Topic starter
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Does anyone know the teqc command and/or steps to trim, say an hourlong observation to five, 20 minute observations? Presumably, the observation is taking place on the same day.

It is my understanding that -tbin subdivides an input file. If I use -tbin, how do I define the parameters? Perhaps -tbin is not the best way?

I have not found this in the tutorial...yet.

Thanks.


 
Posted : January 7, 2015 8:50 am
Alan Chyko
(@alan-chyko)
Posts: 159
Free
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

I am by no means a TEQC master, so I don't know of a more automated way to do it. I use the following:

teqc -st yymmddhhmmss -e yymmddhhmmss filename.15o>fileout1.15o
This creates a new "fileout" in a specific time window from inside the original file.

Hope that helps!


 
Posted : January 7, 2015 9:34 am
Goddsc
(@goddsc)
Posts: 87
Free
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Use this - very easy to do:

http://teqc.silkwerks.com/


 
Posted : January 7, 2015 9:45 am
JBrinkworth
(@jbrinkworth)
Posts: 195
Free
Topic starter
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Thanks.

Just to clarify -
yymmddhhmmss is equivalent to this section here:

14 11 28 15 53 0.0000000 0 9G02G05G06G09G10G12G13G25G29
20782565.820 7 397707.672 7 302870.79348 20782563.52348
20620956.648 7 -1771554.398 7 -1362086.25849 20620957.06649
22935481.742 5 2481658.480 5 1917604.51647 22935487.55547
24291914.711 5 833605.535 5 642555.13346 24291923.29746
21262682.469 6 2219318.992 6 1703937.39148 21262683.45348
21878911.391 7 2092186.738 7 1617139.75448 21878911.82048
23775880.172 6 -2907602.527 6 -2249974.13347 23775883.97747
22239331.023 7 -406269.906 7 -314867.31648 22239334.02748
23599645.039 6 -3145425.266 6 -2400339.23047 23599648.60247


 
Posted : January 7, 2015 9:58 am
JBrinkworth
(@jbrinkworth)
Posts: 195
Free
Topic starter
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Thanks - I just downloaded it. With my limited experience in DOS, this may be the better option.


 
Posted : January 7, 2015 10:00 am

Goddsc
(@goddsc)
Posts: 87
Free
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Having used it, I am confident it will be. It automates the process almost entirely.


 
Posted : January 7, 2015 10:08 am
Dan Steely
(@dan-steely)
Posts: 53
Free
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

teqc +obs + +nav nav.nav -tbin (time) (zpoint) (filename to convert)
enter time slices under (time)
if you enter 10 for time, and have a 60 min session, 6 files will be created.

zpoint is the point name.


 
Posted : January 7, 2015 10:30 am
Kent McMillan
(@kent-mcmillan)
Posts: 11416
Free
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

> Does anyone know the teqc command and/or steps to trim, say an hourlong observation to five, 20 minute observations?

To cut a RINEX obs file into segments use the tbin parameter. Syntax:

teqc -tbin 20m inputfilename.15o

20m is for 20-minute segments
1h would be for one-hour segments.


 
Posted : January 7, 2015 12:04 pm
Williwaw
(@williwaw)
Posts: 3649
Member P&R, Founder
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

One cool thing Paul in PA pointed out to me earlier, when you run a rinex file through the Silkwerks GUI, one of the output files is .bat file that reports all of the commands and paths used in Teqc on the command line so you can see the commands and syntax Teqc used to do that particular process. I couldn't find how to do this in the tutorials either but was able to figure it out by reading the bat files generated by Teqc_Editor.


Just because I'm paranoid, doesn't mean they aren't out to get me.

 
Posted : January 7, 2015 1:43 pm
JBrinkworth
(@jbrinkworth)
Posts: 195
Free
Topic starter
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

:good: :good:


 
Posted : January 7, 2015 2:14 pm

JBrinkworth
(@jbrinkworth)
Posts: 195
Free
Topic starter
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Thanks.

I wonder if the code you provided yields the same results as Dan's code. It should, right?

If I can find the time I will do this and report back. It will be -10 wind chill here for the next couple days. The office is calling me.


 
Posted : January 7, 2015 2:18 pm
Kent McMillan
(@kent-mcmillan)
Posts: 11416
Free
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

> I wonder if the code you provided yields the same results as Dan's code. It should, right?

The command syntax that Dan posted is for cutting up both obs and nav files. I was assuming that you wouldn't have any need for shorter nav files and were only wanting to operate on the obs file to get separate solutions either via OPUS-RS or from a differential solution from a base for which you had obs and nav files covering all of the session to be cut into 20-minute segments.


 
Posted : January 7, 2015 3:44 pm
Steve Corley
(@steve-corley)
Posts: 790
Free
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

I have been fooling with the command line TEQC a little lately and found this tutorial. http://www.unavco.org/software/data-processing/teqc/doc/UNAVCO_Teqc_Tutorial.pdf I use the GUI TEQC a lot but have found that the command line version can save some time. I have LARGE RRINEX files that cover multiple week observations that I want to subdivide into 24 hour files. I wrote a batch file that does it quite nicely with the %1 and %2 variables Another good source of information is the OPUS X90 web page. Mark Silver posted instructions there with detailed instructions on how to split files and thin them to a 30 second Epoch interval.


 
Posted : January 7, 2015 7:43 pm
Steve Corley
(@steve-corley)
Posts: 790
Free
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

This web page deals with really long observation files but some of the same techniques can be used to split shorter files into shorter files. http://x90gps.com/out/ApplicatonNotes/X90-OPUS-DealingWithGIANTFiles.pdf


 
Posted : January 7, 2015 9:22 pm
JBrinkworth
(@jbrinkworth)
Posts: 195
Free
Topic starter
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

You are correct in your assumption. Thanks for the clarification.


 
Posted : January 8, 2015 7:19 am