Skip to content

Commit

Permalink
add kwargs back in on geodataframe read data
Browse files Browse the repository at this point in the history
  • Loading branch information
savente93 committed Aug 21, 2023
1 parent 7910777 commit 37861b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hydromt/data_adapter/geodataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ def get_data(
buffer=0,
logger=logger,
variables=None,
# **kwargs, # this is not used, for testing only
):
"""Return a clipped and unified GeoDataFrame (vector).
Expand All @@ -222,7 +221,7 @@ def get_data(
varialbes, clip_str, geom, predicate, kwargs = self._parse_args(
variables, geom, bbox, buffer, predicate
)
gdf = self._load_data(clip_str, geom, predicate)
gdf = self._load_data(clip_str, geom, predicate, **kwargs)
gdf = self.slice_data(gdf, variables, geom, predicate)
gdf = self._uniformize_data(gdf)

Expand Down

0 comments on commit 37861b9

Please sign in to comment.