Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes for bsb v2023.06.0 #394

Closed
phgupta opened this issue Sep 26, 2023 · 2 comments
Closed

Bug fixes for bsb v2023.06.0 #394

phgupta opened this issue Sep 26, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@phgupta
Copy link

phgupta commented Sep 26, 2023

There were a couple of bugs in v2023.01.0 that transferred over to v2023.06.0 too for the AWS workflow. Listing them here in the hopes that they get resolved in the newer versions,

  1. Update OpenStudio version in the Dockerfile. Change the first line to FROM nrel/openstudio:3.6.1.
  2. Fix weather file path. In buildstockbatch/aws/aws.py line 2049 loop, epw_filename has the following path as its value "../../../weather/XYZ.epw.gz" which causes an error in AWS. The path needs to be "XYZ.epw.gz" instead. I added the following line of code as a bug fix - epw_filename = epw_filename.split('/')[-1] at line 2051.
  3. I got an email stating that AWS Lambda is dropping support for Python 3.7 (check here). It needs to be updated to Python 3.11. Additionally, can the entire buildstockbatch package be updated to run Python 3.11 on AWS?
  4. The postprocessing script always runs after the simulation and it always terminates with errors. I currently run the postprocessing.py script separately to get the results. I would love to be able to run the postprocessing scripts through the EMR clusters.

Thank you for your help. :)

@phgupta phgupta added the bug Something isn't working label Sep 26, 2023
@nmerket
Copy link
Member

nmerket commented Oct 10, 2023

Thanks @phgupta. The updates to the AWS workflow are still on a branch and weren't part of the v2023.06.0 release. It's still a work in progress and we're dealing with the bugs you mention above and some others issues as well with it. Once it's ready, you'll be the first to know.

@afontani
Copy link
Collaborator

Closing as this feature is actively being developed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants