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
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
?ÿ
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:
@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
Thank you very much, Please did you use the final extension (*.d) in your work?
since they eliminated the extension (*.o).
@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
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.
@geeoddmike Thank you again sir for this explanation... it's very helpful