Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jldz9 committed Jan 20, 2025
1 parent 489d347 commit 09dcdb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ttemtoolbox/core/process_ttem.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def to_shp(self, output_filepath: str | pathlib.PurePath):
"""
ttem_gdf = gpd.GeoDataFrame(self.ttem_summary,
geometry=gpd.points_from_xy(self.summary['X'], self.summary['Y']),
geometry=gpd.points_from_xy(self.ttem_summary['X'], self.ttem_summary['Y']),
crs=self.crs)
if Path(output_filepath).suffix.lower() == '.shp':
ttem_gdf.to_file(output_filepath, driver='ESRI Shapefile')
Expand Down

0 comments on commit 09dcdb1

Please sign in to comment.