Skip to content

Commit

Permalink
Merge pull request #284 from kartoza/tim
Browse files Browse the repository at this point in the history
Cleanup model to exclude insights etc.
  • Loading branch information
timlinux authored Sep 17, 2024
2 parents e6dd017 + 946be38 commit 74af0d8
Show file tree
Hide file tree
Showing 3 changed files with 132 additions and 303 deletions.
3 changes: 2 additions & 1 deletion geest/core/generate_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def load_spreadsheet(self):
"""
# Load the ODS spreadsheet
self.dataframe = pd.read_excel(self.spreadsheet_path, engine="odf", skiprows=1)
print(self.dataframe.columns)

# Select only the relevant columns
self.dataframe = self.dataframe[
Expand All @@ -35,7 +36,7 @@ def load_spreadsheet(self):
"Use Default Index Score",
"Default Multi Buffer Distances",
"Use Multi Buffer Point",
"Default Single Buffer Distances",
"Default Single Buffer Distance",
"Use Single Buffer Point",
"Default pixel",
"Use Create Grid",
Expand Down
Binary file modified geest/resources/geest2.ods
Binary file not shown.
Loading

0 comments on commit 74af0d8

Please sign in to comment.