Skip to content

Fix NSRDB API error handling#541

Merged
cpaulgilman merged 2 commits into
patchfrom
SAM531_NSRDB-download-intermittent
Feb 21, 2021
Merged

Fix NSRDB API error handling#541
cpaulgilman merged 2 commits into
patchfrom
SAM531_NSRDB-download-intermittent

Conversation

@cpaulgilman

Copy link
Copy Markdown
Collaborator

Fix #531

* For NSRDB API calls, send user email <USEREMAIL> from registration (in registry) instead of hard-coded sam.support@nrel.gov.

* Show API messages when they are generated, e.g., for invalid email address or API key both in UI callback and nsrdb.cpp.

* Fix messages about lat/lon format (attempting to provide user guidance when they enter coordinates in degress minutes instead of decimal degrees).
@cpaulgilman cpaulgilman added this to the 2020.11.29 Patch 1 milestone Feb 19, 2021
@cpaulgilman cpaulgilman requested a review from sjanzou February 19, 2021 23:56

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

Just checking the webapis.conf was updated in SAM-private too... I will double check when building the patch

@@ -4,7 +4,7 @@
android_build=https://sam.nrel.gov/sites/default/files/content/mobile/android/readme.html
forum=https://sam.nrel.gov/support
ios_build=https://sam.nrel.gov/sites/default/files/content/mobile/ios/readme.html

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.

Is this the same as PR#58 into SAM-private?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, SAM-private PR#58 is supposed to go with this one.

@cpaulgilman cpaulgilman merged commit 9b59be9 into patch Feb 21, 2021
@cpaulgilman cpaulgilman deleted the SAM531_NSRDB-download-intermittent branch March 1, 2021 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants