Skip to content

Updates for 2024 resstock data#1915

Merged
brtietz merged 4 commits into
developfrom
eulp_updates
Dec 3, 2024
Merged

Updates for 2024 resstock data#1915
brtietz merged 4 commits into
developfrom
eulp_updates

Conversation

@brtietz

@brtietz brtietz commented Nov 18, 2024

Copy link
Copy Markdown
Collaborator

Pull Request Template

Description

Updates to get.py that allow it the example script to work with 2024 resstock data. Haven't tested other EULP releases.

Fixes # (issue)

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

If you have added a new compute module in a SSC pull request related to this one, be sure to check the Process Requirements.

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

@brtietz brtietz added this to the SAM Fall 2024 Release milestone Nov 18, 2024
@brtietz brtietz requested a review from cpaulgilman November 18, 2024 23:04

@cpaulgilman cpaulgilman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for the fix.

There are two other places that check for year = 2021 like this:

if year is 2021
    do 2021 things
else
    do other year things

A fix more consistent with the rest of the code would be

    if year == '2021':
        wf_folder = f'{wf_type}'
    else:
        wf_folder = f'state={state}'

Thanks,
Paul.

@brtietz brtietz merged commit e37cd45 into develop Dec 3, 2024
@cpaulgilman cpaulgilman added the added to release notes PR and/or issue has been added to release notes for a public release label Dec 10, 2024
@brtietz brtietz deleted the eulp_updates branch December 13, 2024 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

added to release notes PR and/or issue has been added to release notes for a public release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants