AI Assistant
Rinex conversion : ...
 
Notifications
Clear all

Rinex conversion : (*.gz) -----> (*.Z)

9 Posts
3 Users
0 Reactions
2,044 Views
geodesist
(@geodesist)
Posts: 49
Member
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
 

Dear colleagues

Please, how to convert the new Rinex format from (*.gz) to (*.Z)

ex: ajac0600.21d.gz?ÿ ?ÿ ?ÿ ?ÿ ?ÿ ?ÿ ?ÿto?ÿ ?ÿ ?ÿ ?ÿ ?ÿ ajac0600.21d.Z

Thank you for your assistance


 
Posted : February 9, 2022 12:42 pm
john-hamilton
(@john-hamilton)
Posts: 3438
Member
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
 

Both are compressed formats, I would think you have to uncompress from *.gz and then recompress to *.Z.

I believe 7-Zip will do both conversions.?ÿ

https://www.7-zip.org/download.html

?ÿ


 
Posted : February 9, 2022 12:54 pm
geeoddmike
(@geeoddmike)
Posts: 1556
Member
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
 

The file names you list are compressed using Hatanaka compression. The raw observation data is converted to RINEX compressed using Hatanaka then compressed using gzip or Z. Files undergoing this process have a ƒ??dƒ? at the last character (not the usual ƒ??oƒ?).

For more detail see:

http://sopac.ucsd.edu/hatanaka.shtml

?ÿ

BTW if you have a Hatanaka compressed file you must run ƒ??crx2rnxƒ? to obtain an uncompressed file.

US users of NGS CORS data might find this of interest:


 
Posted : February 9, 2022 5:38 pm
geodesist
(@geodesist)
Posts: 49
Member
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
 

@geeoddmike Thank you very much for your help.

Please, In the routines?ÿI developed (Matlab code) to estimate the ionospheric TEC, I usually use the extension (*.o), but you just told me that the final extension will be (*.d). So, should I redo my programs?

Cordially


 
Posted : February 10, 2022 4:01 am
geodesist
(@geodesist)
Posts: 49
Member
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
 

@john-hamilton?ÿ

Thank you very much, Please did you use the final extension (*.d) in your work?

since they eliminated the extension (*.o).


 
Posted : February 10, 2022 4:05 am

john-hamilton
(@john-hamilton)
Posts: 3438
Member
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
 

@geodesist As GeeoddMike mentioned, the files are hatanaka compressed rinex. Rinex is a plain text ascii file. I don't know of any programs that use the hatanaka compressed format, but they may exist. I was only answering your original question, how to get from .gz to .Z


 
Posted : February 10, 2022 8:05 am
geodesist
(@geodesist)
Posts: 49
Member
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
 

@john-hamilton thank you


 
Posted : February 10, 2022 1:17 pm
geeoddmike
(@geeoddmike)
Posts: 1556
Member
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
 

@geodesist?ÿ

I hope you review the information at the SOPAC link in my original reply.

The file names you provided in your initial post:?ÿajac0600.21d.gz ?ÿand ajac0600.21d.Z are identifiable as Hatanaka compressed by the ƒ??dƒ? after the year in the first extension. The subsequent ƒ??Zƒ? or ƒ??gzƒ? indicate the type of file compression (i.e. Unix ƒ??compressƒ? and gzip).

The file names provide the following information:

ƒ??ajacƒ? is the site four-character identifier

ƒ?060ƒ? is the day-of-year

ƒ?0ƒ? is the session designator. This can be a letter or number.

ƒ?.21ƒ? is the year

ƒ?dƒ? indicates it a compressed RINEX file. This takes the plain text RINEX file and reduces it. See Yuki Hatanakaƒ??s paper here: https://www.gsi.go.jp/common/000045517.pdf

ƒ??Zƒ? a particular type of file compression and

ƒ??gzƒ? another type of file compression

To work with compressed files (e.g.ƒ?? *.21d.gzƒ? ) you run the appropriate decompression tool (gunzip) to obtain a compressed RINEX file. Then run ?ÿcrx2rnx to generate a standard RINEX file.

Compressed files are useful for reducing storage needs and allow faster file transfers. As Mr. Hamilton notes, the compressed files are generally not used directly.

If you want to change the type of compression used from .Z to .gz it is straightforward to do so. Tools like that linked in Mr. Hamiltonƒ??s message make it even easier.

If you want to work with files and exchange them with others, you need to insure everyone knows your file naming convention.

Be advised that some file extensions become associated with certain programs. Opening the file will call the program associated with it. As RINEX is plain text you can view it in a text editor.?ÿ

The SOPAC site page I linked in my first reply has good advice.

?ÿHaving gone on too long, I stop.


 
Posted : February 10, 2022 6:09 pm
geodesist
(@geodesist)
Posts: 49
Member
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
 

@geeoddmike Thank you again sir for this explanation... it's very helpful


 
Posted : February 12, 2022 7:19 am