Skip to content

PV Snow Macro: Fix conversion when snow data expressed in inches #2079

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

Open
wants to merge 1 commit into
base: patch
Choose a base branch
from

Conversation

berg-michael
Copy link
Collaborator

Description

If one attempts to use the macro available in various PV configurations to append snow data measured in inches, the conversion step of the macro will fail with an unintuitive error message. This PR fixes this bug.

To test:
Create a new PV system. Download a weather file. Download the attached snow data. Attempt to append it to the weather file you download, selecting a header of size 1, a column name of (Observed) Snow Depth (in), and units as inches. The macro will fail. This PR fixes that failure.

Fixes # (issue(s)): None yet.

Corresponding branches and PRs:

None applicable.

Unit Test Impact:

None applicable.

Checklist

  • requires help revision and I added that label
  • adds, removes, modifies, or deletes variables in existing compute modules
  • adds a new compute module
  • changes defaults
  • I've tagged this PR to a milestone

denver, co_DVNC2_observed_snow_depth.csv

@brtietz brtietz requested review from cpaulgilman and brtietz April 23, 2025 19:30
@brtietz brtietz added this to the SAM 2025 release patch 1 milestone Apr 23, 2025
@brtietz brtietz added the bug label Apr 23, 2025
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.

2 participants