x2sys_merge man page
x2sys_merge — Merge an updated COEs table (smaller) into the main table (bigger)
x2sys_merge -Amain_COElist.d -Mnew_COElist.d
Note: No space is allowed between the option flag and the associated arguments.
x2sys_merge will read two crossovers data base and output the contents of the main one updated with the COEs in the second one. The second file should only contain updated COEs relatively to the first one. That is, it MUST NOT contain any new two tracks intersections (This point is NOT checked in the code). This program is useful when, for any good reason like file editing NAV correction or whatever, one had to recompute only the COEs between the edited files and the rest of the database.
Specify the file main_COElist.d with the main crossover error data base.
Specify the file new_COElist.d with the newly computed crossover error data base.
To update the main COE_data.txt with the new COEs estimations saved in the smaller COE_fresh.txt, try
gmt x2sys_merge -ACOE_data.txt -MCOE_fresh.txt > COE_updated.txt
x2sys_binlist, x2sys_cross, x2sys_datalist, x2sys_get, x2sys_init, x2sys_list, x2sys_put, x2sys_report
2018, P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe