diff --git a/ecoscope/io/earthranger.py b/ecoscope/io/earthranger.py index 107030e1..73bf2f4d 100644 --- a/ecoscope/io/earthranger.py +++ b/ecoscope/io/earthranger.py @@ -675,13 +675,7 @@ def get_patrol_observations(self, patrols_df, patrol_type=None, include_patrol_d ------- relocations : ecoscope.base.Relocations """ - - params = self._clean_kwargs( - kwargs, - patrol_type=patrol_type, - include_patrol_details=include_patrol_details, - ) - + observations = [] for _, patrol in patrols_df.iterrows(): for patrol_segment in patrol["patrol_segments"]: @@ -693,7 +687,7 @@ def get_patrol_observations(self, patrols_df, patrol_type=None, include_patrol_d continue try: observation = self.get_subject_observations( - subject_ids=[subject_id], since=patrol_start_time, until=patrol_end_time, **params + subject_ids=[subject_id], since=patrol_start_time, until=patrol_end_time ) if include_patrol_details: observation["patrol_id"] = patrol["id"]