From be2ea7821eecc8110facb9a8b6380c5df862bde7 Mon Sep 17 00:00:00 2001 From: Vincent Verelst Date: Wed, 6 Nov 2024 19:18:43 +0100 Subject: [PATCH] remove temporal extent correction for point extractions #118 --- .../point_extractions/extract_point_worldcereal.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/scripts/extractions/point_extractions/extract_point_worldcereal.py b/scripts/extractions/point_extractions/extract_point_worldcereal.py index 4fdccfa..ad07ec1 100644 --- a/scripts/extractions/point_extractions/extract_point_worldcereal.py +++ b/scripts/extractions/point_extractions/extract_point_worldcereal.py @@ -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( @@ -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)