Skip to content

file merging

Guillaume W. Bres edited this page May 16, 2024 · 6 revisions

File Merging

RINEXCLI supports a -m flag to let you "merge" one file into the other.

When merging one file, you should include the "reference" file with -f and the one to be merged with -m.
The resulting file (concatenated) is the generated in the Workspace.
You can use -o to redefine its name directly.

Example: merge MOJN00DNK_R_2020177 into ESBC00DNK_R_2020177

rinex-cli \
   -f test_resources/CRNX/V3/ESBC00DNK_R_20201770000_01D_30S_MO.crx.gz \ 
   -m test_resources/CRNX/V3/MOJN00DNK_R_20201770000_01D_30S_MO.crx.gz

[INFO rinex_cli] "WORKSPACE/ESBC00DNK_R_20201770000_01D_30S_MO/merged.rnx" has been generated

As indicated, the resulting file is named merged.rnx.

If you want to name the output file diffrently, you can use -o:

rinex-cli \
   -f test_resources/CRNX/V3/ESBC00DNK_R_20201770000_01D_30S_MO.crx.gz \ 
   -m test_resources/CRNX/V3/MOJN00DNK_R_20201770000_01D_30S_MO.crx.gz \
   -o test.rnx.crx

[INFO rinex_cli] "WORKSPACE/ESBC00DNK_R_20201770000_01D_30S_MO/test.rnx.crx" has been generated

Next step

Read about other types of file operations we support

Clone this wiki locally