Skip to content

Commit

Permalink
Add temp dir to ProductDriverApi
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuarte47 committed Jan 24, 2023
1 parent 868dd64 commit ef650df
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit ef650df

Please sign in to comment.