8000 Solar Resource File Converter Macro for SolarAnywhere V3.4 Files · Issue #491 · NREL/SAM · GitHub
[go: up one dir, main page]

Skip to content
Solar Resource File Converter Macro for SolarAnywhere V3.4 Files  #491
@KWagnerCPR

Description

@KWagnerCPR

Describe the bug
SolarAnywhere V3.4 file downloads have 9 columns in the first row. This is the case when the metadata in cell H1 spills over into cell I1. The SAM solar resource file converter macro is currently designed to only accept files with 8 columns in row 1 so attempting to convert a SolarAnywhere V3.4 file breaks the macro.

To Reproduce
Steps to reproduce the behavior:

  1. Obtain a SolarAnywhere V3.4 TMY3 format or SA format file.
  2. Open a new project in SAM.
  3. In the bottom left corner, select Macros. Select Solar Resource File Converter from the list, then select SolarAnywhere from the
    Weather file format drop down in the top right corner.
  4. Select Run macro and choose your SolarAnywhere V3.4 file.

Expected behavior
I would expect the converter to successfully convert the SolarAnywhere format file to a samcsv format file as it has in the past when converting SolarAnywhere V3.3 files. But instead you receive an error saying the file does not appear to be in SolarAnywhere format.

Screenshots

image

Operating System and Version

  • OS: Windows
  • Version: SAM 2020.11.29

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0