Skip to content

Commit

Permalink
fixed additional bug in merging ancillary fields
Browse files Browse the repository at this point in the history
  • Loading branch information
jpswinski committed Dec 8, 2022
1 parent 5c327aa commit 0f5dcae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sliderule/icesat2.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ def atl06p(parm, asset=DEFAULT_ASSET, version=DEFAULT_ICESAT2_SDP_VERSION, callb
tstart_merge = time.perf_counter()
for field in field_dictionary:
df = geopandas.pd.DataFrame(field_dictionary[field])
gdf = geopandas.pd.merge(gdf, df, on='extent_id', how='inner').set_axis(gdf.index)
gdf = geopandas.pd.merge(gdf, df, on='extent_id', how='left').set_axis(gdf.index)
profiles["merge"] = time.perf_counter() - tstart_merge

# Delete Extent ID Column
Expand Down

0 comments on commit 0f5dcae

Please sign in to comment.