Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix applicability column_type#1439

Merged
rajeee merged 31 commits into
developfrom
rajeee-pp-dtype-patch
Jul 17, 2025
Merged

Fix applicability column_type#1439
rajeee merged 31 commits into
developfrom
rajeee-pp-dtype-patch

Conversation

@rajeee

@rajeee rajeee commented Jul 1, 2025

Copy link
Copy Markdown
Contributor

Pull Request Description

Fix for a minor error on the applicability column dtype in postprocessing code. To help catch these kind of errors in the future, also upload the files to s3 and create Athena tables out of them. The resstockpostproc tests can then run test against those Athena tables to validate the data.

Related Pull Requests

Need this BSB PR: NatLabRockies/buildstockbatch#501

Related Issues

[What issue(s) is the PR addressing]

Checklist

Required:

Optional (not all items may apply):

@rajeee rajeee requested a review from joseph-robertson July 8, 2025 19:12

@joseph-robertson joseph-robertson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is changing in the results_upXX.csv files?

@rajeee

rajeee commented Jul 14, 2025

Copy link
Copy Markdown
Contributor Author

What is changing in the results_upXX.csv files?

False to false and True to true.
image

@joseph-robertson joseph-robertson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the gist here is that you're having buildstockbatch change the case of fields in build_existing_model.applicable, apply_upgrade.applicable, etc so that downstream processing is handled properly?

if [[ $(git diff --cached --exit-code) ]]; then
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git commit -m "Update documentation."

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these "[skip ci]" additions necessary?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure. I thought it would help with "Waiting" (see below) but looks like they don't.
image

Comment on lines +46 to +54
aws:
region_name: us-west-2
s3:
bucket: resstock-core
prefix: resstock_ci
athena:
glue_service_role: service-role/AWSGlueServiceRole-default
database_name: resstock_core
max_crawling_time: 1200

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these lines uncommented just for testing?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No - they will remain uncommented. I have a script that will take them out in CI when not needed

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. I read the description above in remove_aws_from_yaml.py - makes sense.

@NatLabRockies NatLabRockies deleted a comment from github-actions Bot Jul 15, 2025
@NatLabRockies NatLabRockies deleted a comment from github-actions Bot Jul 15, 2025
@NatLabRockies NatLabRockies deleted a comment from github-actions Bot Jul 15, 2025
@NatLabRockies NatLabRockies deleted a comment from github-actions Bot Jul 15, 2025
@NatLabRockies NatLabRockies deleted a comment from github-actions Bot Jul 15, 2025
@NatLabRockies NatLabRockies deleted a comment from github-actions Bot Jul 15, 2025
@NatLabRockies NatLabRockies deleted a comment from github-actions Bot Jul 15, 2025
@NatLabRockies NatLabRockies deleted a comment from github-actions Bot Jul 15, 2025
@NatLabRockies NatLabRockies deleted a comment from github-actions Bot Jul 15, 2025
@NatLabRockies NatLabRockies deleted a comment from github-actions Bot Jul 15, 2025
@NatLabRockies NatLabRockies deleted a comment from github-actions Bot Jul 15, 2025
@NatLabRockies NatLabRockies deleted a comment from github-actions Bot Jul 15, 2025
@NatLabRockies NatLabRockies deleted a comment from github-actions Bot Jul 15, 2025
@NatLabRockies NatLabRockies deleted a comment from github-actions Bot Jul 15, 2025
@rajeee rajeee force-pushed the rajeee-pp-dtype-patch branch from c5bc4db to 0184670 Compare July 16, 2025 02:23
@rajeee rajeee requested a review from joseph-robertson July 16, 2025 14:02
@rajeee rajeee merged commit a1433bb into develop Jul 17, 2025
@afontani afontani added the bug label Jul 23, 2025
@joseph-robertson joseph-robertson added this to the ResStock v2025_R1 milestone Sep 4, 2025
@rHorsey rHorsey deleted the rajeee-pp-dtype-patch branch October 27, 2025 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants