Skip to content

Fix NSRDB download location name check#761

Merged
cpaulgilman merged 2 commits into
developfrom
sam-710-nsrdb-lat-lon-comma-space
Nov 12, 2021
Merged

Fix NSRDB download location name check#761
cpaulgilman merged 2 commits into
developfrom
sam-710-nsrdb-lat-lon-comma-space

Conversation

@cpaulgilman

Copy link
Copy Markdown
Collaborator

Fixes #710

This fix should allow location name entered as any string, a city/state pair separated by a comma, or a lat/lon pair separated by a comma followed by a space, comma with no space, or space with no comma.

* This fix should allow location name entered as any string, a city/state pair separated by a comma, or a lat/lon pair separated by a comma followed by a space, comma with no space, or space with no comma.
@cpaulgilman cpaulgilman requested a review from brtietz November 12, 2021 16:44

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

The lk changes had the intended effect, I can now copy-paste a lat/lon pair from google maps and it sends the right thing to NSRDB. However, I'm getting the following error from NSRDB afterwards:

image

Should that be fixed here or in a different PR?

@cpaulgilman

Copy link
Copy Markdown
Collaborator Author

The error message about "required 'email' parameter" should only happen when you test on a non-NREL version of SAM because the email value comes from the registration process. We can double check this when we build a Beta version.

@cpaulgilman cpaulgilman merged commit ba2509f into develop Nov 12, 2021
@brtietz brtietz added this to the SAM Fall 2021 Release milestone Dec 3, 2021
@cpaulgilman cpaulgilman deleted the sam-710-nsrdb-lat-lon-comma-space branch December 7, 2021 23:02
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.

latitude-comma-space-longitude has unspecified behavior

2 participants