Skip to content

Commit

Permalink
🐛 Filter out ignore list before running exporters
Browse files Browse the repository at this point in the history
  • Loading branch information
jh0ker committed Nov 8, 2023
1 parent 91e7dac commit 5c16f63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ddj_cloud/scrapers/talsperren/talsperren.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ def run():
#
# df_base = pd.read_parquet("local_storage/talsperren/base.parquet.gzip", engine="fastparquet")

# Filter out reservoirs in ignore list
df_base = df_base[~df_base["name"].isin(IGNORE_LIST)]

# Exporters
exporter_classes = Exporter.__subclasses__()
exporters = [cls() for cls in exporter_classes] # type: ignore
Expand Down

0 comments on commit 5c16f63

Please sign in to comment.