@@ -326,6 +326,8 @@ int main(int argc, char** argv)
326326 std::string baseline_shortname = " AB" ;
327327 std::string ref_station = " A" ;
328328 std::string rem_station = " B" ;
329+ std::string ref_station_code = " Aa" ;
330+ std::string rem_station_code = " Bb" ;
329331 std::string ref_station_name = " DUMMY_A" ;
330332 std::string rem_station_name = " DUMMY_B" ;
331333 std::string root_code = " abcdef" ;
@@ -563,17 +565,17 @@ int main(int argc, char** argv)
563565 // =========================================================
564566
565567
566- std::cout<<" baseline_name" <<baseline_name<<std::endl;
567- std::cout<<" ref station" <<ref_station<<std::endl;
568- std::cout<<" rem station" <<rem_station<<std::endl;
568+ std::cout<<" baseline_name: " <<baseline_name<<std::endl;
569+ std::cout<<" ref station: " <<ref_station<<std::endl;
570+ std::cout<<" rem station: " <<rem_station<<std::endl;
569571
570572 vis.Insert (std::string (" name" ), std::string (" visibilities" ));
571573 vis.Insert (std::string (" baseline" ), baseline_name);
572574 vis.Insert (std::string (" baseline_shortname" ), baseline_shortname);
573- vis.Insert (std::string (" reference_station" ), ref_station );
574- vis.Insert (std::string (" remote_station" ), rem_station );
575- vis.Insert (std::string (" reference_station_name" ), ref_station );
576- vis.Insert (std::string (" remote_station_name" ), rem_station );
575+ vis.Insert (std::string (" reference_station" ), ref_station_code );
576+ vis.Insert (std::string (" remote_station" ), rem_station_code );
577+ vis.Insert (std::string (" reference_station_name" ), ref_station_name );
578+ vis.Insert (std::string (" remote_station_name" ), rem_station_name );
577579 vis.Insert (std::string (" reference_station_mk4id" ), ref_station);
578580 vis.Insert (std::string (" remote_station_mk4id" ), rem_station);
579581 vis.Insert (std::string (" correlation_date" ), start_time);
@@ -622,10 +624,10 @@ int main(int argc, char** argv)
622624 wt.Insert (std::string (" name" ), std::string (" weights" ));
623625 wt.Insert (std::string (" baseline" ), baseline_name);
624626 wt.Insert (std::string (" baseline_shortname" ), baseline_shortname);
625- wt.Insert (std::string (" reference_station" ), ref_station );
626- wt.Insert (std::string (" remote_station" ), rem_station );
627- wt.Insert (std::string (" reference_station_name" ), ref_station );
628- wt.Insert (std::string (" remote_station_name" ), rem_station );
627+ wt.Insert (std::string (" reference_station" ), ref_station_code );
628+ wt.Insert (std::string (" remote_station" ), rem_station_code );
629+ wt.Insert (std::string (" reference_station_name" ), ref_station_name );
630+ wt.Insert (std::string (" remote_station_name" ), rem_station_name );
629631 wt.Insert (std::string (" reference_station_mk4id" ), ref_station);
630632 wt.Insert (std::string (" remote_station_mk4id" ), rem_station);
631633 wt.Insert (std::string (" correlation_date" ), std::string (" 2025-01-01T00:00:00" ));
@@ -651,11 +653,11 @@ int main(int argc, char** argv)
651653 tags.Insert (std::string (" root_code" ), root_code);
652654 tags.Insert (std::string (" baseline" ), baseline_name);
653655 tags.Insert (std::string (" baseline_shortname" ), baseline_shortname);
654- tags.Insert (std::string (" reference_station" ), ref_station );
655- tags.Insert (std::string (" remote_station" ), rem_station );
656+ tags.Insert (std::string (" reference_station" ), ref_station_code );
657+ tags.Insert (std::string (" remote_station" ), rem_station_code );
656658 tags.Insert (std::string (" reference_station_name" ), ref_station_name);
657- tags.Insert (std::string (" remote_station_name" ), rem_station );
658- tags.Insert (std::string (" reference_station_mk4id" ), ref_station_name );
659+ tags.Insert (std::string (" remote_station_name" ), rem_station_name );
660+ tags.Insert (std::string (" reference_station_mk4id" ), ref_station );
659661 tags.Insert (std::string (" remote_station_mk4id" ), rem_station);
660662 tags.Insert (std::string (" correlation_date" ), std::string (" 2025-01-01T00:00:00" ));
661663 tags.Insert (std::string (" origin" ), std::string (" simulated" ));
@@ -744,6 +746,8 @@ int main(int argc, char** argv)
744746 std::string vex_string = GetVexString ();
745747 mho_json vex_obj = mho_json::parse (vex_string);
746748
749+
750+
747751 // write out the 'ovex'/'vex' json object as a json file
748752 std::string root_file = " ./dummy." ;
749753 root_file += root_code + " ." + " root.json" ;
0 commit comments