Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maawoo committed Aug 21, 2023
1 parent 159cac4 commit c99c4d5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gedixr/gedi.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ def extract_data(directory, gedi_product='L2B', only_full_power=True, filter_mon
# (5) Convert to GeoDataFrame and set 'Shot Number' as index
df['geometry'] = df.apply(lambda row: Point(row.longitude, row.latitude), axis=1)
df = df.drop(columns=['latitude', 'longitude'])
df = df.set_index('shot')
gdf = gp.GeoDataFrame(df)
gdf.crs = 'EPSG:4326'

Expand Down

0 comments on commit c99c4d5

Please sign in to comment.