Skip to content

Commit

Permalink
remove temporal extent correction for point extractions #118
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentVerelst committed Nov 6, 2024
1 parent 5a83d79 commit be2ea78
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
from tqdm import tqdm

from worldcereal.openeo.extract import get_job_nb_polygons, pipeline_log
from worldcereal.openeo.preprocessing import (
correct_temporal_context,
worldcereal_preprocessed_inputs,
)
from worldcereal.openeo.preprocessing import worldcereal_preprocessed_inputs


def generate_output_path_point_worldcereal(
Expand Down Expand Up @@ -98,9 +95,7 @@ def create_job_point_worldcereal(
"""Creates an OpenEO BatchJob from the given row information."""

# Load the temporal and spatial extent
temporal_extent = correct_temporal_context(
TemporalContext(row.start_date, row.end_date)
)
temporal_extent = TemporalContext(row.start_date, row.end_date)

# Get the feature collection containing the geometry to the job
geometry = geojson.loads(row.geometry)
Expand Down

0 comments on commit be2ea78

Please sign in to comment.