Skip to content

Commit

Permalink
Merge pull request #313 from blychs/hotfix/csv_var_with_same_name_as_mod
Browse files Browse the repository at this point in the history
Bugfix: suffix when merging mobile_or_aircraft
  • Loading branch information
zmoon authored Nov 21, 2024
2 parents ab456e1 + c4de5fa commit 0e613bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion melodies_monet/util/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def mobile_and_ground_pair(ds_model,df_obs, var_name_list):

final_df_model = merge_asof(df_obs, df_model,
by=['latitude', 'longitude'],
on='time', direction='nearest')
on='time', direction='nearest', suffixes=('', '_new'))

return final_df_model

Expand Down

0 comments on commit 0e613bf

Please sign in to comment.