Merge an updated COEs table (smaller) into the main table (bigger)
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. The complete data base is written to stdout.
Specify the file main_COElist.txt with the main crossover error data base.
Specify the file new_COElist.txt 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