Skip to content

Commit

Permalink
fix GBGW importers to fill blanks and averages
Browse files Browse the repository at this point in the history
  • Loading branch information
struan committed Dec 6, 2023
1 parent 48e0e90 commit b9fd68d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions hub/management/commands/import_gbgw_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def add_data_sets(self, df):
)

self.data_type = data_type
self.data_types[data_type.name] = data_type

def process_data(self, df):
AreaData.objects.filter(data_type=self.data_type).delete()
Expand Down
1 change: 1 addition & 0 deletions hub/management/commands/import_gbgw_events_23.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def add_data_sets(self, df):
)

self.data_type = data_type
self.data_types[data_type.name] = data_type

def process_data(self, df):
AreaData.objects.filter(data_type=self.data_type).delete()
Expand Down

0 comments on commit b9fd68d

Please sign in to comment.