Skip to content

Commit

Permalink
Fixed initialization to make the generated script work more generally
Browse files Browse the repository at this point in the history
  • Loading branch information
oddvarlia committed Jan 13, 2025
1 parent b03e9c2 commit 8f65f08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/subscript/field_statistics/field_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1630,10 +1630,12 @@ def main():
zone_list = list(zone_code_names.values())
key = "continuous_property_param_per_zone"
cont_prop_dict = None
if key in geogrid_fields_dict:
cont_prop_dict = geogrid_fields_dict[key]
key = "discrete_property_param_per_zone"
discrete_prop_dict = None
if key in geogrid_fields_dict:
discrete_prop_dict = geogrid_fields_dict[key]
Expand Down

0 comments on commit 8f65f08

Please sign in to comment.