Skip to content

Commit

Permalink
Multiple process sources
Browse files Browse the repository at this point in the history
  • Loading branch information
marioba committed Mar 29, 2023
1 parent cc57011 commit b5c03e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pzp/calculation.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ def guess_params(group):


def calculate(process_type, layer_intensity, layer_propagation, layer_breaking):
# TODO: calculate separately by "fonte processo" from area di studio and then group them in the end in the same layer!

# TODO: Get list of "area di studio" as param
result = None
data_provider = None
if process_type == 3000:
Expand Down
2 changes: 2 additions & 0 deletions pzp/no_impact.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ def calculate(process_type, layer_intensity, layer_area):
"pzp:no_impact",
{
"AREA_LAYER": layer_area.id(),
"AREA_PROCESS_SOURCE_FIELD": "fonte_proc",
"INTENSITY_PROCESS_SOURCE_FIELD": "fonte_proc",
"INTENSITY_LAYER": layer_intensity.id(),
"PERIOD_FIELD": "periodo_ritorno",
"INTENSITY_FIELD": "classe_intensita",
Expand Down

0 comments on commit b5c03e8

Please sign in to comment.