Skip to content

Commit

Permalink
another pass
Browse files Browse the repository at this point in the history
  • Loading branch information
atmorling committed Aug 27, 2024
1 parent 9719b0b commit b87fddf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@
"metadata": {},
"outputs": [],
"source": [
"relocs = gdf.relocations.from_gdf(gdf)"
"relocs = gdf.relocations.from_gdf()"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"outputs": [],
"source": [
"gdf = gpd.GeoDataFrame(data, geometry=data[\"geometry\"].apply(lambda x: shapely.wkt.loads(x)), crs=4326)\n",
"relocs = gdf.relocations.from_gdf(gdf)"
"relocs = gdf.relocations.from_gdf()"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"metadata": {},
"outputs": [],
"source": [
"traj = traj.trajectories.remove_filtered()"
"traj = traj.relocations.remove_filtered()"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions doc/source/notebooks/04. EcoMap & EcoPlot/EcoMap.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
" filter_point_coords=[[180, 90], [0, 0]],\n",
")\n",
"movebank_relocations_gdf = movebank_relocations_gdf.relocations.apply_reloc_filter(pnts_filter)\n",
"movebank_relocations_gdf = movebank_relocations_gdf.relocations.remove_filtered(inplace=True)"
"movebank_relocations_gdf = movebank_relocations_gdf.relocations.remove_filtered()"
]
},
{
Expand Down Expand Up @@ -388,7 +388,7 @@
"metadata": {},
"outputs": [],
"source": [
"movebank_trajectory_gdf = ecoscope.base.Trajectory.from_relocations(movebank_relocations_gdf)\n",
"movebank_trajectory_gdf = movebank_relocations_gdf.trajectories.from_relocations()\n",
"movebank_traj_seg_filter = ecoscope.base.TrajSegFilter(\n",
" min_length_meters=0.0,\n",
" max_length_meters=float(\"inf\"),\n",
Expand Down

0 comments on commit b87fddf

Please sign in to comment.