You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: postprocessing/README.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,11 +35,19 @@ To install the package, we recommend using `uv` for Python package management.
35
35
uv run --group dev pre-commit install
36
36
```
37
37
38
-
# Usage
39
-
40
-
41
38
4. Run the scripts as desired
42
39
```bash
40
+
# Output the failure log
43
41
cd path/to/postprocessing
44
42
uv run resstockpostproc/get_failures.py <csv_path> --verbose
43
+
44
+
# Export metadata and annual results from files on S3
45
+
uv run resstockpostproc/process_bsb_results.py "s3://res-sdr/testing-sdr-fy25/a_run""C:/path/to/bsb/output/a_run_output"
46
+
47
+
# Export metdata and annual results from local files
48
+
# (It is faster to download the /baseline and /upgrades directories from S3 once instead of reading from S3 each time)
49
+
uv run resstockpostproc/process_bsb_results.py "C:/path/to/bsb/output/a_run""C:/path/to/bsb/output/a_run_output"
50
+
51
+
# Export metdata and annual results to OEDI
52
+
uv run resstockpostproc/process_bsb_results.py "C:/path/to/bsb/output/a_run""s3://oedi-data-lake/nrel-pds-building-stock/end-use-load-profiles-for-us-building-stock/2025/resstock_amy2018_release_1"
Copy file name to clipboardExpand all lines: postprocessing/resstockpostproc/process_bsb_results.py
+82-70Lines changed: 82 additions & 70 deletions
Original file line number
Diff line number
Diff line change
@@ -4,87 +4,99 @@
4
4
5
5
Example usage:
6
6
uv run resstockpostproc/process_bsb_results.py /path/to/bsb_raw_results /path/to/output_dir
7
+
uv run resstockpostproc/process_bsb_results.py "C:/Scratch/ResStock/efforts/full_550k_run" "s3://oedi-data-lake/nrel-pds-building-stock/end-use-load-profiles-for-us-building-stock/2025/resstock_amy2018_release_1"
7
8
8
9
Note: bsb_raw_results folder must contain both baseline and upgrade files. Baseline file should be named
9
10
results_up00.parquet and upgrade files should be named results_upXX.parquet where XX is the upgrade number. The can
10
11
either be in their own folders (baseline and upgrades) or all be in the same folder.
0 commit comments