buildstock-fetch 1.4.0__py3-none-any.whl → 1.4.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of buildstock-fetch might be problematic. Click here for more details.

@@ -0,0 +1,23 @@
1
+ {
2
+ "res_2024_tmy3_2": {
3
+ "upgrade_descriptions": {
4
+ "0": "Baseline",
5
+ "1": "ENERGY STAR heat pump with elec backup",
6
+ "2": "High efficiency cold-climate heat pump with elec backup",
7
+ "3": "Ultra high efficiency heat pump with elec backup",
8
+ "4": "ENERGY STAR heat pump with existing system as backup",
9
+ "5": "Geothermal heat pump",
10
+ "6": "ENERGY STAR heat pump with elec backup + Light Touch Envelope",
11
+ "7": "High efficiency cold-climate heat pump with elec backup + Light Touch Envelope",
12
+ "8": "Ultra high efficiency heat pump with elec backup + Light Touch Envelope",
13
+ "9": "ENERGY STAR heat pump with existing system as backup + Light Touch Envelope",
14
+ "10": "Geothermal heat pump + Light Touch Envelope",
15
+ "11": "ENERGY STAR heat pump with elec backup + Light Touch Envelope + Full Appliance Electrification with Efficiency",
16
+ "12": "High efficiency cold-climate heat pump with elec backup + Light Touch Envelope + Full Appliance Electrification with Efficiency",
17
+ "13": "Ultra high efficiency heat pump with elec backup + Light Touch Envelope + Full Appliance Electrification with Efficiency",
18
+ "14": "ENERGY STAR heat pump with existing system as backup + Light Touch Envelope + Full Appliance Electrification with Efficiency",
19
+ "15": "Geothermal heat pump + Light Touch Envelope + Full Appliance Electrification with Efficiency",
20
+ "16": "Envelope Only - Light Touch Envelope"
21
+ }
22
+ }
23
+ }
@@ -32,6 +32,9 @@ BUILDSTOCK_RELEASES_FILE = str(files("buildstock_fetch").joinpath("data").joinpa
32
32
  # File types that haven't been implemented yet
33
33
  UNAVAILABLE_FILE_TYPES: list[str] = []
34
34
 
35
+ # Upgrade scenario description lookup file
36
+ UPGRADES_LOOKUP_FILE = str(files("buildstock_fetch").joinpath("data").joinpath("buildstock_upgrades_lookup.json"))
37
+
35
38
 
36
39
  class InvalidProductError(Exception):
37
40
  """Exception raised when an invalid product is provided."""
@@ -153,6 +156,14 @@ def _get_upgrade_ids_options(release_name: str) -> list[str]:
153
156
  available_upgrade_ids.sort()
154
157
  available_upgrade_ids = [str(upgrade_id) for upgrade_id in available_upgrade_ids]
155
158
 
159
+ if release_name in json.loads(Path(UPGRADES_LOOKUP_FILE).read_text(encoding="utf-8")):
160
+ upgrade_descriptions = json.loads(Path(UPGRADES_LOOKUP_FILE).read_text(encoding="utf-8"))[release_name][
161
+ "upgrade_descriptions"
162
+ ]
163
+ available_upgrade_ids = [
164
+ f"{upgrade_id}: {upgrade_descriptions[upgrade_id]}" for upgrade_id in available_upgrade_ids
165
+ ]
166
+
156
167
  return cast(list[str], available_upgrade_ids)
157
168
 
158
169
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: buildstock-fetch
3
- Version: 1.4.0
3
+ Version: 1.4.3
4
4
  Summary: This library simplifies downloading building characteristics and load curve data from NREL's ResStock and ComStock projects.
5
5
  Author-email: Switchbox <hello@switch.box>
6
6
  Project-URL: Homepage, https://switchbox-data.github.io/buildstock-fetch/
@@ -25,6 +25,8 @@ Requires-Dist: rich>=13.9.5
25
25
  Requires-Dist: questionary>=1.11.0
26
26
  Requires-Dist: polars>=0.20.0
27
27
  Requires-Dist: tomli>=2.0.0
28
+ Requires-Dist: boto3>=1.33.0
29
+ Requires-Dist: botocore>=1.33.0
28
30
  Provides-Extra: test
29
31
  Requires-Dist: pytest>=7.2.0; extra == "test"
30
32
  Provides-Extra: docs
@@ -1,8 +1,9 @@
1
1
  buildstock_fetch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  buildstock_fetch/__main__.py,sha256=wEPNJ-s7F6KcRQ_4B5Xh08uqvYZHno5F2R8DU0BMBtk,80
3
3
  buildstock_fetch/main.py,sha256=yZ8xoYWnoyeTIDMXzVnbQt57a2NAZS7bEPRDtj_SuiU,90887
4
- buildstock_fetch/main_cli.py,sha256=lf-UGI9rcJgBOrJtRdHZ1mcr-jvRxOQ5H0G3re2v9Is,35754
4
+ buildstock_fetch/main_cli.py,sha256=ZZ6Yn7rBfXguCiUSszKlB0L-FY88ZJM_HXLC8o1EGNc,36311
5
5
  buildstock_fetch/data/buildstock_releases.json,sha256=XL-D1Xdix59sFGbS6vKFiGhQakhhPrwn14N-Tgt9iuk,11620
6
+ buildstock_fetch/data/buildstock_upgrades_lookup.json,sha256=CCc2dV6voD8r6WpBBq9zoxhVQGAPcUGmAoFyKoUcUpo,1486
6
7
  buildstock_fetch/data/building_data/combined_metadata.parquet/product=comstock/release_year=2021/weather_file=amy2018/release_version=1/state=AK/d1454abff0d94c8090af7b3e923c473b-0.parquet,sha256=nG6H3oGyDzPk1B15YmFd_U81PsA14uABqqwK7P30nKE,7059
7
8
  buildstock_fetch/data/building_data/combined_metadata.parquet/product=comstock/release_year=2021/weather_file=amy2018/release_version=1/state=AK/dcd864cc169b4695be2b9775b1a054ae-0.parquet,sha256=fsREWV9g4fsA3cIWqyPnXVwd7FsJxED2btYpmyOvnbQ,7163
8
9
  buildstock_fetch/data/building_data/combined_metadata.parquet/product=comstock/release_year=2021/weather_file=amy2018/release_version=1/state=AL/d1454abff0d94c8090af7b3e923c473b-0.parquet,sha256=jiTG48ly-LZwfwAL3THdfRzHDG1qEogoxO7P78U4WOU,41201
@@ -1602,9 +1603,9 @@ buildstock_fetch/data/building_data/combined_metadata.parquet/product=resstock/r
1602
1603
  buildstock_fetch/data/load_curve_column_map/2022_resstock_load_curve_columns.csv,sha256=9UoTPlvxR3RqsxH8i4tI75lLtdSAT-HbAFxwlzvAYNY,7339
1603
1604
  buildstock_fetch/data/load_curve_column_map/2024_resstock_load_curve_columns.csv,sha256=TIxqsE-iVHE5tYq9oPSgBxIVbd5qfyDcJG_eTqds9aY,7471
1604
1605
  buildstock_fetch/data/weather_station_map/weather_station_map.parquet,sha256=igNrx-UGH20CqPcjANTDrrMyj6Z4_JcXIg2aaCNhFRg,346990
1605
- buildstock_fetch-1.4.0.dist-info/licenses/LICENSE,sha256=TJeh2yvO8__8Rbamd8r48-zvlFCINAsu9nOo5QdMRX8,1066
1606
- buildstock_fetch-1.4.0.dist-info/METADATA,sha256=d7DyxjVTO_F-XbtLvJbJDEQyImhBkZQLGr9H5PAZ13M,8262
1607
- buildstock_fetch-1.4.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1608
- buildstock_fetch-1.4.0.dist-info/entry_points.txt,sha256=C7zPk3BSLcI47ymvYKI05nvfRJMEXz4BPIIDKsjePn8,54
1609
- buildstock_fetch-1.4.0.dist-info/top_level.txt,sha256=-PGb2C-Tb3O-wPqUHSOBrvJqRzNHgY_KTbTsXaHIo5M,17
1610
- buildstock_fetch-1.4.0.dist-info/RECORD,,
1606
+ buildstock_fetch-1.4.3.dist-info/licenses/LICENSE,sha256=TJeh2yvO8__8Rbamd8r48-zvlFCINAsu9nOo5QdMRX8,1066
1607
+ buildstock_fetch-1.4.3.dist-info/METADATA,sha256=7TaxdMpRmwemxFqaneiJ09sXgPzlcuc_xBUIPGdzTn4,8323
1608
+ buildstock_fetch-1.4.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1609
+ buildstock_fetch-1.4.3.dist-info/entry_points.txt,sha256=C7zPk3BSLcI47ymvYKI05nvfRJMEXz4BPIIDKsjePn8,54
1610
+ buildstock_fetch-1.4.3.dist-info/top_level.txt,sha256=-PGb2C-Tb3O-wPqUHSOBrvJqRzNHgY_KTbTsXaHIo5M,17
1611
+ buildstock_fetch-1.4.3.dist-info/RECORD,,