Skip to content

Commit

Permalink
Bugfix in set_1d_forcing (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
kvanasselt authored Feb 29, 2024
1 parent e7811bb commit 708c16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydromt_sfincs/sfincs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1750,7 +1750,7 @@ def set_forcing_1d(
gdf_locs = gdf_locs.set_index(col)
self.logger.info(f"Setting gdf_locs index to {col}")
break
if not (gdf_locs.index) == set(df_ts.columns):
if not set(gdf_locs.index) == set(df_ts.columns):
gdf_locs = gdf_locs.set_index(df_ts.columns)
self.logger.info(
f"No matching index column found in gdf_locs; assuming the order is correct"
Expand Down

0 comments on commit 708c16a

Please sign in to comment.