The rbc.prep.gen_assignments_table function merges the drain-table.csv and the gauge_table.csv files by their model_id_col into a new file called assign_table. For some reason after the merge, the downstream_model_id column is not included in the new assign_table file. I tried merging the drain-table.csv and gauge_table.csv files for the Dominican Republic and I ran into this problem. Josh said he received a similar error. I realized the column was missing when I ran the rbc.assign.propagation(assign-table) function and it gave me an error saying the downstream_model_id column didn't exist. Attached are the two files I tried to merge.
drain_table.csvgauge_table.csv
The rbc.prep.gen_assignments_table function merges the drain-table.csv and the gauge_table.csv files by their model_id_col into a new file called assign_table. For some reason after the merge, the downstream_model_id column is not included in the new assign_table file. I tried merging the drain-table.csv and gauge_table.csv files for the Dominican Republic and I ran into this problem. Josh said he received a similar error. I realized the column was missing when I ran the rbc.assign.propagation(assign-table) function and it gave me an error saying the downstream_model_id column didn't exist. Attached are the two files I tried to merge. drain_table.csv gauge_table.csv