Skip to content

latitude-comma-space-longitude has unspecified behavior #710

@brtietz

Description

@brtietz

Describe the bug

SAM's solar resource download accepts latitude-comma-longitude successfully, but adding a space (the default when you copy from Google Maps) converts the lat-lon pair to a different lat-lon or an arbitrary address.

To Reproduce

Steps to reproduce the behavior:

  1. Open a version of SAM with api-keys (2020.11.29 r2 or a beta)
  2. Go to the location and resource page
  3. Enter (for example) "39.71, -105.1", select "choose year"
  4. See that the lat and lon in the "header data from weather file" do not match what was wntered

Expected behavior

The lk script responsible for the conversion should strip the spaces for ease of use

Screenshots

image

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