Skip to content

Improve error handling for albedo#799

Merged
cpaulgilman merged 2 commits into
patchfrom
pvsam_albedo_errors
Apr 18, 2022
Merged

Improve error handling for albedo#799
cpaulgilman merged 2 commits into
patchfrom
pvsam_albedo_errors

Conversation

@cpaulgilman

Copy link
Copy Markdown
Collaborator

Fixes NatLabRockies/SAM#868

For monthly array input, report month and value in error message.

For weather data input, throw error on invalid value and report time step and value in error message.

For monthly array input, report month and value in error message.

For weather data input, throw error on invalid value and report time step and value in error message.
@cpaulgilman cpaulgilman added this to the 2021.12.02 Patch 2 milestone Apr 12, 2022
@cpaulgilman cpaulgilman requested a review from sjanzou April 12, 2022 18:07
@cpaulgilman cpaulgilman self-assigned this Apr 12, 2022

@sjanzou sjanzou 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.

This is much, much better and great to report location in weather file for issue.

@cpaulgilman cpaulgilman merged commit 918e763 into patch Apr 18, 2022
@cpaulgilman cpaulgilman deleted the pvsam_albedo_errors branch April 18, 2022 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Monthly albedo error message unclear

2 participants