Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions 01_data_sampling_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
"source": [
"# Only download 101 buildings for sampling purposes and testing this notebook/repo\n",
"timeseries_to_download = df_sub.head(10)\n",
"display(timeseries_to_download)\n",
"print(f\"Downloading time series data for {len(timeseries_to_download)} buildings into {time_series_data_path}\")\n",
"\n",
"time_series_data_file_paths, building_ids = processor.process_building_time_series(\n",
Expand Down
2 changes: 1 addition & 1 deletion comstock_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def download_task(row):
return save_path, building_id

building_time_series_file = (
f"{self.time_series_url}/by_state/upgrade={self.upgrade}/state={self.state}/{building_id}-{self.upgrade}.parquet"
f"{self.time_series_url}/by_state/upgrade={self.upgrade}/state={row['in.state']}/{building_id}-{self.upgrade}.parquet"
)
self.download_file(building_time_series_file, save_path)
return save_path, building_id
Expand Down
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.