Skip to content

Weather file downloads with address cause SAM to crash #2092

@cpaulgilman

Description

@cpaulgilman

Describe the bug

On Location and Resource page, typing a street address or location name and clicking Download and add to library causes SAM to crash.

Workaround solution is to use latitude/longitude pair instead of address. See https://sam.nrel.gov/forum/forum-general/5021-problem-downloading-weather-files.html#14154

To Reproduce

Steps to reproduce the behavior:

  1. Create a solar case.
  2. Go to Location and Resource page.
  3. Under "Download Weather Files" type a location name like "Portland, OR".
  4. Clicking Download and add to library.
  5. SAM crashes.

Initial investigation suggests this is an issue with the time zone API call.

This also breaks the 3D Shade Calculator map loading function.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions