From ef650df16d2d8fa06469bb3c1fbb7ebaa8d27989 Mon Sep 17 00:00:00 2001 From: Alvaro Huarte Date: Tue, 24 Jan 2023 01:13:29 +0100 Subject: [PATCH] Add temp dir to ProductDriverApi --- .../spatial/geodataflow/spatial/modules/EOProductCatalog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/geodataflow/spatial/geodataflow/spatial/modules/EOProductCatalog.py b/geodataflow/spatial/geodataflow/spatial/modules/EOProductCatalog.py index 7bdf807..ecd6126 100644 --- a/geodataflow/spatial/geodataflow/spatial/modules/EOProductCatalog.py +++ b/geodataflow/spatial/geodataflow/spatial/modules/EOProductCatalog.py @@ -179,7 +179,8 @@ def starting_run(self, schema_def, pipeline, processing_args, fetch_fields: bool geometry = GeometryUtils.create_geometry_from_bbox(envelope[0], envelope[1], envelope[2], envelope[3]) # Fetch schema from first EO Product. - app_config = pipeline.config + app_config = pipeline.config.copy() + app_config['GEODATAFLOW__TEMP__PATH'] = processing_args.temp_data_path() field_dict = {f.name: f for f in schema_def.fields} new_fields = [ FieldDef(name='productType', data_type=DataType.String),